[yocto] morty populate_sdk_ext fails for recipes inherit bin_package

Paul Eggleton paul.eggleton at linux.intel.com
Sun Jan 8 10:57:25 PST 2017


Hi Richard,

A few things:

On Thu, 05 Jan 2017 14:27:39 richard_allen at keysight.com wrote:
> #runtime depends
> RDEPENDS_${PN} = " libgcc \
>                          libstdc++ \
>                          dtc \
>                            "
> DEPENDS_${PN} = " gtest"
> 
> #bring in all to build toolchain
> DEPENDS_${PN}-dev += " ${PN}-doc ${PN}-tests ${PN}-samples"

I assume you actually used RDEPENDS and not DEPENDS here? DEPENDS_${PN} is 
invalid.

> BBCLASSEXTEND = "native nativesdk"

Does it make sense to BBCLASSEXTEND to native given that this is precompiled 
for ARM?

On Wed, 04 Jan 2017 17:21:35 richard_allen at keysight.com wrote:
> 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.

It's interesting that this is coming up for uninative-tarball - that's not 
normally something that I would expect you would need to change for something 
like this. I suspect you have inadvertently modified the configuration of that 
(perhaps by setting TOOLCHAIN_HOST_TASK / TOOLCHAIN_TARGET_TASK globally?). 
What does your cfgs/add-hals.conf actually set?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list