Bug#719399: clojure1.2: FTBFS: Unable to find a javac compiler

David Suárez david.sephirot at gmail.com
Sun Aug 11 10:53:52 UTC 2013


Source: clojure1.2
Version: 1.2.1+dfsg-4
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130811 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory `/«BUILDDIR»/clojure1.2-1.2.1+dfsg'
> make[1]: Nothing to be done for `update-config'.
> make[1]: Leaving directory `/«BUILDDIR»/clojure1.2-1.2.1+dfsg'
> cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/asm3.jar:/usr/share/java/asm3-commons.jar:  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true     
> Buildfile: /«BUILDDIR»/clojure1.2-1.2.1+dfsg/build.xml
> 
> clean:
> 
> init:
>     [mkdir] Created dir: /«BUILDDIR»/clojure1.2-1.2.1+dfsg/classes
> 
> init-version:
>      [copy] Copying 1 file to /«BUILDDIR»/clojure1.2-1.2.1+dfsg
> 
> compile-java:
>     [javac] /«BUILDDIR»/clojure1.2-1.2.1+dfsg/build.xml:91: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> 
> BUILD FAILED
> /«BUILDDIR»/clojure1.2-1.2.1+dfsg/build.xml:91: 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-7-openjdk-amd64/jre"
> 
> Total time: 1 second
> make: *** [debian/stamp-ant-build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/08/11/clojure1.2_1.2.1+dfsg-4_unstable.log

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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list