[Debian-med-packaging] Bug#893184: artemis FTBFS with openjdk-9

Andreas Tille andreas at an3as.eu
Mon Aug 13 12:23:00 BST 2018


Hi again,

On Wed, Aug 08, 2018 at 10:55:36AM +0200, Andreas Tille wrote:
> > On Sat, Mar 17, 2018 at 10:27:38AM +0200, Adrian Bunk wrote:
> > > Source: artemis
> > > Version: 16.0.17+dfsg-3
> > > Severity: serious
> > 
> > I injected Artemis 17.0.1 into Git which seems to fix this issue.
> 
> I've got some help at DebConf and now Artemis builds fine.  The actual
> issue I posted before was injected since a patch of ours was removing a
> class definition that was actually needed.
>  
> The only remaining issue is now that I did not succeed in restricting
> the test suite to headless only tests.  I would really appreciate if
> someone could have a look into the override_dh_auto_test where I added
> some "|| true" to ignore the test failure.  It would also be extremely
> helpful if someone who uses Artemis could have a look at the resulting
> package and if the executables are doing what they are supposed to do.

I tried hard to get the headless build time test working but I'm
stumbling upon:

...
run-manual-tests-headless:
   [delete] Deleting directory /build/artemis-17.0.1+dfsg/test/coverage-report/jacoco-manual-tests
    [mkdir] Created dir: /build/artemis-17.0.1+dfsg/test/coverage-report/jacoco-manual-tests
     [echo] Running non-Evosuite unit tests with EMBOSS_ROOT=/usr
[jacoco:coverage] Enhancing junit with coverage

BUILD FAILED
/build/artemis-17.0.1+dfsg/test/build-test.xml:297: The <classpath> or <modulepath> for <junit> must include junit.jar if not in Ant's own classpath

Total time: 5 seconds
make[1]: *** [debian/rules:51: override_dh_auto_test] Error 1


I tried hard to add junit4.jar to the classpath but my attempts failed.
It should be done in the latest quilt patch in test/build-test.xml but
I have no idea how to use it properly (I actually think all *.jar in
/usr/share/java are in classpath but it just does not work),

Any help would be welcome

      Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list