Wind River Support Network


LIN7-5984 : Blacklisting GPLv3 ignored

Created: Apr 21, 2016    Updated: Sep 8, 2018
Resolved Date: Jul 11, 2016
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config
Host OS: Linux Ubuntu


The package that causes libgnutls-openssl to be pulled in incorrectly is iputils. The wpa-supplicant package also has an
implicit dependency on it, but just including it in the IMAGE_INSTALL does not cause the library to appear. However, the
wpa-supplicant package should be configured to use the openssl PACKAGECONFIG instead to avoid any issues on runtime (see
TestLayers/templates/default/template.conf for details).

The current behavior is that the system build results in unlicensed content being added without any warning. 

Steps to Reproduce

See build.tar.gz which contains an extremely minimal build script and layer using stock Wind River Linux 7 to reproduce the issue.
Directions to reproduce:

1.	Extract said tarball to a location where you wish to build the platform.
Please replace the extracted with the one attached to this Jira.
2.	Set the WORKSPACE variable to $PWD
3.     Set WRL7 variable to point to WRL7 install
4.	Run to perform the build
5.	Navigate to $WORKSPACE/_BuildWRLinux/Test_prj/export/dist/usr/lib and confirm that libgnutls-openssl is present.

Test_prj$ find export/dist -name libgnutls-openssl*

----- Content of -------
eval `${WRL7}/ -p wrlinux-7 -o print_env -f sh`

rm -rf ${WORKSPACE}/_BuildWRLinux/Test_prj
mkdir -p ${WORKSPACE}/_BuildWRLinux/Test_prj
cd ${WORKSPACE}/_BuildWRLinux/Test_prj

   --enable-board=intel-baytrail-32 \
   --enable-build=production \
   --enable-ccache=yes \
   --with-ccache-dir=${WORKSPACE}/_BuildWRLinux/GCC_CACHE \
   --with-sstate-dir=${WORKSPACE}/_BuildWRLinux/SSTATE_CACHE \
   --enable-kernel=preempt-rt \
   --enable-rootfs=glibc-core \
   --with-license-blacklist="GPLv3,LGPLv3" \
   --enable-buildhist=yes \
   --with-template="" \
   --with-layer=wr-bsps/intel-x86,${WORKSPACE}/TestLayers \
   --enable-prserver=no \
   --with-package=curl \
   --with-init=sysvinit \

make export-dist

Other Downloads

Live chat