[pkg-db-devel] Bug#873976: Bug#873976: FTBFS with Java 9 due to -source/-target only

Ondřej Surý ondrej at sury.org
Thu Sep 7 13:30:53 UTC 2017


Hi Chris,

I would be happy to accept the patch. The email is one big jumbo/mumbo
to me as I have never used java (and I don't intend to).

Cheers,
-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu

On Fri, Sep 1, 2017, at 21:40, Chris West wrote:
> Source: db5.3
> Version: 5.3.28
> Severity: normal
> User: debian-java at lists.debian.org
> Usertags: default-java9
> 
> This package fails to build with default-jdk pointing to openjdk-9-jdk.
> The wiki has some common problems and their solutions:
> https://wiki.debian.org/Java/Java9Pitfalls
> 
> An automated tool has decided that this package will build fine if the
> -source and -target options are changed to 1.6; no additional changes
> are required. This was done by building with a compiler that changed
> the settings automatically, then the real compiler, and diffing the
> results. This modified compiler will never be part of Debian.
> 
> ant and Maven are supposed to do this for you, and I've tried to check
> that this package is not using ant or Maven correctly, but I might have
> messed up.
> 
> Build log sample:
> 
> configure:18523: checking for javac
> configure:18539: found /usr/bin/javac
> configure:18550: result: javac
> configure:18608: checking if javac works
> configure:18622: javac -source 1.5 -target 1.5 Test.java
> warning: [options] bootstrap class path not set in conjunction with
> -source 1.5
> error: Source option 1.5 is no longer supported. Use 1.6 or later.
> error: Target option 1.5 is no longer supported. Use 1.6 or later.
> configure:18625: $? = 2
> configure:18629: error: The Java compiler javac failed (see config.log,
> check the CLASSPATH?)
> 
> 
> Cheers,
> Chris.
> 
> _______________________________________________
> pkg-db-devel mailing list
> pkg-db-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-db-devel



More information about the pkg-db-devel mailing list