Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.maint.java Subject: Re: Packaging libsis-jhdf5-java -- help needed Date: Wed, 29 Apr 2020 12:20:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Wed Apr 29 10:15:09 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=0.02 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, MEDS2=2, MURPHY_DRUGS_REL8=0.02] autolearn=no autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .fam-tille. - helo: .mail.an3as. - helo-domain: .an3as.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -3.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Mailing-List: archive/latest/22156 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20200429095922.GO1150@an3as.eu Approved: robomod@news.nic.it Lines: 50 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Debian Med Project List , Debian Java List X-Original-Date: Wed, 29 Apr 2020 11:59:22 +0200 X-Original-Message-ID: <20200429095922.GO1150@an3as.eu> X-Original-References: <68857e65-b679-924f-08c7-e79ffe91d79e@free.fr> Xref: csiph.com linux.debian.maint.java:11588 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. > Thank you and have a good week, Thanks again for your great help Andreas. > [1] https://salsa.debian.org/med-team/libsis-jhdf5-java -- http://fam-tille.de