[yocto] morty populate_sdk_ext fails for recipes inherit bin_package

richard_allen at keysight.com richard_allen at keysight.com
Wed Jan 4 09:21:35 PST 2017


I am getting errors with morty and -c populate_sdk_ext when I have recipes which inherit bin_package
These recipes work fine with Krogoth and it's populate_sdk_ext

Note: package is not empty, Use to install package on running system.

No idea how to proceed on fixing this (or if this is an morty issue with populate_sdk_ext
(-c populate_sdk works fine)


If I use ipk for package managment

NOTE: Executing RunQueue Tasks
ERROR: uninative-tarball-1.0-r0 do_populate_sdk: Unable to install packages. Command '/home/rcallen/proto/morty/tmp/sysroots/x86_64-linux/usr/bin/opkg --volatile-cache -f /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/uninative-tarball/1.0-r0/opkg.conf -t /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/uninative-tarball/1.0-r0/temp/ipktemp/ -o /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/uninative-tarball/1.0-r0/sdk/image/opt/tlo/2.2/sysroots/none  --force_postinstall --prefer-arch-to-version   install hals hals-doc' returned 255:
Collected errors:
 * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'hals'.
 * rm_r: Failed to open dir /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/uninative-tarball/1.0-r0/temp/ipktemp//opkg-BL2Z8g: No such file or directory.

ERROR: uninative-tarball-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/uninative-tarball/1.0-r0/temp/log.do_populate_sdk.81325
ERROR: Task (/opt/yocto/morty/poky/meta/recipes-core/meta/uninative-tarball.bb:do_populate_sdk) failed with exit code '1'
ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: Unable to install packages. Command '/home/rcallen/proto/morty/tmp/sysroots/x86_64-linux/usr/bin/opkg --volatile-cache -f /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/buildtools-tarball/1.0-r0/opkg.conf -t /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/buildtools-tarball/1.0-r0/temp/ipktemp/ -o /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/tlo/2.2/sysroots/none  --force_postinstall --prefer-arch-to-version   install hals hals-doc' returned 255:
Collected errors:
 * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'hals'.
 * rm_r: Failed to open dir /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/buildtools-tarball/1.0-r0/temp/ipktemp//opkg-M2XGyh: No such file or directory.

ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/buildtools-tarball/1.0-r0/temp/log.do_populate_sdk.81336
ERROR: Task (/opt/yocto/morty/poky/meta/recipes-core/meta/buildtools-tarball.bb:do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2670 tasks of which 2663 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
  /opt/yocto/morty/poky/meta/recipes-core/meta/uninative-tarball.bb:do_populate_sdk
  /opt/yocto/morty/poky/meta/recipes-core/meta/buildtools-tarball.bb:do_populate_sdk


if I use rpm for package management:

ERROR: uninative-tarball-1.0-r0 do_populate_sdk: hals not found in the feeds () in /home/rcallen/proto/morty/tmp/deploy/rpm.
ERROR: uninative-tarball-1.0-r0 do_populate_sdk: This is often caused by an empty package declared in a recipe's PACKAGES variable. (Empty packages are not constructed unless ALLOW_EMPTY_<pkg> = '1' is used.)
ERROR: uninative-tarball-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/uninative-tarball/1.0-r0/temp/log.do_populate_sdk.74337
ERROR: Task (/opt/yocto/morty/poky/meta/recipes-core/meta/uninative-tarball.bb:do_populate_sdk) failed with exit code '1'
ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: hals not found in the feeds () in /home/rcallen/proto/morty/tmp/deploy/rpm.
ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: This is often caused by an empty package declared in a recipe's PACKAGES variable. (Empty packages are not constructed unless ALLOW_EMPTY_<pkg> = '1' is used.)
ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /home/rcallen/proto/morty/tmp/work/x86_64-nativesdk-linux/buildtools-tarball/1.0-r0/temp/log.do_populate_sdk.74344
ERROR: Task (/opt/yocto/morty/poky/meta/recipes-core/meta/buildtools-tarball.bb:do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2940 tasks of which 2933 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
  /opt/yocto/morty/poky/meta/recipes-core/meta/uninative-tarball.bb:do_populate_sdk
  /opt/yocto/morty/poky/meta/recipes-core/meta/buildtools-tarball.bb:do_populate_sdk



Richard C. Allen
richard_allen at Keysight.com<mailto:richard_allen at Keysight.com>




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170104/6d7ecb73/attachment.html>


More information about the yocto mailing list