Bug#785779: javahelper: jh_makepkg doesn't accept --clean

Guillaume Turri guillaume.turri at gmail.com
Wed May 20 06:11:09 UTC 2015


Package: javahelper
Version: 0.48
Severity: normal

Dear Maintainer,

Steps to reproduce:
* run `jh_makepkg --help`: it shows that -c and --clean options are accepted.
* run `jh_makepkg --clean`

Expected result: the script runs normally
Actual result: the script reports "Invalid option: clean" and exit with non zero status

It seems it could be fixed by turning the line

    ARGS="p package m maintainer e email v upstream l library a app t ant k makefile n none g gcj o openjdk o7 openjdk7 M maven d default" parseargs "$@"

into

    ARGS="c clean p package m maintainer e email v upstream l library a app t ant k makefile n none g gcj o openjdk o7 openjdk7 M maven d default" parseargs "$@"


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

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages javahelper depends on:
ii  bsdmainutils         9.0.6
ii  dctrl-tools          2.23
ii  debhelper            9.20150101
ii  devscripts           2.15.3
ii  dpkg-dev             1.17.25
ii  libarchive-zip-perl  1.39-1
ii  perl                 5.20.2-3

javahelper recommends no packages.

Versions of packages javahelper suggests:
pn  cvs       <none>
pn  gawk      <none>
pn  tofrodos  <none>

-- no debconf information



More information about the pkg-java-maintainers mailing list