Wind River Support Network

HomeDefectsLIN7-8427
Fixed

LIN7-8427 : addpkg when package list is invalid: "<package> is not a valid package" error message

Created: Jul 24, 2017    Updated: Sep 8, 2018
Resolved Date: Aug 23, 2017
Found In Version: 7.0
Fix Version: 7.0.0.26
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config

Description

Once a project is configured, the list of wanted packages added to the default-imge.bb file, if another package is added via the .addpkg command it fails with:
=== Checking ../layers/local/recipes-img/images/wrlinux-image-glibc-core.bb ===
=== Checking for valid package for xx===

ERROR: xx is not a valid package

make: *** [xx.addpkg] Error 1

If the default-image.bb is reverted to the original state, i.e. without any additional packages the addpkg command succeeds.

Steps to Reproduce

1.
configure a project like this:
/wrlinux-6/wrlinux/configure --enable-board=intel-x86-64 --enable-rootfs=glibc-core --enable-kernel=standard --enable-build=production --with-layer=meta-selinux,wr-security,cgp --with-template=feature/archiver,feature/multilib-sdk-target --with-license-flags-blacklist=GPLv3,LGPLv3,GPLv3+,LGPLv3+ --enable-parallel-pkgbuilds=32 --enable-jobs=32 --enable-reconfig --enable-checkout-all-layers --enable-rm-oldimgs=yes --with-rcpl-version=0026
2.
run make -C build  libidn.addpkg;
-> Ok
3. 
remove the libidn from the default-image.bb and replace by the attached version.
4.
run again make -C build  libidn.addpkg;
you get this error:
=== Checking ../layers/local/recipes-img/images/wrlinux-image-glibc-core.bb ===
=== Checking for valid package for libidn ===

ERROR: libidn is not a valid package

make: *** [libidn.addpkg] Error 1

Other Downloads


Live chat
Online