Wind River Support Network

HomeDefectsLIN10-3502
Fixed

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: 10.17.41.4
Fix Version: 10.17.41.5
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Userspace

Description

The checksum of gettext.spec and javacomp.sh (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  javacomp.sh: bbb

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

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

4) Host with Javac installed and using the patch
md5sum gettext.spec: aaa
md5sum  javacomp.sh: 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
Online