Re: Building eSDK fails #sdk


Leon Woestenberg
 

Hello Alexander,

On Thu, Feb 4, 2021 at 6:43 PM <alexander.troff@deveritec.com> wrote:

<...> trying to build the eSDK with bitbake core-image-base -c populate_sdk_ext results in this error:
Collected errors:
* opkg_prepare_url_for_install: Couldn't find anything to satisfy 'cppzmq-dev'.

The listed Packeges are set in the TOOLCHAIN_TARGET_TASK variable. I tryed using IMAGE_INSTALL_append but this didn't help.
Does someone have an idea?
I have two ideas that might get you closer.

1) First, I noticed that using TOOLCHAIN_HOST_TASK += "xxx" is broken
on Yocto dunfell for me (non-extensible SDK). The issue is that even
when using += in local.conf, only "xxx" would end up in
TOOLCHAIN_HOST_TASK, removing the existing tasks.

I can test/prove this by running:
bitbake core-image-base -c populate_sdk -e | grep -e '^TOOLCHAIN_'

My local.conf thus look like this to work around this:

# @TODO Broken
#TOOLCHAIN_HOST_TASK += "nativesdk-cmake"
TOOLCHAIN_HOST_TASK_append = " nativesdk-cmake nativesdk-make"

TOOLCHAIN_TARGET_TASK_append = " concurrencykit-staticdev musl-staticdev"

2) There is something special with ''cppzmq-dev'; it is a header-only
package without libraries. Not sure if that has any impact for the
dependency resolution.

Probably useless info for you, but might trigger someone to help you further.

I minimal test case would be nice, against plain Yocto, so that devs
can investigate easier.

Regards,

Leon.

Join yocto@lists.yoctoproject.org to automatically receive all group messages.