[yocto] morty, how to debug opkg issues with do_populate_sdk? (ipk based) Error 255 (recipes use bin_package)
richard_allen at keysight.com
richard_allen at keysight.com
Fri Dec 23 17:39:33 PST 2016
I have some simple recipes which
inherit bin_package
Local has
PACKAGE_CLASSES ?= "package_ipk"
There are no issues with the krogoth release , can do -c populate_sdk and all is well
with morty, same recipe, same command
but the -c populate_sdk give me;
ERROR: core-image-minimal-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /home/rcallen/proto/ipkwork/tmp/work/imx6qdl_imx-k-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_populate_sdk.55748
ERROR: Task (/opt/yocto/morty/poky/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk) failed with exit code '1'
The log file has:
NOTE: Installing the following packages: opkg foosysm foo foocaps-samples packagegroup-core-boot foo-sdt foo-utils packagegroup-core-eclipse-debug packagegroup-core-standalone-sdk-target packagegroup-core-standalone-sdk-target-dbg foo-tests foocaps u-boot-imx- ssh-keys foo-samples run-postinsts fooio foocaps-tests
NOTE: /home/rcallen/proto/ipkwork/tmp/sysroots/x86_64-linux/usr/bin/opkg --volatile-cache -f /home/rcallen/proto/ipkwork/tmp/work/imx6qdl_imx-k-linux-gnueabi/core-image-minimal/1.0-r0/opkg.conf -t /home/rcallen/proto/ipkwork/tmp/work/imx6qdl_imx-k-linux-gnueabi/core-image-minimal/1.0-r0/temp/ipktemp/ -o /home/rcallen/proto/ipkwork/tmp/work/imx6qdl_imx-k-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image/opt/tlo/2.2/sysroots/cortexa9hf-neon-k-linux-gnueabi --force_postinstall --prefer-arch-to-version install opkg foosysm foo foocaps-samples packagegroup-core-boot foo-sdt foo-utils packagegroup-core-eclipse-debug packagegroup-core-standalone-sdk-target packagegroup-core-standalone-sdk-target-dbg foo-tests foocaps u-boot-imx- ssh-keys foo-samples run-postinsts fooio foocaps-tests
ERROR: Unable to install packages. Command '/home/rcallen/proto/ipkwork/tmp/sysroots/x86_64-linux/usr/bin/opkg --volatile-cache -f /home/rcallen/proto/ipkwork/tmp/work/imx6qdl_imx-k-linux-gnueabi/core-image-minimal/1.0-r0/opkg.conf -t /home/rcallen/proto/ipkwork/tmp/work/imx6qdl_imx-k-linux-gnueabi/core-image-minimal/1.0-r0/temp/ipktemp/ -o /home/rcallen/proto/ipkwork/tmp/work/imx6qdl_imx-k-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image/opt/tlo/2.2/sysroots/cortexa9hf-neon-k-linux-gnueabi --force_postinstall --prefer-arch-to-version install opkg foosysm foo foocaps-samples packagegroup-core-boot foo-sdt foo-utils packagegroup-core-eclipse-debug packagegroup-core-standalone-sdk-target packagegroup-core-standalone-sdk-target-dbg foo-tests foocaps u-boot-imx- ssh-keys foo-samples run-postinsts fooio foocaps-tests' returned 255:
Removing any system startup links for run-postinsts ...
If I change to use rpm
PACKAGE_CLASSES ?= "package_rpm"
No issues.
I need ipk , since want to put the more efficient opkg on my system (no room for smartpm)
If I don't include the recipes based on " inherit bin_package"
I have no problems with
PACKAGE_CLASSES ?= "package_ipk"
This is keeping me from moving to morty .
Thanks
Richard Allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161224/039547f6/attachment.html>
More information about the yocto
mailing list