Wind River Support Network

HomeDefectsLIN7-8377
Fixed

LIN7-8377 : license.manifest do not always contain correct package version

Created: Jul 7, 2017    Updated: Sep 8, 2018
Resolved Date: Jul 23, 2017
Previous ID: LIN5-23253
Found In Version: 7.0.0.25
Fix Version: 7.0.0.26
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config

Description

Some packages use <package>_git.bb as filename. For example ltrace

If the PV variable isn't set in the recipe will the license.manifest file contain
PACKAGE NAME: ltrace
PACKAGE VERSION: git
RECIPE NAME: ltrace
LICENSE: GPLv2

Use RCPL37 but suspect that it is the same for later RCPLs. Suspect that this is corrected in WRL8 but haven't checked
The same happen if you use the archiver bbclass to generate a FOSS archive for the build.

Note that there might be other packages with the same problem but it was the only that we found when we checked the license.manifest

Steps to Reproduce

$ configure --enable-board=intel-xeon-core \
    --enable-kernel=standard --enable-rootfs=glibc_std \
    --with-package=ltrace \
    --enable-jobs=1 --enable-parallel-pkgbuilds=8 \
    --enable-rm-work=yes --enable-rm-oldimgs=yes \
    --enable-checkout-all-layers=yes --enable-reconfig \
    --enable-ccache=no --with-sstate-dir=/path/to/sstate \
    --with-rcpl-version=0040
$ make fs

$ cat bitbake_build/tmp/deploy/licenses/wrlinux-image-glibc-std-intel-xeon-core-20170706161550/license.manifest | grep VERSION | grep git
PACKAGE VERSION: 1.1.12+gitAUTOINC+9d4cdedca25b396405f8587f9c4fbf8229e041c2
PACKAGE VERSION: git
PACKAGE VERSION: git
PACKAGE VERSION: git
PACKAGE VERSION: 0.0+gitAUTOINC+83b97f580e002ae94f060c5bd5a536b275e81afb
PACKAGE VERSION: 0.0+gitAUTOINC+83b97f580e002ae94f060c5bd5a536b275e81afb
PACKAGE VERSION: 0.0+gitAUTOINC+83b97f580e002ae94f060c5bd5a536b275e81afb
PACKAGE VERSION: 0.0+gitAUTOINC+83b97f580e002ae94f060c5bd5a536b275e81afb
PACKAGE VERSION: 0.0+gitAUTOINC+83b97f580e002ae94f060c5bd5a536b275e81afb
PACKAGE VERSION: git
PACKAGE VERSION: git
PACKAGE VERSION: 0.4.0+gitAUTOINC+4ef94ecb927a8912c3d79ce137182247786cff8f

So we see a number of packages where the version is listed as just "git".

Other Downloads


Live chat
Online