Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11595

Re: Packaging libsis-jhdf5-java -- help needed

From Gilles Filippini <pini@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Packaging libsis-jhdf5-java -- help needed
Date 2020-04-30 19:50 +0200
Message-ID <A1ltT-RX-3@gated-at.bofh.it> (permalink)
References (1 earlier) <A0RYS-7QH-17@gated-at.bofh.it> <A0WFc-2nq-1@gated-at.bofh.it> <A0WYx-2tN-3@gated-at.bofh.it> <A0XBg-2ZU-15@gated-at.bofh.it> <A1jLs-8cp-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Pierre Gruet a écrit le 30/04/2020 à 17:40 :
> Hi Gilles,
> 
> Le 29/04/2020 à 17:53, Gilles Filippini a écrit :
>> Andreas Tille a écrit le 29/04/2020 à 17:36 :
>>> Hi Gilles,
>>>
>>> On Wed, Apr 29, 2020 at 05:10:38PM +0200, Gilles Filippini wrote:
>>>>
>>>> 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
>>>> ...
>>>> ===============================================
>>>>     All
>>>>     Tests run: 0, Failures: 0, Skips: 0
>>>> ===============================================
>>>>
>>>>
>>>> ===============================================
>>>> All
>>>> Total tests run: 0, Failures: 0, Skips: 0
>>>> ===============================================
>>>
>>> Thanks a lot for checking - any idea how to force execution of
>>> the tests?
>>
>> No, I don't know how this is supposed to work :/
>>
> 
> Thanks for checking; I had also seen that these tests did not run, this will
> have to be fixed. More important is the fact that I have put and arranged
> the piece of code of dh_auto_test override into a test in
> debian/tests/providedTests; here they run, and while the first ones pass,
> next ones fail and I feel this is because the java code cannot link to the
> native code in the jni package.
> 
> Yet, my problem is that I have not been able to investigate more deeply, as
> the Java part is build using Gradle but the jni part is built outside of
> Gradle, using a single command.
> I thus don't know if the link between the Java and native code is correctly
> done at that stage.
> 
> While I agree, of course, that we will need that the tests in
> override_dh_auto_test run, we are already able to reproduce the problem I am
> describing by running autopkgtest on the built package.

Here is what I obtain running autopkgtest against the binary packages:

autopkgtest [19:41:00]: test providedTests: [-----------------------
xargs: javac: No such file or directory
autopkgtest [19:41:00]: test providedTests: -----------------------]
autopkgtest [19:41:01]: test providedTests:  - - - - - - - - - - results
- - - - - - - - - -
providedTests        FAIL non-zero exit status 127
autopkgtest [19:41:01]: test providedTests:  - - - - - - - - - - stderr
- - - - - - - - - -
xargs: javac: No such file or directory
autopkgtest [19:41:01]: @@@@@@@@@@@@@@@@@@@@ summary
providedTests        FAIL non-zero exit status 127

Is the salsa git repo up to date?

Best,

_g.

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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