----- Mail original ----- > De: "Andreas Tille" <andr...@an3as.eu> > À: "Debian Java List" <debian-java@lists.debian.org> > Envoyé: Vendredi 29 Avril 2016 17:11:44 > Objet: Autopkgtest fails when executable is link to JAR > > Hi, > > I noticed that the autopkgtest for artfastqgenerator fails[1] with > > ... > emoving adt-satdep (0) ... > adt-run [03:53:30]: test run-unit-test: [----------------------- > /usr/bin/artfastqgenerator: 1: /usr/bin/artfastqgenerator: Syntax error: ")" > unexpected > adt-run [03:53:30]: test run-unit-test: -----------------------] > adt-run [03:53:30]: test run-unit-test: - - - - - - - - - - results - - - - > - - - - - - > run-unit-test FAIL non-zero exit status 2 > adt-run [03:53:31]: @@@@@@@@@@@@@@@@@@@@ summary > run-unit-test FAIL non-zero exit status 2 > ... > > > I guess this is the case since the executable is just a symlink to the > JAR file: > > $ readlink /usr/bin/artfastqgenerator > ../share/java/artfastqgenerator.jar > looks strange, trying to execute a jar file directly. Should be something like java -jar .../artfastqgenerator.jar
I do not understand why a jar file (well its symlink) is in /usr/bin. Should be a wrapper shell calling java command. Olivier > > and inside the lxc container that is used by debci this fails. Is there > any default solution to make the autopkgtest functional? > > Kind regards > > Andreas. > > > [1] > https://ci.debian.net/data/packages/unstable/amd64/a/artfastqgenerator/20160429_035231.autopkgtest.log.gz > > -- > http://fam-tille.de > >