Bug#632619: please add -s option as dh_

Rene Engelhard rene at debian.org
Mon Jul 4 06:58:53 UTC 2011


Package: javahelper
Version: 0.36.1
Severity: wishlist

Hi.

jh_depends --help:

Usage: jh_depends [options]
Options:
        -h --help: show this text
        -V --version: print the version
        -p<package> --package=<package>: package to act on (default=all)
        -P<packagedir> --tmpdir=<package>: package directory (default=$CWD/debian/package)
        -v --verbose: show more information while running
        -i --indep: work on all indep packages
        -a --arch: work on all arch-specific packages
        -n --no-act: don't actually do anything, just print the results
        -j[<jvm>] --jvm[=<jvm>]: Options are: default, headless, gcj, open, sun, sun6. Can be a space-separated list.
        -X<package> --exclude=<package>: don't add this package to depends

Note: "headless" (for --jvm) affects other values and alternatives (e.g. java6-runtime becomes
 java6-runtime-headless) and "default" cannot be used with any other value except "headless"
 If "headless" is the only value given then it is assumed to be "headless default"

I think we miss -s as in the debhelper sense here, for packages which are arch-dep
and appear in control but are not built on the current arch and this is properl
reflected in control...

e.g.:

Package: libreoffice-math
Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ttf-opensymbol (>= 2:2.4.3~)
Description: office productivity suite -- equation editor
 LibreOffice is a full-featured office productivity suite that provides
 a near drop-in replacement for Microsoft(R) Office.
 .
 This package contains the equation editor component for LibreOffice.

Package: libreoffice-base-core
Architecture: alpha amd64 armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Suggests: libreoffice-base
Description: office productivity suite -- shared library
 LibreOffice is a full-featured office productivity suite that provides
 a near drop-in replacement for Microsoft(R) Office.
 .
 This package contains libdba, a common library of the LibreOffice
 suite used by Base, Writer and Calc.
 .
 If you need full Base functionality (or actual database drivers), please
 install libreoffice-base.

Using -s would have prevented https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=armel&ver=1%3A3.3.3-4&stamp=1309760289:

jh_depends -a -Xlibreoffice-gcj -Xure
find: `/build/buildd-libreoffice_3.3.3-4-armel-Mz0jMT/libreoffice-3.3.3/debian/libreoffice-base-core/usr/share/doc': No such file or directory

Regards,

Rene

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

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

Versions of packages javahelper depends on:
ii  bsdmainutils                  8.2.3      collection of more utilities from 
ii  dctrl-tools                   2.18       Command-line tools to process Debi
ii  debhelper                     8.9.0      helper programs for debian/rules
ii  devscripts                    2.11.0     scripts to make the life of a Debi
ii  dpkg-dev                      1.16.0.3   Debian package development tools
ii  libarchive-zip-perl           1.30-4     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
Grüße/Regards,

Rene





More information about the pkg-java-maintainers mailing list