Bug#972524: [Pkg-nagios-devel] Bug#972524: monitoring-plugins: FTBFS on buster (dh_compress)
On 2020-10-20 06:05, Sebastiaan Couwenberg wrote: Control: tags -1 unreproducible Control: severity -1 important Hi Jakob, Thanks for reporting this issue, but unfortunately I cannot reproduce it. Building 2.2-6 in a buster chroot works as expected: gbp clone \ https://salsa.debian.org/nagios-team/pkg-monitoring-plugins.git git checkout -b buster debian/2.2-6 gbp buildpackage --git-pbuilder \ --git-dist=buster \ --git-debian-branch=buster Kind Regards, Bas Did your test include the use of backported packages, as stated? When checking out from git, I didn't select any specific branch, as the "please use the git source" message just said to clone the tree, thus HEAD. Also, I notice that your build commands differ from mine, what is "gbp"? As a local sysadmin, I don't have my own installs of automated build daemons such as pbuilder. Enjoy Jakob -- Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10 This public discussion message is non-binding and may contain errors. WiseMo - Remote Service Management for PCs, Phones and Embedded
Bug#972524: [Pkg-nagios-devel] Bug#972524: monitoring-plugins: FTBFS on buster (dh_compress)
On 10/20/20 1:55 PM, Jakob Bohm wrote: > On 2020-10-20 06:05, Sebastiaan Couwenberg wrote: >> Control: tags -1 unreproducible >> Control: severity -1 important >> >> Hi Jakob, >> >> Thanks for reporting this issue, but unfortunately I cannot reproduce it. >> >> Building 2.2-6 in a buster chroot works as expected: >> >> gbp clone \ >> https://salsa.debian.org/nagios-team/pkg-monitoring-plugins.git >> git checkout -b buster debian/2.2-6 >> gbp buildpackage --git-pbuilder \ >> --git-dist=buster \ >> --git-debian-branch=buster >> >> Kind Regards, >> >> Bas >> > > Did your test include the use of backported packages, as stated? No, just plain buster. Note that 2.2-6 still uses a deprecated debhelper compat level, this has been changed in git. If you need a backport for buster, you may need to cherry-pick some unreleased commits from the master branch. > When checking out from git, I didn't select any specific branch, as the > "please use the git source" message just said to clone the tree, thus HEAD. > > Also, I notice that your build commands differ from mine, what is "gbp"? git-buildpackage, it's the tools we use to build packages from the git repo. See: https://wiki.debian.org/PackagingWithGit Or a more specific guide that includes setting up the cowbuilder chroots: https://debian-gis-team.pages.debian.net/policy/packaging.html#git-pbuilder > As a local sysadmin, I don't have my own installs of automated build > daemons such as pbuilder. pbuilder & cowbuilder are not automated build daemons, they are chroot environments to ensure that the package is built in a clear environment just like on the official build daemons (which use sbuild instead of pbuilder). Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#972524: [Pkg-nagios-devel] Bug#972524: monitoring-plugins: FTBFS on buster (dh_compress)
Control: tags -1 unreproducible Control: severity -1 important Hi Jakob, Thanks for reporting this issue, but unfortunately I cannot reproduce it. Building 2.2-6 in a buster chroot works as expected: gbp clone \ https://salsa.debian.org/nagios-team/pkg-monitoring-plugins.git git checkout -b buster debian/2.2-6 gbp buildpackage --git-pbuilder \ --git-dist=buster \ --git-debian-branch=buster Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#972524: monitoring-plugins: FTBFS on buster (dh_compress)
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