[debhelper-devel] Bug#863387: dh produces incomplete binary packages

Michael Biebl biebl at debian.org
Fri May 26 03:45:50 UTC 2017


Package: debhelper
Version: 10.3
Severity: grave

Hi,

I just noticed that debhelper from experimental produces incomplete
binary packages.
I've attached log building init-system-helpers with 10.2.5 and 10.3

As you can see from the 10.3 log, a lot of helpers are not run, like
dh_installdirs, dh_bugfiles, dh_lintian, etc.

The result is an incomplete binary package (thus the RC severity).

Regards,
Michael


-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
ii  autotools-dev            20161112.1
ii  binutils                 2.28-5
ii  dh-autoreconf            14
ii  dh-strip-nondeterminism  0.034-1
ii  dpkg                     1.18.24
ii  dpkg-dev                 1.18.24
ii  file                     1:5.30-1
ii  libdpkg-perl             1.18.24
ii  man-db                   2.7.6.1-2
ii  perl                     5.24.1-2
ii  po-debconf               1.0.20

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201608

-- no debconf information
-------------- next part --------------
Reading package lists...
dpkg-buildpackage: info: source package init-system-helpers
dpkg-buildpackage: info: source version 1.48
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Bernd Zeimetz <bzed at debian.org>
 dpkg-source --before-build init-system-helpers-1.48
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 debian/rules build
dh build
   dh_testdir
   dh_update_autotools_config
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/init-system-helpers-1.48'
dh_auto_build
for file in $(ls script/deb-* script/dh_*); do \
	pod2man --section=1p --utf8 $file $file.1p; \
done
ls: cannot access 'script/dh_*': No such file or directory
make[1]: Leaving directory '/init-system-helpers-1.48'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
 debian/rules binary
dh binary
   create-stamp debian/debhelper-build-stamp
   dh_testroot
   dh_prep
   dh_auto_install
   debian/rules override_dh_install
make[1]: Entering directory '/init-system-helpers-1.48'
dh_install
[ ! -d debian/init-system-helpers ] || sed -i 's/__VERSION__/1.48/' debian/init-system-helpers/usr/sbin/service
make[1]: Leaving directory '/init-system-helpers-1.48'
   dh_installdocs
   dh_installchangelogs
   debian/rules override_dh_perl
make[1]: Entering directory '/init-system-helpers-1.48'
dh_perl -d --package=init-system-helpers
dh_perl --no-package=init-system-helpers
make[1]: Leaving directory '/init-system-helpers-1.48'
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   debian/rules override_dh_gencontrol
make[1]: Entering directory '/init-system-helpers-1.48'
if dpkg-vendor --derives-from ubuntu; then \
	dh_gencontrol -- -Valt:sysvinit=""; \
else \
	dh_gencontrol -- -Valt:sysvinit="| sysvinit-core"; \
fi
dpkg-gencontrol: warning: Depends field of package init-system-helpers: unknown substitution variable ${perl:Depends}
make[1]: Leaving directory '/init-system-helpers-1.48'
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'init' in '../init_1.48_amd64.deb'.
dpkg-deb: building package 'init-system-helpers' in '../init-system-helpers_1.48_all.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../init-system-helpers_1.48_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build init-system-helpers-1.48
dpkg-buildpackage: info: binary-only upload (no source included)
NOTICE: 'init-system-helpers' packaging is maintained in the 'Git' version control system at:
https://anonscm.debian.org/git/collab-maint/init-system-helpers.git
Please use:
git clone https://anonscm.debian.org/git/collab-maint/init-system-helpers.git
to retrieve the latest (possibly unreleased) updates to the package.
Skipping already downloaded file 'init-system-helpers_1.48.dsc'
Skipping already downloaded file 'init-system-helpers_1.48.tar.xz'
Need to get 0 B of source archives.

drwxr-xr-x root/root         0 2017-05-02 10:20 ./
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/bin/
-rwxr-xr-x root/root     20142 2017-05-02 10:20 ./usr/bin/deb-systemd-helper
-rwxr-xr-x root/root      4507 2017-05-02 10:20 ./usr/bin/deb-systemd-invoke
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/sbin/
-rwxr-xr-x root/root     18110 2017-05-02 10:20 ./usr/sbin/invoke-rc.d
-rwxr-xr-x root/root     10061 2017-05-02 10:20 ./usr/sbin/service
-rwxr-xr-x root/root     16062 2017-05-02 10:20 ./usr/sbin/update-rc.d
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/doc/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/doc/init-system-helpers/
-rw-r--r-- root/root      2365 2017-05-02 10:20 ./usr/share/doc/init-system-helpers/README.invoke-rc.d.gz
-rw-r--r-- root/root      1835 2017-05-02 10:20 ./usr/share/doc/init-system-helpers/README.policy-rc.d.gz
-rw-r--r-- root/root      9445 2017-05-02 10:20 ./usr/share/doc/init-system-helpers/changelog.gz
-rw-r--r-- root/root      3014 2017-05-02 10:20 ./usr/share/doc/init-system-helpers/copyright
-------------- next part --------------
Reading package lists...
dpkg-buildpackage: info: source package init-system-helpers
dpkg-buildpackage: info: source version 1.48
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Bernd Zeimetz <bzed at debian.org>
 dpkg-source --before-build init-system-helpers-1.48
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 debian/rules build
dh build
   dh_testdir
   dh_update_autotools_config
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/init-system-helpers-1.48'
dh_auto_build
for file in $(ls script/deb-* script/dh_*); do \
	pod2man --section=1p --utf8 $file $file.1p; \
