Bug#906785: version warping patch is overly aggressive

Markus Koschany apo at debian.org
Tue Aug 21 19:24:26 BST 2018


Am 21.08.2018 um 19:47 schrieb Keith Packard:
[...]
> We only discovered that ant was the source of trouble by comparing the
> output of a project built using that and another project build using a
> simple Makefile.
> 
> If you're going to stop supporting older API versions, I'd suggest that
> the tool should exit with an error status rather than silently
> corrupting the build process. We spent a couple of days tracking down
> this issue, which would have been obvious had the package build simply
> failed when it used -target 1.4.

But wasn't that the issue we wanted to solve in the first place? We
still have packages in Debian that use -target 1.5 or less but we don't
want that they fail to build from source now when someone is rebuilding
them. The patch [1] also prints a warning that older API versions are
not supported anymore and thus the build system switches to the oldest
supported version now.

As I wrote we had assumed OpenJDK 11 would drop support for -target 1.6.
Maybe we can improve the warning but we surely don't want more build
failures aka RC bugs.

Markus

[1]
https://sources.debian.org/src/ant/1.10.5-1/debian/patches/0013-auto-adjust-target.patch/

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


More information about the pkg-java-maintainers mailing list