[Pkg-nagios-devel] Bug#972524: monitoring-plugins: FTBFS on buster (dh_compress)

Jakob Bohm jb-debbugs at wisemo.com
Mon Oct 19 22:18:27 BST 2020


Source: monitoring-plugins
Version: 2.2-6
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Dear Maintainer,

When trying to locally rebuild monitoring-plugins on a Buster system with the
build-depends installed, the build actually fails during dh_compress.

This was tried with both the version 22-6 packaged source and the suggested
git package source.

Steps to reproduce:

# LC_ALL=C aptitude build-depends monitoring-plugins
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
$ apt-get source monitoring-plugins
Reading package lists... Done
NOTICE: 'monitoring-plugins' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/nagios-team/pkg-monitoring-plugins.git
Please use:
git clone https://salsa.debian.org/nagios-team/pkg-monitoring-plugins.git
to retrieve the latest (possibly unreleased) updates to the package.
Skipping already downloaded file 'monitoring-plugins_2.2-6.dsc'
Skipping already downloaded file 'monitoring-plugins_2.2.orig.tar.gz'
Skipping already downloaded file 'monitoring-plugins_2.2-6.debian.tar.xz'
Need to get 0 B of source archives.
dpkg-source: info: extracting monitoring-plugins in monitoring-plugins-2.2
dpkg-source: info: unpacking monitoring-plugins_2.2.orig.tar.gz
dpkg-source: info: unpacking monitoring-plugins_2.2-6.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 02_check_icmp_links
dpkg-source: info: applying 10_spell_fixes
dpkg-source: warning: diff 'monitoring-plugins-2.2/debian/patches/10_spell_fixes' patches file monitoring-plugins-2.2/plugins-root/check_icmp.c more than once
dpkg-source: info: applying 11_check_dhcp_MSG_PEAK
dpkg-source: info: applying 12_check_apt_only_crit
dpkg-source: info: applying 13_check_apt_list_packages
dpkg-source: info: applying 14_mariadb
dpkg-source: info: applying 15_check_smtp_initialize
$ cd monitoring-plugins-2.2
.../monitoring-plugins-2.2$ fakeroot dpkg-buildpackage -b --no-sign

Expected results:
 Successful build

Actual results with monitoring-plugins_2.2-6.dsc

...
dh_compress -s
dh_compress: Compatibility levels before 9 are deprecated (level 5 in use)
dh_compress: -s/--same-arch is deprecated; please use -a/--arch instead
dh_compress: This feature will be removed in compat 12.
gzip: usr/share/doc/monitoring-plugins-standard/changelog.gz: No such file or directory
dh_compress: gzip -9nf usr/share/doc/monitoring-plugins-standard/changelog usr/share/doc/monitoring-plugins-standard/changelog.Debian returned exit code 1
gzip: usr/share/doc/monitoring-plugins-basic/changelog.gz: No such file or directory
dh_compress: gzip -9nf usr/share/doc/monitoring-plugins-basic/changelog usr/share/doc/monitoring-plugins-basic/changelog.Debian returned exit code 1
dh_compress: Aborting due to earlier error
make: *** [debian/rules:219: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
.../monitoring-plugins-2.2$

Actual results with a git checkout instead of the source package (HEAD
tag is c852ee9514a8d5c9fc497a944c8d7e4801223dca):

.../pkg-monitoring-plugins$ fakeroot dpkg-buildpackage -b --no-sign
...
dh_compress -i
gzip: usr/share/doc/monitoring-plugins/README.Debian.gz: No such file or directory
gzip: usr/share/doc/monitoring-plugins/changelog.gz: No such file or directory
dh_compress: gzip -9nf usr/share/doc/monitoring-plugins/README.Debian usr/share/doc/monitoring-plugins/changelog usr/share/doc/monitoring-plugins/changelog.Debian returned exit code 1
dh_compress: Aborting due to earlier error
make: *** [debian/rules:199: binary-indep] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
.../pkg-monitoring-plugins$

Note 1: System has been set up to also use the buster-backports repository
  for any packages there included.
Note 2: The git repository source no longer uses compat 5, but same failure
  still happens



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

Kernel: Linux 4.19.0-10-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-nagios-devel mailing list