Problem building omap3-console-image

View: New views
8 Messages — Rating Filter:   Alert me  

Problem building omap3-console-image

by stuart68 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

After following the instructions given on Gumstix to get the gumstix-oe/mainline.git repository and setting up the build environment, I cannot get the code to build.

I issue the command bitbake omap3-console-image

The build begins, but it fails on the net-tools with the following
ERROR: '/home/stuart/overo-oe/org.openembedded.dev/recipes/net-tools/net-tools_1.60.bb' failed

I had tried to build base-image and console-base-image, both of which were successful. I assume that this is enough to verify my environment set up is correct. I have checked all of the .conf files and cannot see any reason why they would not work.

I have tried various solutions, but none have worked. There are no other posts to suggest this may be a problem with the repository.

I have attached the log file to provide further information.log.do_install.10095

Any suggestions would be great.

Thanks,
Stuart

Re: Problem building omap3-console-image

by stuart68 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Further to this issues I cannot get the following to work either:

    bitbake u-boot-omap3

When I run this, it fails with the following

NOTE: Running task 739 of 742 (ID: 11, /home/stuart/overo-oe/org.openembedded.dev/recipes/u-boot/u-boot-omap3_git.bb, do_deploy)
ERROR: function do_deploy failed
ERROR: log data follows (/home/stuart/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/u-boot-omap3-1_2009.06-rc2+r0+git015099988e2eb29fd1b7fe81058020185049a495-r0/temp/log.do_deploy.31795)
| install: cannot stat `/home/stuart/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/u-boot-omap3-1_2009.06-rc2+r0+git015099988e2eb29fd1b7fe81058020185049a495-r0/git/u-boot.bin': No such file or directory
NOTE: Task failed: /home/stuart/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/u-boot-omap3-1_2009.06-rc2+r0+git015099988e2eb29fd1b7fe81058020185049a495-r0/temp/log.do_deploy.31795
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/stuart/overo-oe/org.openembedded.dev/recipes/u-boot/u-boot-omap3_git.bb do_deploy failed
ERROR: Task 11 (/home/stuart/overo-oe/org.openembedded.dev/recipes/u-boot/u-boot-omap3_git.bb, do_deploy) failed
NOTE: Tasks Summary: Attempted 738 tasks of which 738 didn't need to be rerun and 1 failed.
ERROR: '/home/stuart/overo-oe/org.openembedded.dev/recipes/u-boot/u-boot-omap3_git.bb' failed

The error shown below seems to fail at do_install and the error above fails at do_deploy.

I am new to all of this and need help to get going.....

Thanks,
Stuart
stuart68 wrote:
Hi,

After following the instructions given on Gumstix to get the gumstix-oe/mainline.git repository and setting up the build environment, I cannot get the code to build.

I issue the command bitbake omap3-console-image

The build begins, but it fails on the net-tools with the following
ERROR: '/home/stuart/overo-oe/org.openembedded.dev/recipes/net-tools/net-tools_1.60.bb' failed

I had tried to build base-image and console-base-image, both of which were successful. I assume that this is enough to verify my environment set up is correct. I have checked all of the .conf files and cannot see any reason why they would not work.

I have tried various solutions, but none have worked. There are no other posts to suggest this may be a problem with the repository.

I have attached the log file to provide further information.log.do_install.10095

Any suggestions would be great.

Thanks,
Stuart

Re: Problem building omap3-console-image

by Elvis Dowson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
        Check to see if the directory has ben created below:

On Jul 1, 2009, at 10:58 PM, stuart68 wrote:

> | install: cannot stat
> `/home/stuart/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/u-boot-
> omap3-1_2009.06-rc2+r0+git015099988e2eb29fd1b7fe81058020185049a495-
> r0/git/u-boot.bin':
> No such file or directory


Try to re-run it in debugging interactive mode:

bitbake -c clean u-boot-omap3

bitbake -i -c rebuild u-boot-omap3 -dd

-d is the debug more, -dd displays more details, (cant remember if it  
is -d -d or -dd, just check the bitbake user manual for this)

Best regards,

Elvis

------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Problem building omap3-console-image

by stuart68 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

This worked for u-boot-omap3. I now have this built, but.....

When I try the same for omap3-console-image I get the attached log file. It is still failing at net-tools. I have started reading through the Bitbake manual and will try running in interactive mode, but for now please have a look at my log file to see if there is anything obvious going on.

Thanks,
Stuartlog.do_install.11703
Elvis Dowson wrote:
Hi,
        Check to see if the directory has ben created below:

On Jul 1, 2009, at 10:58 PM, stuart68 wrote:

