All of lore.kernel.org
 help / color / mirror / Atom feed
* adding a package to TOOLCHAIN_HOST_TASK results in error "No match for argument: <package name>" #sdk #yocto
@ 2020-02-27 15:05 Armando Hernandez
  0 siblings, 0 replies; only message in thread
From: Armando Hernandez @ 2020-02-27 15:05 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2878 bytes --]

Hello,

I am trying create an eSDK from the meta-ivi layer.
In order to do so, I had to create some .bbappend files to make some recipes extend to the nativesdk class.
Particularyl I created the following  .bbappend (which corresponds to this recipe ( https://github.com/GENIVI/meta-ivi/blob/master/meta-ivi/recipes-extended/common-api/common-api-c%2B%2B_3.1.12.6.bb ) )

FILES_${PN}-dev_append_class-nativesdk = " ${includedir}/CommonAPI-3.1 ${libdir}/*"
BBCLASSEXTEND = "nativesdk"

when traing to create the extensible sdk, I get this error:

ERROR: meta-ivi-image-15.0.0-r0 do_populate_sdk_ext: Could not invoke dnf. Command '/data/ivi-project/build/tmp/work/qemux86_64-poky-linux/meta-ivi-image/15.0.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=debug -y -c /data/ivi-project/build/tmp/work/qemux86_64-poky-linux/meta-ivi-image/15.0.0-r0/sdk-ext/image/etc/dnf/dnf.conf --setopt=reposdir=/data/ivi-project/build/tmp/work/qemux86_64-poky-linux/meta-ivi-image/15.0.0-r0/sdk-ext/image/etc/yum.repos.d --repofrompath=oe-repo,/data/ivi-project/build/tmp/work/qemux86_64-poky-linux/meta-ivi-image/15.0.0-r0/oe-sdk-ext-repo --installroot=/data/ivi-project/build/tmp/work/qemux86_64-poky-linux/meta-ivi-image/15.0.0-r0/sdk-ext/image --setopt=logdir=/data/ivi-project/build/tmp/work/qemux86_64-poky-linux/meta-ivi-image/15.0.0-r0/temp --nogpgcheck install nativesdk-capicxx-someip nativesdk-capicxx-core nativesdk-dlt-daemon nativesdk-common-api-c++ meta-environment-extsdk-qemux86-64' returned 1:
DNF version: 2.7.5
cachedir: /data/ivi-project/build/tmp/work/qemux86_64-poky-linux/meta-ivi-image/15.0.0-r0/sdk-ext/image/var/cache/dnf
Added oe-repo repo from /data/ivi-project/build/tmp/work/qemux86_64-poky-linux/meta-ivi-image/15.0.0-r0/oe-sdk-ext-repo
repo: using cache for: oe-repo
not found deltainfo for: oe-repo
not found updateinfo for: oe-repo
oe-repo: using metadata from Thu 27 Feb 2020 02:47:40 PM UTC.
Last metadata expiration check: 0:00:01 ago on Thu 27 Feb 2020 02:47:41 PM UTC.
No match for argument: nativesdk-common-api-c++
Error: Unable to find a match

ERROR: meta-ivi-image-15.0.0-r0 do_populate_sdk_ext: Function failed: do_populate_sdk_ext
ERROR: Logfile of failure stored in: /data/ivi-project/build/tmp/work/qemux86_64-poky-linux/meta-ivi-image/15.0.0-r0/temp/log.do_populate_sdk_ext.345
ERROR: Task (/data/ivi-project/poky/../meta-ivi/meta-ivi/recipes-yocto-ivi/images/meta-ivi-image.bb:do_populate_sdk_ext) failed with exit code '1'

I have searched of similar problems and found different approaches as to how to solve this, but none of that helped me.
I would like to understand what are the steps this "do_populate_sdk_ext" task do, to be able to identify the root cause, but I haven't found detailed informaiton on what and how this task is doing.

Any hint is -as always- thankfully appretiated!

Cheers!

[-- Attachment #2: Type: text/html, Size: 4663 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-27 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-27 15:05 adding a package to TOOLCHAIN_HOST_TASK results in error "No match for argument: <package name>" #sdk #yocto Armando Hernandez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.