Bug#593017: jruby-joni: FTBFS: unable to find a javac compiler

Lucas Nussbaum lucas at lucas-nussbaum.net
Sun Aug 15 07:51:37 UTC 2010


Source: jruby-joni
Version: 1.1.4-1
Severity: serious
Tags: squeeze sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20100815 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  /usr/bin/fakeroot debian/rules clean
> dh clean
>    dh_testdir
>    dh_auto_clean
> Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar
> Buildfile: /build/user-jruby-joni_1.1.4-1-amd64-C005vR/jruby-joni-1.1.4/build.xml
> 
> clean:
> 
> BUILD SUCCESSFUL
> Total time: 0 seconds
>    dh_clean
>  dpkg-source -b jruby-joni-1.1.4
> dpkg-source: info: using source format `3.0 (quilt)'
> dpkg-source: info: building jruby-joni using existing ./jruby-joni_1.1.4.orig.tar.gz
> dpkg-source: info: building jruby-joni in jruby-joni_1.1.4-1.debian.tar.gz
> dpkg-source: info: building jruby-joni in jruby-joni_1.1.4-1.dsc
>  debian/rules build
> dh build
>    dh_testdir
>    dh_auto_configure
>    dh_auto_build
> Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar
> Buildfile: /build/user-jruby-joni_1.1.4-1-amd64-C005vR/jruby-joni-1.1.4/build.xml
> 
> compile:
>     [mkdir] Created dir: /build/user-jruby-joni_1.1.4-1-amd64-C005vR/jruby-joni-1.1.4/target/classes
>     [javac] /build/user-jruby-joni_1.1.4-1-amd64-C005vR/jruby-joni-1.1.4/build.xml:17: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 79 source files to /build/user-jruby-joni_1.1.4-1-amd64-C005vR/jruby-joni-1.1.4/target/classes
> 
> BUILD FAILED
> /build/user-jruby-joni_1.1.4-1-amd64-C005vR/jruby-joni-1.1.4/build.xml:17: Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK.
> It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"
> 
> Total time: 0 seconds
> dh_auto_build: ant returned exit code 1
> make: *** [build] Error 2

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010/08/15/jruby-joni_1.1.4-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-java-maintainers mailing list