> | install: cannot stat
> `/home/stuart/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/u-boot-
> omap3-1_2009.06-rc2+r0+git015099988e2eb29fd1b7fe81058020185049a495-
> r0/git/u-boot.bin':
> No such file or directory


Try to re-run it in debugging interactive mode:

bitbake -c clean u-boot-omap3

bitbake -i -c rebuild u-boot-omap3 -dd

-d is the debug more, -dd displays more details, (cant remember if it  
is -d -d or -dd, just check the bitbake user manual for this)

Best regards,

Elvis

------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Problem building omap3-console-image

by Elvis Dowson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stuart,
                  Recently, I've noticed that a full rebuild doesn't go smoothly. In  
between some tools keep failing, e.g. efs2prog, etc. So you just need  
to do a

bitbake -c clean net-tools
bitbake -c rebuild net-tools

and then continue building

bitbake -c rebuild omap3-console-image

it will pick up from where it last left off. This sort of situation  
never used to occur 2-3 months ago, but happens a lot after some  
recent updated to overo-oe.

Elvis


On Jul 2, 2009, at 11:49 AM, stuart68 wrote:

>
> Hi,
>
> This worked for u-boot-omap3. I now have this built, but.....
>
> When I try the same for omap3-console-image I get the attached log  
> file. It
> is still failing at net-tools. I have started reading through the  
> Bitbake
> manual and will try running in interactive mode, but for now please  
> have a
> look at my log file to see if there is anything obvious going on.
>
> Thanks,
> Stuart http://www.nabble.com/file/p24302660/log.do_install.11703
> log.do_install.11703


------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Problem building omap3-console-image

by Chris Dollar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd start with "bitbake -c clean net-tools && bitbake net-tools" and
if that works then try to build the image again.

Chris

On Thu, Jul 2, 2009 at 1:49 AM, stuart68<stuart68@...> wrote:

>
> Hi,
>
> This worked for u-boot-omap3. I now have this built, but.....
>
> When I try the same for omap3-console-image I get the attached log file. It
> is still failing at net-tools. I have started reading through the Bitbake
> manual and will try running in interactive mode, but for now please have a
> look at my log file to see if there is anything obvious going on.
>
> Thanks,
> Stuart http://www.nabble.com/file/p24302660/log.do_install.11703
> log.do_install.11703
>
> Elvis Dowson wrote:
>>
>> Hi,
>>       Check to see if the directory has ben created below:
>>
>> On Jul 1, 2009, at 10:58 PM, stuart68 wrote:
>>
>>> | install: cannot stat
>>> `/home/stuart/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/u-boot-
>>> omap3-1_2009.06-rc2+r0+git015099988e2eb29fd1b7fe81058020185049a495-
>>> r0/git/u-boot.bin':
>>> No such file or directory
>>
>>
>> Try to re-run it in debugging interactive mode:
>>
>> bitbake -c clean u-boot-omap3
>>
>> bitbake -i -c rebuild u-boot-omap3 -dd
>>
>> -d is the debug more, -dd displays more details, (cant remember if it
>> is -d -d or -dd, just check the bitbake user manual for this)
>>
>> Best regards,
>>
>> Elvis
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> gumstix-users mailing list
>> gumstix-users@...
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Problem-building-omap3-console-image-tp24289636p24302660.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>

------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Problem building omap3-console-image

by sakoman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jul 2, 2009 at 2:17 AM, Elvis Dowson<elvis.dowson@...> wrote:

> it will pick up from where it last left off. This sort of situation
> never used to occur 2-3 months ago, but happens a lot after some
> recent updated to overo-oe.

This issue is not overo specific and occurs in upstream OE too.  There
is ongoing discussion there on how to fix it.

I suspect that it will not occur if you disable parallel builds.

Personally I leave parallel builds enabled and just rebuild the
offending packages and restart the build.  It only seems to occur on
first or clean builds - once the offending packages are built once you
are usually good to go.

Steve

------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Problem building omap3-console-image

by stuart68 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Thanks for all the advice. I have it built now. After being told about the bitbake -c clean I tried this for the full build, but when it failed I decided to cut my losses and delete tmp and start over.

This succeeded, but I will keep in mind in the future to clean the offending package and rebuilt it and then start the build off again.

I do run using multiple threads and quad core and the built has been successful. I am off to add Qt4 embedded.

Thanks for all the feedback,
Stuart
sakoman wrote:
On Thu, Jul 2, 2009 at 2:17 AM, Elvis Dowson<elvis.dowson@mac.com> wrote:

> it will pick up from where it last left off. This sort of situation
> never used to occur 2-3 months ago, but happens a lot after some
> recent updated to overo-oe.

This issue is not overo specific and occurs in upstream OE too.  There
is ongoing discussion there on how to fix it.

I suspect that it will not occur if you disable parallel builds.

Personally I leave parallel builds enabled and just rebuild the
offending packages and restart the build.  It only seems to occur on
first or clean builds - once the offending packages are built once you
are usually good to go.

Steve

------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users