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

tony mancill tmancill at debian.org
Fri Sep 12 14:11:54 UTC 2014


On 09/12/2014 02:14 AM, Simon McVittie wrote:
> 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.

Hi Simon,

Thank you for looking into this. We're facing the same issue with jruby
right now and apt.  I'm adding a couple of useful links to the bug
report.  First, the announcement [0], and second, a blog post [1] about
JSR 269, which is the replacement facility.

tony

[0]
http://mail.openjdk.java.net/pipermail/jdk8-dev/2012-February/000765.html
[1] https://blogs.oracle.com/darcy/entry/an_apt_replacement


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140912/878d8f85/attachment.sig>


More information about the pkg-java-maintainers mailing list