hi,

i am unable to build a proper SDK for core-image-minimal using OE-core +
dora. I am seeing I think 2 different problems.

1- problem related to update-alternative and opkg:

update-alternatives: Error: cannot register alternative opkg to
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/opkg since it
is already registered to /usr/bin/opkg


2- problem related to shadow(-native/-nativesdk)

Configuring
nativesdk-perl-module-pod-plaintex/work/test/oe-test/build-bbb/tmp-eglibc/work/beaglebone-oe-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image//var/lib/opkg/info/nativesdk-shadow.posti\
nst: line 7: pwconv: command not found
/work/test/oe-test/build-bbb/tmp-eglibc/work/beaglebone-oe-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image//var/lib/opkg/info/nativesdk-shadow.postinst:
line 8: grpconv: command not found
update-alternatives: Error: cannot register alternative passwd to
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/passwd since
it is already registered to /usr/bin/passwd
update-alternatives: Linking
/work/test/oe-test/build-bbb/tmp-eglibc/work/beaglebone-oe-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image//usr/local/oecore-x86_64/sysroots/armv7a-vfp-neon-oe-linux\
-gnueabi//usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/chfn
to /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/chfn.shadow
update-alternatives: Linking
/work/test/oe-test/build-bbb/tmp-eglibc/work/beaglebone-oe-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image//usr/local/oecore-x86_64/sysroots/armv7a-vfp-neon-oe-linux\
-gnueabi//usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/newgrp
to
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/newgrp.shadow
update-alternatives: Linking
/work/test/oe-test/build-bbb/tmp-eglibc/work/beaglebone-oe-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image//usr/local/oecore-x86_64/sysroots/armv7a-vfp-neon-oe-linux\
-gnueabi//usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/chsh
to /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/chsh.shadow
update-alternatives: Error: cannot register alternative groups to
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/groups since
it is already registered to /usr/bin/groups
update-alternatives: Linking
/work/test/oe-test/build-bbb/tmp-eglibc/work/beaglebone-oe-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image//usr/local/oecore-x86_64/sysroots/armv7a-vfp-neon-oe-linux\
-gnueabi//usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/sbin/chpasswd
to
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/sbin/chpasswd.shadow
update-alternatives: Error: cannot register alternative login to
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/bin/login since it is
already registered to /bin/login
update-alternatives: Linking
/work/test/oe-test/build-bbb/tmp-eglibc/work/beaglebone-oe-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image//usr/local/oecore-x86_64/sysroots/armv7a-vfp-neon-oe-linux\
-gnueabi//usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/sbin/vipw to
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/sbin/vipw.shadow
update-alternatives: Linking
/work/test/oe-test/build-bbb/tmp-eglibc/work/beaglebone-oe-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image//usr/local/oecore-x86_64/sysroots/armv7a-vfp-neon-oe-linux\
-gnueabi//usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/sbin/vigr to
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/sbin/vigr.shadow
update-alternatives: Error: cannot register alternative su to
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/bin/su since it is
already registered to /bin/su

If i revert the following commits (on dora), then at least #2 seems to be
going away... but i am not completely sure if this is right or wrong...

829edcb nativesdk-packagegroup-sdk-host: Add nativesdk-shadow
f90e1a4 shadow: Add nativesdk to BBCLASSEXTEND
44fafdb shadow: Turn shadow-native into a BBCLASSEXTEND

I would expect that SDK is being tested properly, so i must be doing
something wrong along the lines... any help would be much appreciated.

thanks

nicolas
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to