Bug#764630: missing JNI path in jarwrapper
On Tue, Nov 25, 2014 at 12:49 AM, Emmanuel Bourg ebo...@apache.org wrote: Le 21/11/2014 17:12, Mathieu Malaterre a écrit : Maybe this is time to change the Java policy §2.4 Java libraries This means that dicomscope package would install only the `jar` file, and the x86 or x86_64 native lib (*.so) can be installed whether the user want the 32bits or the 64bits version. Comments ? The policy change is certainly a good idea, but it will not solve this specific issue. For example, let say we are on an amd64 system and we install the package libfoo-java that depends on libfoo-jni. libfoo-jni installs its .so in a multiarch path (/usr/lib/x86_64-linux-gnu). We install the 32 bits JRE from Oracle and set it as the default JRE. Then we run foo with jarwrapper. jarwrapper tries to build the library path, and seeing we are on amd64 set it to /usr/lib:/usr/lib/x86_64-linux-gnu. foo fails because we tried loading a 64 bits library from a 32 bits VM. That is the correct behavior. When I want to run an x86 executable (apps are not co-installable) but install the default amd64 (x86_64) it does not work (the amd64 is used instead). So to run an x86 you need to explicitly install libfoo-jni:i386, that is the intended behavior. Actually jarwrapper has to guess the 32/64 bits architecture of the VM and build the library path accordingly (at least for the architectures where Oracle provides a JVM, that's amd64/i386 and maybe the arm variants). So the logic would be: Are we running on amd64/i386? - Yes : Check if the VM is 32 or 64 bits (by parsing the output of java -d32 -version and java -d64 -version) - 32 bits : set the library path to /usr/lib:/usr/lib/i386-linux-gnu - 64 bits : set the library path to /usr/lib:/usr/lib/x86_64-linux-gnu - No : this is a Debian VM and the path is ok by default, do nothing Building a proper library path for an Oracle JRE is maybe outside of debian policy ? and beyond debian-java responsabilities ? Maybe what was not clear is that jexec does have the proper behavior, jarwrapper should only be used only if the first binfmts (=jexec) fails to execute. In summary: 1. Make jexec the default binfmts (before jarwrapper) 2. Update jarwrapper to use the above mentionned `java -d32|64` trick to build the library path. __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#734599: libsnappy-java: Fails with FAILED_TO_LOAD_NATIVE_LIBRARY
snappy-java doesn't build its JNI bindings. SnappyNative.cpp should be compiled as a libsnappyjava.so shared library and installed in a libsnappy-java package. The missing maxCompressedLength method reported by Oliver is actually defined in SnappyNative.cpp. I'll prepare an update with these changes. Any objection to move the Git repository under pkg-java? Emmanuel Bourg __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#734599: libsnappy-java: Fails with FAILED_TO_LOAD_NATIVE_LIBRARY
Le Tue Nov 25 2014 at 3:29:13 PM, Emmanuel Bourg ebo...@apache.org a écrit : snappy-java doesn't build its JNI bindings. SnappyNative.cpp should be compiled as a libsnappyjava.so shared library and installed in a libsnappy-java package. The missing maxCompressedLength method reported by Oliver is actually defined in SnappyNative.cpp. I'll prepare an update with these changes. Any objection to move the Git repository under pkg-java? for me this is fine, this package is not specific to our fields. Emmanuel Bourg __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
easyconf 0.9.5-5 MIGRATED to testing
FYI: The status of the easyconf source package in Debian's testing distribution has changed. Previous version: 0.9.5-4 Current version: 0.9.5-5 -- This email is automatically generated once a day. As the installation of new packages into testing happens multiple times a day you will receive later changes on the next day. See https://release.debian.org/testing-watch/ for more information. __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Processed: tagging 734599
Processing commands for cont...@bugs.debian.org: tags 734599 + pending Bug #734599 [libsnappy-java] libsnappy-java: Fails with FAILED_TO_LOAD_NATIVE_LIBRARY Added tag(s) pending. thanks Stopping processing here. Please contact me if you need assistance. -- 734599: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734599 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Processing of easymock_3.3+ds-1_amd64.changes
easymock_3.3+ds-1_amd64.changes uploaded successfully to ftp-master.debian.org along with the files: easymock_3.3+ds-1.dsc easymock_3.3+ds.orig.tar.xz easymock_3.3+ds-1.debian.tar.xz libeasymock-java_3.3+ds-1_all.deb libeasymock-java-doc_3.3+ds-1_all.deb Greetings, Your Debian queue daemon (running on host coccia.debian.org) __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Processing of easymock_3.3+ds-1_amd64.changes
easymock_3.3+ds-1_amd64.changes uploaded successfully to localhost along with the files: easymock_3.3+ds-1.dsc easymock_3.3+ds.orig.tar.xz easymock_3.3+ds-1.debian.tar.xz libeasymock-java_3.3+ds-1_all.deb libeasymock-java-doc_3.3+ds-1_all.deb Greetings, Your Debian queue daemon (running on host franck.debian.org) __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
easymock_3.3+ds-1_amd64.changes ACCEPTED into experimental
Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Tue, 25 Nov 2014 18:07:40 +0100 Source: easymock Binary: libeasymock-java libeasymock-java-doc Architecture: source all Version: 3.3+ds-1 Distribution: experimental Urgency: medium Maintainer: Debian Java Maintainers pkg-java-maintainers@lists.alioth.debian.org Changed-By: Markus Koschany a...@gambaru.de Description: libeasymock-java - Java library to generate Mock Objects for given interfaces libeasymock-java-doc - Java library to generate Mock Objects for given interfaces (docum Changes: easymock (3.3+ds-1) experimental; urgency=medium . * Imported Upstream version 3.3+ds. * Move easymock to Git. Change Vcs fields accordingly. * Update pom.xml for new release. * Update copyright years. * Do not install Documentation files anymore. They are no longer shipped by upstream. * Exclude EasyMockAnnotationsTest from Junit test case. Checksums-Sha1: a89d6c9d43deb4588240e8a16e7e7023a6ad66ee 2276 easymock_3.3+ds-1.dsc 0da556b4722d46adbfeabc0e5f5275ae81d713bd 77836 easymock_3.3+ds.orig.tar.xz 4efc255493a67ff760ffdd75f4b4e37766715cb3 6976 easymock_3.3+ds-1.debian.tar.xz a023134d670f67ba9113466cac462a08bea85352 88900 libeasymock-java_3.3+ds-1_all.deb 801f3468acd9f733fca47a9510fe2d049a636f52 95700 libeasymock-java-doc_3.3+ds-1_all.deb Checksums-Sha256: ccd7c9dcf5dc27e981e4963fce47db00834f9612ef83302daec3fefd802e 2276 easymock_3.3+ds-1.dsc 80a7d67713164937a33e79bcb6b5c6b716ff591b2cab5c63193d3da790784e86 77836 easymock_3.3+ds.orig.tar.xz 8d3db1325cc4084c792e9e409a85d666dbbc7f0483922a4aff4c8f13c7b1de21 6976 easymock_3.3+ds-1.debian.tar.xz 9556b94d614ef82fc27a79fa519e19c3402084210629e79024072880415ef7a0 88900 libeasymock-java_3.3+ds-1_all.deb e59dc50a3868f302b08187c94b6f97f6e75fc63db9560713d42e4877160eae07 95700 libeasymock-java-doc_3.3+ds-1_all.deb Files: 714376fa5c453f0490ff7f21b5aa8502 2276 java optional easymock_3.3+ds-1.dsc 29cd799973e17236733f15f262bae7b9 77836 java optional easymock_3.3+ds.orig.tar.xz 4bc0d6d9df470c62ffe39e18759760b4 6976 java optional easymock_3.3+ds-1.debian.tar.xz 3c6580a47708680458823690209581e2 88900 java optional libeasymock-java_3.3+ds-1_all.deb 893f9678ae9e851d5ba33e7bfd36297d 95700 doc optional libeasymock-java-doc_3.3+ds-1_all.deb -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQJ8BAEBCgBmBQJUdL/VXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQ0YzRDA4OEVGMzJFREVGNkExQTgzNUZE OUFEMTRCOTUxM0I1MUU0AAoJENmtFLlRO1Hk4ywP/ihcm2Dk54b8ybO7elXDBUXp 6XYeP1MU6EJj9B8PIBseuGvJwvDWbhRxc+8gMjIa0JQaywwBfPNyPKuwoG5RD7l6 CelJlC8E1dHTUYyoEgGokMBrU/Q3tIurhU2Rcmtbi+otlgu29493tibi5sr6xjFx ZEVCFqcuK94WbRN3yjyWvs733TWkweUHuyvwr51a1ZrC9h2Tc9l9V7+fdwgpImE3 3fZ8mSCRmI08bsvc806lTYvBTle5oQJDXoTCkKDr74wxI5b7MZaZIL0XcYc9e67R shg6kGaUVDGDbbX1YXxfI9/lCaS0t8BYUiqg1Q5M8b/TiYqvAp6DPA43StZmr0fN 4NF7mCsEpjXM2crqziYzvLauxbYePThYq2TTWb25lGbW/uU3A9UNUcCXYGYM3QcH xYgbSM81W0V04Bqpo08JQXi4/xf9ykESPaap2M56p6kegLO5fva5dRSWv5R+lKGb wEOwAnHvrdWuA0L9TLEmjbCHrQ/GvZOV8eO+6nXr48bg/5jRepGs8CPaKuP9nJb+ QOgn9aYkbNyquinArVVWLLVJpt87BSJTnv+aSiKu7nV2O2MG+g5hmWCad4ZVepXg GTn72ET97yVAAwBuYjnnx0dho3JYWCxvx+dfFhiZuhZMGDP7AUJTW0E/B5b+KUu4 oTiVxpwYETbKXrCsCLJO =WOkb -END PGP SIGNATURE- Thank you for your contribution to Debian. __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.