Fixed
Created: Jul 13, 2017
Updated: Dec 3, 2018
Resolved Date: Aug 21, 2017
Found In Version: 6.0.0.26
Fix Version: 6.0.0.35
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config
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.
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