Wind River Support Network


LIN10-3502 : Host contamination in gettext package when javac is installed in host machine

Created: Mar 15, 2018    Updated: Dec 3, 2018
Resolved Date: Mar 18, 2018
Previous ID: LIN9-6526
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Userspace


The checksum of gettext.spec and (and Makefiles although those looked a bit more like a build order issue with full build path vs ubuntu path) changes if Javac is present or not in the host machine.

Please test (and include in our product) the attached patch, it solves the issue.

Steps to Reproduce

Create a simple project in three (or four if desired) scenarios (you can use the configure below)

$installDir/wrlinux-8/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-small --enable-reconfig

(Note: The checksums below are not real, just to give an example)
1) Host without Javac installed
md5sum gettext.spec: aaa
md5sum bbb

2) Host with Javac installed
md5sum gettext.spec: ccc
md5sum ddd

3) Host without Javac and using the patch
md5sum gettext.spec: aaa
md5sum bbb

4) Host with Javac installed and using the patch
md5sum gettext.spec: aaa
md5sum bbb

The first patch was created by the customer using git and in RCPL0024, the second patch was generated by me using quilt (used in gettext devshell) and RCPL0021

Other Downloads

Live chat