Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #11589
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Gilles Filippini <pini@debian.org> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Packaging libsis-jhdf5-java -- help needed |
| Date | Wed, 29 Apr 2020 17:20:02 +0200 |
| Message-ID | <A0WFc-2nq-1@gated-at.bofh.it> (permalink) |
| References | <A0RYS-7QH-19@gated-at.bofh.it> <A0RYS-7QH-17@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Wed Apr 29 15:10:54 2020 |
| Old-Return-Path | <pini@debian.org> |
| X-Amavis-Spam-Status | No, score=-5.58 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, MEDS2=2, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .debian. - helo: .relay6-d.mail.gandi. - helo-domain: .gandi.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -3.5 |
| X-Originating-IP | 82.64.204.161 |
| Autocrypt | addr=pini@debian.org; prefer-encrypt=mutual; keydata= mQENBEodEFABCACzPp/Veq9REEcswZBugoAAFi/1MFHPTHV9iZmnz6YOmjPwupYogaAKntpq ArCM72LOf+1XSbWVf300nzvus+bmGLXECUuCtjZmIuWraMZMaqSZE5ydpFjf2BQ5rPDSSIWg LQpn6Or4OOcoa4QNPnLr2yzx2yIAd/be2ke9Xwq9f+5moRb/JGM6IDtXvJnmelglNLtWW+T+ aLMk4VU0TSVmqdf4e90SyGjCkTKltLOP4vv/J9Uh/0uIwx6Kb9RQqmJh+uDGpEQFeDfHsZEq K6yL0Jhfby2OdS9m/s6O+849YVY1wGLQscgLu+ynlBZDykX6kFdPmScY/49tpf/Rl1ENABEB AAG0IkdpbGxlcyBGaWxpcHBpbmkgPHBpbmlAZGViaWFuLm9yZz6JAVQEEwEIAD4CGw8FCwkI BwMFFQoJCAsFFgIDAQACHgECF4AWIQSgk5vMCsMTTla0jJHv6Gxsf/7PgwUCWxWJSwUJFLrf 8gAKCRDv6Gxsf/7Pg6cyB/kBDsiQm+A8xugLOCDADz/qibcAxAMfHz2pseMg6k0hGii7+7g0 oYb+suWBVT5FRIWR7aiKNLFB2zpA7qXelEdwJn9h25amO0fwdSSu0ZgBaSL+imp08eo+QVDV ZKdgNdT0NuX1t7s/EAEyz/J6RRYumU2vRQmanqqjL2wZaA4wyBP0cEBsvaxcvtUqKiQfh7FA 08IGDHyNBmtqvKlkfCBMMjjWRxukHSQTmuzWtF8tv/zyxRfMDcN5nwSmwhnDKSoel21CN9k0 DkqNLVUxR9sBRUZtt/5ztnDfS2MFUFU4HPSvtjQWd6AUsdlBbMe0jPv9b44naUnPEHct6BF1 9RUN |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Language | fr |
| Content-Transfer-Encoding | 8bit |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/22157 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/b2d920c4-4a62-7e60-6dce-fb1135ed6ed6@debian.org |
| Approved | robomod@news.nic.it |
| Lines | 98 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | Debian Med Project List <debian-med@lists.debian.org>, Debian Java List <debian-java@lists.debian.org> |
| X-Original-Date | Wed, 29 Apr 2020 17:10:38 +0200 |
| X-Original-Message-ID | <b2d920c4-4a62-7e60-6dce-fb1135ed6ed6@debian.org> |
| X-Original-References | <68857e65-b679-924f-08c7-e79ffe91d79e@free.fr> <20200429095922.GO1150@an3as.eu> |
| Xref | csiph.com linux.debian.maint.java:11589 |
Show key headers only | View raw
Hi,
Andreas Tille a écrit le 29/04/2020 à 11:59 :
> Hi Pierre,
>
> On Tue, Apr 28, 2020 at 10:40:31PM +0200, Pierre Gruet wrote:
>> Hi everyone,
>>
>> I have been trying to package libsis-jhdf5-java, after Andreas imported the
>> last upstream version.
>> This package builds a java package with a .jar file and a jni package with
>> native code used by the .jar.
>>
>> I have been able to:
>> - refresh patches;
>> - get rid of the private header H5private.h of source package hdf5, which is
>> not shipped by any package. Only a few simple preprocessor directives of
>> that file were used;
>> - update the list of build-depends;
>> - have the package build, including the override of dh_auto_test that caused
>> issues previously.
>
> Thanks a lot. That's all very helpful!
>
>> Yet:
>> - it seems that only a few upstream-provided tests are run in dh_auto_test,
>> so having the build complete is maybe not so meaningful :-( ;
>> - I have begun designing tests for the autopkgtest testsuite, using
>> upstream-provided tests, and while around 30 of them pass, there remains a
>> lot of failing tests. It seems that the linking of the jni with the jar is
>> not correctly done at build-time.
>>
>> At that point I would need help, as this package is complicated: the build
>> processes of the jar and the jni are somehow entangled and I do not have
>> enough knowledge of Java packaging to be able to solve the issues I'm facing.
>>
>> Maybe there does not remain so much to be done; if someone has Java
>> knowledge and could look to the current packaging I have put into Salsa [1],
>> this would be really great.
>
> I've put debian-java@l.d.o in CC since the competence in debian-med for
> Java is not that widely spread.
I've cloned the git repo and attempted a build. But the dh_auto_test
part doesn't execute any test actually:
debian/rules override_dh_auto_test
make[1]: Entering directory
'/build/libsis-jhdf5-java-F7hNyP/libsis-jhdf5-java-19.04.0+dfsg'
# Run the tests that come with the upstream source.
# The contortions with the CLASSPATH are to try and confirm that the
MANIFEST is
# supplying the correct deps automatically - ie. we should not be
feeding any
# extra JARs in order to make the tests pass.
# The version of testng on trusty does requires us to specifically add
jcommander.jar to the
# CLASSPATH when invoking TestNG. This seems to be a bug in the testng
package.
# Finally, the tests need to be run in the Zurich timezone.
export CLASSPATH="sourceTest/java:`readlink -f
targets/gradle/libs/sis-jhdf5-1.jar`:$TESTCLASSPATH" \
JNIPATH="`readlink -f source/c`:/usr/lib/jni" \
TZ=Europe/Zurich LC_ALL=C ; \
find sourceTest/java -name '*.java' | env
CLASSPATH="$CLASSPATH:/usr/share/java/commons-lang3.jar:/usr/share/java/commons-io.jar:/usr/share/java/sis-base.jar:/usr/share/java/jarhdf5.jar"
xargs javac && \
java -Xmx2048M -Djava.library.path="$JNIPATH" org.testng.TestNG
-verbose 2 sourceTest/java/tests.xml
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
[TestNGContentHandler] [WARN] It is strongly recommended to add
"<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >" at the top
of your file, otherwise TestNG may fail or not work as expected.
[TestNG] Running:
/build/libsis-jhdf5-java-F7hNyP/libsis-jhdf5-java-19.04.0+dfsg/sourceTest/java/tests.xml
[Utils] Attempting to create
/build/libsis-jhdf5-java-F7hNyP/libsis-jhdf5-java-19.04.0+dfsg/test-output/All/All.xml
[Utils] Directory
/build/libsis-jhdf5-java-F7hNyP/libsis-jhdf5-java-19.04.0+dfsg/test-output/All
exists: true
===============================================
All
Tests run: 0, Failures: 0, Skips: 0
===============================================
===============================================
All
Total tests run: 0, Failures: 0, Skips: 0
===============================================
Best,
_g.
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Re: Packaging libsis-jhdf5-java -- help needed Andreas Tille <andreas@fam-tille.de> - 2020-04-29 12:20 +0200
Re: Packaging libsis-jhdf5-java -- help needed Gilles Filippini <pini@debian.org> - 2020-04-29 17:20 +0200
Re: Packaging libsis-jhdf5-java -- help needed Andreas Tille <tille@debian.org> - 2020-04-29 17:40 +0200
Re: Packaging libsis-jhdf5-java -- help needed Gilles Filippini <pini@debian.org> - 2020-04-29 18:20 +0200
Re: Packaging libsis-jhdf5-java -- help needed Pierre Gruet <pgtdebian@free.fr> - 2020-04-30 18:00 +0200
Re: Packaging libsis-jhdf5-java -- help needed Gilles Filippini <pini@debian.org> - 2020-04-30 19:50 +0200
Re: Packaging libsis-jhdf5-java -- help needed Gilles Filippini <pini@debian.org> - 2020-04-30 23:20 +0200
Re: Packaging libsis-jhdf5-java -- help needed Pierre Gruet <pgtdebian@free.fr> - 2020-05-01 00:10 +0200
Re: Packaging libsis-jhdf5-java -- help needed Gilles Filippini <pini@debian.org> - 2020-05-01 01:30 +0200
Re: Packaging libsis-jhdf5-java -- help needed Pierre Gruet <pgtdebian@free.fr> - 2020-05-01 08:10 +0200
Re: Packaging libsis-jhdf5-java -- help needed Andreas Tille <andreas@an3as.eu> - 2020-05-07 07:10 +0200
csiph-web