Suspect bug in javahelper (Was: Problems building latest version of htsjdk)
- To: debian-java@lists.debian.org
- Cc: Debian Med Project List <debian-med@lists.debian.org>
- Subject: Suspect bug in javahelper (Was: Problems building latest version of htsjdk)
- From: Andreas Tille <andreas@an3as.eu>
- Date: Tue, 18 Sep 2018 15:52:22 +0200
- Message-id: <[🔎] 20180918135222.bibkayywr5hgaxt3@an3as.eu>
- In-reply-to: <20180918131607.3rpkuco25uyyxeo7@an3as.eu>
- References: <13b7e54d-3437-e2d0-f5df-94da47d50074@irisa.fr> <20180917153604.bk7lp4ppis52qdg3@an3as.eu> <757791a6-6998-59d0-c4e5-159c54234e87@irisa.fr> <b9db04d1-8699-561f-cb62-3fe6c1205cce@irisa.fr> <adbaf8df-02cc-a55c-a33a-d5159d268ea1@irisa.fr> <20180918094147.ylqupl6yfwlk64hs@an3as.eu> <101fa690-5f4b-6e65-5fe5-188e3e88ede0@irisa.fr> <20180918121835.gazowb6adnjp7sxj@an3as.eu> <c554f38f-bb37-debd-1fdd-33a5bd2c8fc9@irisa.fr> <20180918131607.3rpkuco25uyyxeo7@an3as.eu>
Hi Olivier,
On Tue, Sep 18, 2018 at 03:16:07PM +0200, Andreas Tille wrote:
>
> I now know where to look for other ftp/http access attempts (there are way
> more.)
I've now worked down all remote access tests in htsjdk and thought I would
be through all hassle but now I'm facing the following:
debian/rules override_jh_installlibs
make[1]: Entering directory '/build/htsjdk-2.16.1+dfsg'
jh_installlibs --version-strip='[+]dfsg[.0-9]*'
jh_installlibs: copy(build/libs/htsjdk-*.jar, debian/libhtsjdk-java/usr/share/java/htsjdk-*-2.16.1.jar): No such file or directory
install -d debian/libhtsjdk-java/usr/share/java
install -p -m0644 build/libs/htsjdk-\*.jar debian/libhtsjdk-java/usr/share/java/htsjdk-\*-2.16.1.jar
make[1]: *** [debian/rules:22: override_jh_installlibs] Error 2
The overide in d/rules is:
override_jh_installlibs:
jh_installlibs --version-strip='[+]dfsg[.0-9]*'
and
$ cat debian/*jlibs
build/libs/htsjdk-*.jar
Inside the pbuilder chroot it looks like this:
/build/htsjdk-2.16.1+dfsg# ls build/libs/htsjdk-*.jar
build/libs/htsjdk-2.16.1.jar
/build/htsjdk-2.16.1+dfsg# ls debian/libhtsjdk-java/usr/share/java/
/build/htsjdk-2.16.1+dfsg# cp -a build/libs/htsjdk-\*.jar debian/libhtsjdk-java/usr/share/java/htsjdk-\*-2.16.1.jar
cp: cannot stat 'build/libs/htsjdk-*.jar': No such file or directory
I tried to get rid of the override in d/rules but the result is the same:
jh_installlibs -O--buildsystem=gradle
jh_installlibs: copy(build/libs/htsjdk-*.jar, debian/libhtsjdk-java/usr/share/java/htsjdk-*-2.16.1+dfsg.jar): No such file or directory
install -d debian/libhtsjdk-java/usr/share/java
install -p -m0644 build/libs/htsjdk-\*.jar debian/libhtsjdk-java/usr/share/java/htsjdk-\*-2.16.1\+dfsg.jar
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
I could work around this by simply overriding jh_installlibs by a copy
statement but I'd love to avoid this kind of hacks.
Any idea what might be wrong here?
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: