Bug#623506: javahelper: doesn't handle debhelper BUILD SYSTEM OPTIONS

Ondřej Surý ondrej at debian.org
Wed Apr 20 19:50:52 UTC 2011

Package: javahelper
Version: 0.33
Severity: normal

my dh call is:

   dh $@ -Ddist -Bbuild --with=javahelper

jh_linkjars fails with:

   jh_linkjars -O-Ddist -O-Bbuild
Invalid option: O
Usage: jh_linkjars [options] [target]
	-h --help: show this text
	-V --version: show the version
	-v --verbose: show more information while running
	-t --transitive: transitively link jars
	-n --no-act: don't actually do anything, just print the results
	-u --unlink: remove the links instead of adding them
make: *** [build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

A simple workaround is to create following rule:


[Error commes from unstable pbuilder and not stable system.]

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 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            8.0.13           collection of more utilities from 
ii  dctrl-tools             2.14.5           Command-line tools to process Debi
ii  debhelper               8.0.0            helper programs for debian/rules
ii  devscripts              2.10.69+squeeze1 scripts to make the life of a Debi
ii  dpkg-dev              Debian package development tools
ii  fastjar                 2:0.98-3         Jar creation utility
ii  libarchive-zip-perl     1.30-3           Perl module for manipulation of ZI

javahelper recommends no packages.

Versions of packages javahelper suggests:
pn  cvs                       <none>         (no description available)
ii  gawk                      1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr
pn  tofrodos                  <none>         (no description available)

-- no debconf information

More information about the pkg-java-maintainers mailing list