Wind River Support Network

HomeDefectsLIN9-6525
Fixed

LIN9-6525 : Host contamination in gettext package when javac is installed in host machine

Created: Mar 14, 2018    Updated: Dec 3, 2018
Resolved Date: Mar 15, 2018
Found In Version: unknown
Fix Version: 9.0.0.15
Severity: Standard
Applicable for: Wind River Linux 9
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