Bug#761269: FTBFS: requires 'apt' annotation processing tool from JDK <= 6

Simon McVittie smcv at debian.org
Fri Sep 12 09:14:45 UTC 2014


Source: lwjgl
Version: 2.7.1+dfsg-3
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Forwarded: https://github.com/LWJGL/lwjgl/issues/6

While attempting to fix lwjgl's other FTBFS by removing the Build-Conflicts
with binutils-gold, I got this error, and many similar errors for other
targets:

generate-opengl:
    [apply] E: Command line option 'n' [from -nocompile] is not known.
    [apply] Result: 100

This turns out to be because the build process is trying to run the 'apt'
annotation processing tool from $JAVA_HOME/bin, and getting the 'apt'
advanced package tool from /usr/bin instead.

openjdk-6-jdk ships /usr/lib/jvm/java-6-openjdk-amd64/bin/apt which is the
desired tool, but that version is not in jessie (#675495).

openjdk-7-jdk does not have a corresponding utility: that feature
has been removed upstream.

-- System Information:
Debian Release: jessie/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the pkg-java-maintainers mailing list