Bug#656872: javahelper: jh_build is unable to build jar files

Miguel Landaeta miguel at miguel.cc
Sun Jan 22 15:14:09 UTC 2012

Package: javahelper
Version: 0.39
Severity: important


There is a error somewhere in jh_build with jar files generation.
AIUI, jh_build is looking for an inexistant manifest file in debian folder.

When I try to build simple packages like libjsr166y-java or atinject-jsr330,
I got error messages like this one:

/usr/lib/jvm/default-java/bin/jar cfm /home/miguel/pkg/libjsr166y-java/libjsr166y-java-1.7.0/jsr166y.jar ../_jh_manifest.jsr166y jsr166y
java.io.FileNotFoundException: ../_jh_manifest.jsr166y (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:137)
        at java.io.FileInputStream.<init>(FileInputStream.java:96)
        at sun.tools.jar.Main.run(Main.java:168)
        at sun.tools.jar.Main.main(Main.java:1167)
make[1]: *** [override_jh_build] Error 1
make[1]: Leaving directory `/home/miguel/pkg/libjsr166y-java/libjsr166y-java-1.7.0'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -D -us -uc failed

When I inspect my source packages I found there is no debian/_jh_manifest.$FOO
file but there is one named debian/__jh_manifest.$FOO.

This doesn't happen with javahelper 0.37 currently available in wheezy.
As I said you can verify this trying to build libjsr166y-java, atinject-jsr330
or probably any other simple package relying on jh_build to build.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages javahelper depends on:
ii  bsdmainutils         9.0.1
ii  dctrl-tools          2.20.1
ii  debhelper            9.20120115
ii  devscripts           2.11.3
ii  dpkg-dev   
ii  libarchive-zip-perl  1.30-5

javahelper recommends no packages.

Versions of packages javahelper suggests:
ii  cvs       2:1.12.13+real-6
ii  gawk      1:3.1.8+dfsg-0.1
ii  tofrodos  1.7.9.debian.1-1

-- no debconf information

Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120122/25e3ceb5/attachment-0001.pgp>

More information about the pkg-java-maintainers mailing list