Bug#844021: libnative-platform-java 0.11-4 is not compatible with programs built with 0.10*
Vincent Danjean
vdanjean at debian.org
Mon Nov 21 12:32:15 UTC 2016
Package: libnative-platform-java
Followup-For: Bug #844021
Hi,
As already explained, as libnative-platform-java changed its ABI, the new
version does not work with (all) programs wrote for the previous version.
In Debian, gradle is the only one reverse dependency of
libnative-platform-java (i.e. it is the only package that directly uses
libnative-platform-java).
gradle 2.13 do not work with libnative-platform-java 0.11 (at least, not all
features of gradle can be used when libnative-platform-java 0.11 is intalled)
But gradle 3.1 (currently in unstable) works with (and even requires)
libnative-platform-java 0.11.
So, to close this bug, I propose this small patch:
diff --git a/debian/control b/debian/control
index 27cb23f..3b95fdd 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,7 @@ Package: libnative-platform-java
Architecture: all
Depends: libnative-platform-jni (>= ${source:Version}), ${misc:Depends}
Suggests: libnative-platform-java-doc
+Breaks: gradle (<< 3.1), libgradle-core-java (<< 3.1)
Description: Java bindings for various native APIs
A collection of cross-platform Java APIs for various native APIs.
Supports OS X, Linux, Solaris and Windows.
Applying it will ensure that, (when gradle and libnative-platform-java will
be migrated to testing) if a user does a partial upgrade from stable to
testing, it will not keep a (old) gradle with a (incompatible) new
libnative-platform-java package.
Regards,
Vincent
-- System Information:
Debian Release: stretch/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (200, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel
Kernel: Linux 4.8.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libnative-platform-java depends on:
ii libnative-platform-jni 0.10+dfsg-2
libnative-platform-java recommends no packages.
libnative-platform-java suggests no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list