Bug#588271: eclipselink: FTBFS in clean chroot (cannot find org.antlr.runtime.*)
Niels Thykier
niels at thykier.net
Tue Jul 6 17:52:46 UTC 2010
Package: eclipselink
Severity: serious
Hi
As the title says - here is the relevant part of the log:
>
> [...]
> dh --with javahelper build
> dh_testdir
> dh_auto_configure
> jh_linkjars
> debian/rules override_dh_auto_build
> make[1]: Entering directory `/home/moon/debian/javahelper-test/eclipselink-2.0.2'
> ant -f debian/build.xml
> Buildfile: /home/moon/debian/javahelper-test/eclipselink-2.0.2/debian/build.xml
>
> init:
> [mkdir] Created dir: /home/moon/debian/javahelper-test/eclipselink-2.0.2/target/classes
>
> compile:
> [javac] Compiling 1829 source files to /home/moon/debian/javahelper-test/eclipselink-2.0.2/target/classes
> [javac] /home/moon/debian/javahelper-test/eclipselink-2.0.2/org/eclipse/persistence/config/PersistenceUnitProperties.java:506: warning: unmappable character for encoding ASCII
> [javac] * <li>true ? enable internal statement caching.
> [javac] ^
> [javac] /home/moon/debian/javahelper-test/eclipselink-2.0.2/org/eclipse/persistence/config/PersistenceUnitProperties.java:507: warning: unmappable character for encoding ASCII
> [javac] * <li>false ? disable internal statement caching. (DEFAULT)
> [javac] ^
> [javac] /home/moon/debian/javahelper-test/eclipselink-2.0.2/org/eclipse/persistence/config/PersistenceUnitProperties.java:1214: warning: unmappable character for encoding ASCII
> [javac] * <li>Custom profiler ? Specify a custom profiler class name which
> [javac] ^
> [javac] /home/moon/debian/javahelper-test/eclipselink-2.0.2/org/eclipse/persistence/internal/jpa/parsing/jpql/CaseInsensitiveANTLRStringStream.java:15: package org.antlr.runtime does not exist
> [javac] import org.antlr.runtime.ANTLRStringStream;
> [javac] ^
> [javac] /home/moon/debian/javahelper-test/eclipselink-2.0.2/org/eclipse/persistence/internal/jpa/parsing/jpql/CaseInsensitiveANTLRStringStream.java:25: cannot find symbol
> [javac] symbol: class ANTLRStringStream
> [javac] public class CaseInsensitiveANTLRStringStream extends ANTLRStringStream {
> [javac]
> [...]
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 100 errors
> [javac] 3 warnings
>
> BUILD FAILED
> /home/moon/debian/javahelper-test/eclipselink-2.0.2/debian/build.xml:26: Compile failed; see the compiler error output for details.
>
> Total time: 9 seconds
> make[1]: *** [override_dh_auto_build] Error 1
> make[1]: Leaving directory `/home/moon/debian/javahelper-test/eclipselink-2.0.2'
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>
Even after adding antlr3-runtime.jar to classpath (debian/classpath-debian)
it still fails (with a different error though).
~Niels
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the pkg-java-maintainers
mailing list