* ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'
@ 2012-07-30 16:43 Elvis Dowson
2012-07-30 16:48 ` Martin Jansa
0 siblings, 1 reply; 8+ messages in thread
From: Elvis Dowson @ 2012-07-30 16:43 UTC (permalink / raw)
To: Yocto Discussion Mailing List
Hi,
I just updated my yocto repositories and ran into the following error:
| ERROR: Function failed: populate_sdk_image (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.25279 for further information)
NOTE: package meta-toolchain-1.0-r7: task do_populate_sdk: Failed
ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1878 tasks of which 236 didn't need to be rerun and 1 failed.
ERROR: An uncaught exception occured in runqueue, please see the failure below:
Summary: 1 task failed:
/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk
Summary: There were 3 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Is there a fix for this?
Elvis Dowson
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'
2012-07-30 16:43 ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1' Elvis Dowson
@ 2012-07-30 16:48 ` Martin Jansa
2012-07-30 16:55 ` Elvis Dowson
0 siblings, 1 reply; 8+ messages in thread
From: Martin Jansa @ 2012-07-30 16:48 UTC (permalink / raw)
To: Elvis Dowson; +Cc: Yocto Discussion Mailing List
[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]
On Mon, Jul 30, 2012 at 08:43:33PM +0400, Elvis Dowson wrote:
> Hi,
> I just updated my yocto repositories and ran into the following error:
>
> | ERROR: Function failed: populate_sdk_image (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.25279 for further information)
> NOTE: package meta-toolchain-1.0-r7: task do_populate_sdk: Failed
> ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1878 tasks of which 236 didn't need to be rerun and 1 failed.
> ERROR: An uncaught exception occured in runqueue, please see the failure below:
>
> Summary: 1 task failed:
> /tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk
> Summary: There were 3 WARNING messages shown.
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>
> Is there a fix for this?
Attach log.do_populate_sdk.25279
Cheers,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'
2012-07-30 16:48 ` Martin Jansa
@ 2012-07-30 16:55 ` Elvis Dowson
2012-07-30 16:58 ` Paul Eggleton
0 siblings, 1 reply; 8+ messages in thread
From: Elvis Dowson @ 2012-07-30 16:55 UTC (permalink / raw)
To: Martin Jansa; +Cc: Yocto Discussion Mailing List
Hi Martin,
On Jul 30, 2012, at 8:48 PM, Martin Jansa wrote:
> Attach log.do_populate_sdk.25279
Here is the log
DEBUG: Executing python function do_populate_sdk
DEBUG: Executing shell function populate_sdk_image
Generating solve db for /tool/yocto/poky/build/tmp/deploy/rpm/ppc440...
total: 1 0.000000 MB 15.378123 secs
fingerprint: 7383 0.071586 MB 0.795094 secs
install: 2461 0.000000 MB 3.924927 secs
digest: 4922 17.539986 MB 0.071979 secs
signature: 4922 0.000000 MB 5.635336 secs
dbadd: 2461 0.000000 MB 3.867947 secs
dbget: 24358 0.000000 MB 0.044111 secs
dbput: 2461 11.232764 MB 2.458966 secs
readhdr: 24611 22.422706 MB 2.833783 secs
hdrload: 15847 48.317258 MB 0.063320 secs
hdrget: 451910 0.000000 MB 0.314565 secs
Generating solve db for /tool/yocto/poky/build/tmp/deploy/rpm/x86_64-nativesdk...
total: 1 0.000000 MB 4.420427 secs
fingerprint: 1698 0.056604 MB 0.353290 secs
install: 566 0.000000 MB 1.192211 secs
digest: 1132 9.261982 MB 0.035940 secs
signature: 1132 0.000000 MB 1.325190 secs
dbadd: 566 0.000000 MB 1.176382 secs
dbget: 21453 0.000000 MB 0.022157 secs
dbput: 566 5.223256 MB 0.825451 secs
readhdr: 5661 10.385022 MB 0.950751 secs
hdrload: 3049 16.903506 MB 0.013520 secs
hdrget: 107862 0.000000 MB 0.088460 secs
Processing task-core-standalone-sdk-target-dbg...
Processing task-core-standalone-sdk-target...
/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/run.populate_sdk_image.25279: line 675: rpmresolve: command not found
DEBUG: Python function do_populate_sdk finished
ERROR: Function failed: populate_sdk_image (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.25279 for further information)
Best regards,
Elvis Dowson
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'
2012-07-30 16:55 ` Elvis Dowson
@ 2012-07-30 16:58 ` Paul Eggleton
2012-07-30 17:08 ` Elvis Dowson
0 siblings, 1 reply; 8+ messages in thread
From: Paul Eggleton @ 2012-07-30 16:58 UTC (permalink / raw)
To: Elvis Dowson; +Cc: yocto
On Monday 30 July 2012 20:55:50 Elvis Dowson wrote:
> Hi Martin,
>
> On Jul 30, 2012, at 8:48 PM, Martin Jansa wrote:
> > Attach log.do_populate_sdk.25279
>
> Here is the log
>
> DEBUG: Executing python function do_populate_sdk
> DEBUG: Executing shell function populate_sdk_image
> Generating solve db for /tool/yocto/poky/build/tmp/deploy/rpm/ppc440...
> total: 1 0.000000 MB 15.378123 secs
> fingerprint: 7383 0.071586 MB 0.795094 secs
> install: 2461 0.000000 MB 3.924927 secs
> digest: 4922 17.539986 MB 0.071979 secs
> signature: 4922 0.000000 MB 5.635336 secs
> dbadd: 2461 0.000000 MB 3.867947 secs
> dbget: 24358 0.000000 MB 0.044111 secs
> dbput: 2461 11.232764 MB 2.458966 secs
> readhdr: 24611 22.422706 MB 2.833783 secs
> hdrload: 15847 48.317258 MB 0.063320 secs
> hdrget: 451910 0.000000 MB 0.314565 secs
> Generating solve db for
> /tool/yocto/poky/build/tmp/deploy/rpm/x86_64-nativesdk... total:
> 1 0.000000 MB 4.420427 secs
> fingerprint: 1698 0.056604 MB 0.353290 secs
> install: 566 0.000000 MB 1.192211 secs
> digest: 1132 9.261982 MB 0.035940 secs
> signature: 1132 0.000000 MB 1.325190 secs
> dbadd: 566 0.000000 MB 1.176382 secs
> dbget: 21453 0.000000 MB 0.022157 secs
> dbput: 566 5.223256 MB 0.825451 secs
> readhdr: 5661 10.385022 MB 0.950751 secs
> hdrload: 3049 16.903506 MB 0.013520 secs
> hdrget: 107862 0.000000 MB 0.088460 secs
> Processing task-core-standalone-sdk-target-dbg...
> Processing task-core-standalone-sdk-target...
> /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp
> /run.populate_sdk_image.25279: line 675: rpmresolve: command not found
> DEBUG: Python function do_populate_sdk finished
> ERROR: Function failed: populate_sdk_image (see
> /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/tem
> p/log.do_populate_sdk.25279 for further information)
This is my fault - I'll put together a patch right now. As a workaround you
can "bitbake rpmresolve-native" first and you won't get the error anymore.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'
2012-07-30 16:58 ` Paul Eggleton
@ 2012-07-30 17:08 ` Elvis Dowson
2012-07-30 17:18 ` Paul Eggleton
0 siblings, 1 reply; 8+ messages in thread
From: Elvis Dowson @ 2012-07-30 17:08 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto
Hi Paul,
On Jul 30, 2012, at 8:58 PM, Paul Eggleton wrote:
>
> This is my fault - I'll put together a patch right now. As a workaround you
> can "bitbake rpmresolve-native" first and you won't get the error anymore.
Thanks for the workaround! It worked.
It would be good if all changes to the master were run through an automated build test on an internal git repository, prior to being pushed out to the public git repository. This way, you would be able to ensure that breaks in the build do not get propagated to all users.
FYI, I refresh my yocto repos every two weeks and always perform a clean build, after deleting my tmp and sstate-cache folders.
It take around 2 hours to build meta-toolchain, and another hour to build core-image-minimal, on my machine configuration, which is a MacBook Pro 15", 8GB RAM, 2.3GHz Core i7, running Ubuntu 12.04 LTS 64-bit using VMware Fusion 5.0.0 with 8 CPU core configured, and 4GB RAM allocated to the VM.
I usually have the following layers setup for each build
BBLAYERS ?= " \
/tool/yocto/poky/meta \
/tool/yocto/poky/meta-yocto \
/tool/yocto/meta-openembedded/meta-oe \
/tool/yocto/meta-xilinx \
"
Best regards,
Elvis Dowson
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'
2012-07-30 17:08 ` Elvis Dowson
@ 2012-07-30 17:18 ` Paul Eggleton
2012-07-30 19:52 ` Elvis Dowson
0 siblings, 1 reply; 8+ messages in thread
From: Paul Eggleton @ 2012-07-30 17:18 UTC (permalink / raw)
To: Elvis Dowson; +Cc: yocto
On Monday 30 July 2012 21:08:54 Elvis Dowson wrote:
> Hi Paul,
>
> On Jul 30, 2012, at 8:58 PM, Paul Eggleton wrote:
> > This is my fault - I'll put together a patch right now. As a workaround
> > you
> > can "bitbake rpmresolve-native" first and you won't get the error anymore.
>
> Thanks for the workaround! It worked.
>
> It would be good if all changes to the master were run through an automated
> build test on an internal git repository, prior to being pushed out to the
> public git repository. This way, you would be able to ensure that breaks in
> the build do not get propagated to all users.
FYI, we do do this already for most significant changes, and it was done for
this one. The trouble with this specific issue is, if you happened to build a
normal image prior to building meta-toolchain or indeed any other user of
do_populate_sdk, the error will not occur because rpmresolve-native would
already have been built; hence why this was missed.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'
2012-07-30 17:18 ` Paul Eggleton
@ 2012-07-30 19:52 ` Elvis Dowson
2012-07-30 22:56 ` Paul Eggleton
0 siblings, 1 reply; 8+ messages in thread
From: Elvis Dowson @ 2012-07-30 19:52 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto
Hi Paul,
On Jul 30, 2012, at 9:18 PM, Paul Eggleton wrote:
> FYI, we do do this already for most significant changes, and it was done for
> this one. The trouble with this specific issue is, if you happened to build a
> normal image prior to building meta-toolchain or indeed any other user of
> do_populate_sdk, the error will not occur because rpmresolve-native would
> already have been built; hence why this was missed.
Ah, I see. I normally alway build meta-toolchain, so that I get the cross compiler
built first, before trying to build core-image-minimal.
Best regards,
Elvis Dowson
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'
2012-07-30 19:52 ` Elvis Dowson
@ 2012-07-30 22:56 ` Paul Eggleton
0 siblings, 0 replies; 8+ messages in thread
From: Paul Eggleton @ 2012-07-30 22:56 UTC (permalink / raw)
To: Elvis Dowson; +Cc: yocto
On Monday 30 July 2012 23:52:18 Elvis Dowson wrote:
> On Jul 30, 2012, at 9:18 PM, Paul Eggleton wrote:
> > FYI, we do do this already for most significant changes, and it was done
> > for this one. The trouble with this specific issue is, if you happened to
> > build a normal image prior to building meta-toolchain or indeed any other
> > user of do_populate_sdk, the error will not occur because
> > rpmresolve-native would already have been built; hence why this was
> > missed.
>
> Ah, I see. I normally alway build meta-toolchain, so that I get the cross
> compiler built first, before trying to build core-image-minimal.
I'm guessing you already know this, but you can just build core-image-minimal
without building meta-toolchain and the cross compiler will be built
automatically (and since meta-toolchain builds a bunch of other things it will
take less time overall). Of course, you may actually need the output of meta-
toolchain, in which case you're getting something for the extra build time;
but in that case it still does not matter which order you build them in.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-07-30 22:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-30 16:43 ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1' Elvis Dowson
2012-07-30 16:48 ` Martin Jansa
2012-07-30 16:55 ` Elvis Dowson
2012-07-30 16:58 ` Paul Eggleton
2012-07-30 17:08 ` Elvis Dowson
2012-07-30 17:18 ` Paul Eggleton
2012-07-30 19:52 ` Elvis Dowson
2012-07-30 22:56 ` Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.