Build failure with coreutils 8.12
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Android |
Fix Released
|
Medium
|
Bernhard Rosenkraenzer |
Bug Description
On a box with coreutils 8.12 installed, Linaro Android fails to build:
javac -J-Xmx512M -target 1.5 -Xmaxerrs 9999999 -encoding ascii -bootclasspath out/target/
encoding UTF-8 -g -extdirs "" -d out/target/
ediates/
libcore/
symbol : class X509Certificate
location: package java.security.cert
import java.security.
Looking into this a bit, the problem seems to be with coreutils 8.12.
java-source-
java-source-list (from which it is generated) looks right.
java-source-
Looking at what's going wrong there shows what looks like we're triggering a coreutils bug:
[bero@matterhorn WORK-iMX53]$ tr ' ' '\n' <out/target/
libcore/
[bero@matterhorn WORK-iMX53]$ tr ' ' '\n' <out/target/
libcore/
libcore/
[bero@matterhorn WORK-iMX53]$ tr ' ' '\n' <out/target/
libcore/
[bero@matterhorn WORK-iMX53]$
Changed in linaro-android: | |
milestone: | none → 11.10 |
Changed in linaro-android: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
Changing the "sort -u" to "sort | uniq" produces the expected results, so that may be an ok workaround