Wind River Support Network

HomeDefectsLIN7-5984
Fixed

LIN7-5984 : Blacklisting GPLv3 ignored

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

Description

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 build.sh 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 build.sh 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*
export/dist/usr/lib/libgnutls-openssl.so.27
export/dist/usr/lib/libgnutls-openssl.so.27.0.2

----- Content of build.sh -------
eval `${WRL7}/wrenv.sh -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

${WIND_LINUX_CONFIGURE_CLI} \
   --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 \
   --enable-reconfig

make export-dist

Other Downloads


Live chat
Online