done
ls: cannot access 'script/dh_*': No such file or directory
make[1]: Leaving directory '/init-system-helpers-1.48'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
 debian/rules binary
dh binary
   create-stamp debian/debhelper-build-stamp
   dh_testroot
   dh_prep
   dh_installdirs
   dh_auto_install
   debian/rules override_dh_install
make[1]: Entering directory '/init-system-helpers-1.48'
dh_install
[ ! -d debian/init-system-helpers ] || sed -i 's/__VERSION__/1.48/' debian/init-system-helpers/usr/sbin/service
make[1]: Leaving directory '/init-system-helpers-1.48'
   dh_installdocs
   dh_installchangelogs
   dh_installman
   dh_bugfiles
   dh_lintian
   debian/rules override_dh_perl
make[1]: Entering directory '/init-system-helpers-1.48'
dh_perl -d --package=init-system-helpers
dh_perl --no-package=init-system-helpers
make[1]: Leaving directory '/init-system-helpers-1.48'
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   debian/rules override_dh_gencontrol
make[1]: Entering directory '/init-system-helpers-1.48'
if dpkg-vendor --derives-from ubuntu; then \
	dh_gencontrol -- -Valt:sysvinit=""; \
else \
	dh_gencontrol -- -Valt:sysvinit="| sysvinit-core"; \
fi
dpkg-gencontrol: warning: Depends field of package init-system-helpers: unknown substitution variable ${perl:Depends}
make[1]: Leaving directory '/init-system-helpers-1.48'
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'init' in '../init_1.48_amd64.deb'.
dpkg-deb: building package 'init-system-helpers' in '../init-system-helpers_1.48_all.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../init-system-helpers_1.48_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build init-system-helpers-1.48
dpkg-buildpackage: info: binary-only upload (no source included)
NOTICE: 'init-system-helpers' packaging is maintained in the 'Git' version control system at:
https://anonscm.debian.org/git/collab-maint/init-system-helpers.git
Please use:
git clone https://anonscm.debian.org/git/collab-maint/init-system-helpers.git
to retrieve the latest (possibly unreleased) updates to the package.
Skipping already downloaded file 'init-system-helpers_1.48.dsc'
Skipping already downloaded file 'init-system-helpers_1.48.tar.xz'
Need to get 0 B of source archives.

drwxr-xr-x root/root         0 2017-05-02 10:20 ./
drwxr-xr-x root/root         0 2017-05-02 10:20 ./etc/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./etc/rc0.d/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./etc/rc1.d/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./etc/rc2.d/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./etc/rc3.d/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./etc/rc4.d/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./etc/rc5.d/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./etc/rc6.d/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./etc/rcS.d/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./etc/systemd/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./etc/systemd/system/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/bin/
-rwxr-xr-x root/root     20142 2017-05-02 10:20 ./usr/bin/deb-systemd-helper
-rwxr-xr-x root/root      4507 2017-05-02 10:20 ./usr/bin/deb-systemd-invoke
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/sbin/
-rwxr-xr-x root/root     18110 2017-05-02 10:20 ./usr/sbin/invoke-rc.d
-rwxr-xr-x root/root     10061 2017-05-02 10:20 ./usr/sbin/service
-rwxr-xr-x root/root     16062 2017-05-02 10:20 ./usr/sbin/update-rc.d
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/bug/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/bug/init-system-helpers/
-rw-r--r-- root/root        24 2017-05-02 10:20 ./usr/share/bug/init-system-helpers/control
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/doc/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/doc/init-system-helpers/
-rw-r--r-- root/root      2365 2017-05-02 10:20 ./usr/share/doc/init-system-helpers/README.invoke-rc.d.gz
-rw-r--r-- root/root      1835 2017-05-02 10:20 ./usr/share/doc/init-system-helpers/README.policy-rc.d.gz
-rw-r--r-- root/root      9445 2017-05-02 10:20 ./usr/share/doc/init-system-helpers/changelog.gz
-rw-r--r-- root/root      3014 2017-05-02 10:20 ./usr/share/doc/init-system-helpers/copyright
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/lintian/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       222 2017-05-02 10:20 ./usr/share/lintian/overrides/init-system-helpers
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/man/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/man/man1/
-rw-r--r-- root/root      1974 2017-05-02 10:20 ./usr/share/man/man1/deb-systemd-helper.1p.gz
-rw-r--r-- root/root      1392 2017-05-02 10:20 ./usr/share/man/man1/deb-systemd-invoke.1p.gz
drwxr-xr-x root/root         0 2017-05-02 10:20 ./usr/share/man/man8/
-rw-r--r-- root/root      2465 2017-05-02 10:20 ./usr/share/man/man8/invoke-rc.d.8.gz
-rw-r--r-- root/root      1654 2017-05-02 10:20 ./usr/share/man/man8/service.8.gz
-rw-r--r-- root/root      2263 2017-05-02 10:20 ./usr/share/man/man8/update-rc.d.8.gz
drwxr-xr-x root/root         0 2017-05-02 10:20 ./var/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./var/lib/
drwxr-xr-x root/root         0 2017-05-02 10:20 ./var/lib/systemd/


More information about the debhelper-devel mailing list