woglinde/meta-java — Issue #11: ecj-bootstrap fails to build
Author: Ringdingcoder
Created: 2012-01-10 15:49:21+00:00
State: open

An excerpt from my tmp-eglibc/work/x86_64-linux/libecj-bootstrap-3.6.2-r0/temp/log.do_compile:

+ cd /oebuild/oe-core/build/tmp-eglibc/work/x86_64-linux/libecj-bootstrap-3.6.2-r0
+ do_compile
+ find source -name *.java
+ split -l 25 sourcefiles ecj-sources.
+ find . -name ecj-sources.*
+ echo building files in ./ecj-sources.an ...
building files in ./ecj-sources.an ...
+ cat ./ecj-sources.an
+ echo jikes-initial -d build -source 1.4 -sourcepath source source/org/eclipse/jdt/internal/compiler/Compiler.java source/or
g/eclipse/jdt/internal/compiler/ProcessTaskManager.java source/org/eclipse/jdt/internal/compiler/IProblemFactory.java source/
org/eclipse/jdt/core/compiler/batch/BatchCompiler.java source/org/eclipse/jdt/core/compiler/CategorizedProblem.java source/or
g/eclipse/jdt/core/compiler/CompilationProgress.java source/org/eclipse/jdt/core/compiler/CharOperation.java source/org/eclip
se/jdt/core/compiler/IProblem.java source/org/eclipse/jdt/core/compiler/InvalidInputException.java
jikes-initial -d build -source 1.4 -sourcepath source source/org/eclipse/jdt/internal/compiler/Compiler.java source/org/eclip
se/jdt/internal/compiler/ProcessTaskManager.java source/org/eclipse/jdt/internal/compiler/IProblemFactory.java source/org/ecl
ipse/jdt/core/compiler/batch/BatchCompiler.java source/org/eclipse/jdt/core/compiler/CategorizedProblem.java source/org/eclip
se/jdt/core/compiler/CompilationProgress.java source/org/eclipse/jdt/core/compiler/CharOperation.java source/org/eclipse/jdt/
core/compiler/IProblem.java source/org/eclipse/jdt/core/compiler/InvalidInputException.java
+ cat ./ecj-sources.an
+ jikes-initial -d build -source 1.4 -sourcepath source source/org/eclipse/jdt/internal/compiler/Compiler.java source/org/ecl
ipse/jdt/internal/compiler/ProcessTaskManager.java source/org/eclipse/jdt/internal/compiler/IProblemFactory.java source/org/e
clipse/jdt/core/compiler/batch/BatchCompiler.java source/org/eclipse/jdt/core/compiler/CategorizedProblem.java source/org/ecl
ipse/jdt/core/compiler/CompilationProgress.java source/org/eclipse/jdt/core/compiler/CharOperation.java source/org/eclipse/jd
t/core/compiler/IProblem.java source/org/eclipse/jdt/core/compiler/InvalidInputException.java

This leads to:

*** Semantic Error: No accessible field named "SUFFIX_STRING_class" was found in type "org.eclipse.jdt.internal.compiler.batch.FileSystem".

and others.

The problem is that the result of find is not sorted. When I tried to build openjdk-6 as layed out in on an ext4 file system with `dir_index` enabled, the build failed because find returned the files in an order incompatible with the build process.