Debian Bug report logs -
#831954
libsnmp-mib-compiler-perl: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Reported by: Lucas Nussbaum <lucas@debian.org>
Date: Wed, 20 Jul 2016 19:39:39 UTC
Severity: serious
Tags: patch, sid, stretch
Found in version libsnmp-mib-compiler-perl/0.06-2.1
Fixed in version libsnmp-mib-compiler-perl/0.06-2.2
Done: Adrian Bunk <bunk@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Deepak Tripathi <apenguinlinux@gmail.com>:
Bug#831954; Package src:libsnmp-mib-compiler-perl.
(Wed, 20 Jul 2016 19:39:44 GMT) (full text, mbox, link).
Acknowledgement sent
to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Deepak Tripathi <apenguinlinux@gmail.com>.
(Wed, 20 Jul 2016 19:39:44 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: libsnmp-mib-compiler-perl
Version: 0.06-2.1
Severity: important
Tags: stretch sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20160720 qa-ftbfs qa-indep
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64. This rebuild was done by building only the architecture-independent
packages. At the same time, a normal build succeeded, which points the
problem specifically to build-indep/binary-indep targets.
The specific error below usually happens there is a binary-indep target in
debian/rules which is either empty or does not do anything useful.
If all the arch-independent packages are dummy transitional packages released
with jessie, the easy fix is to drop them now. If not, debian/rules should be
modified so that the binary-indep target generates the architecture independent
packages (and only those).
After checking that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, this package will be suitable to be uploaded in source-only form if
you wish.
I file this bug as severity: important, but Santiago Vila, who led this
effort (kudos to him), got approval from the release team to consider those
bugs RC for stretch. The severity will be increased to 'serious' shortly.
See #830997 for details.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Manifying 2 pod documents
> Installing /<<PKGBUILDDIR>>/debian/libsnmp-mib-compiler-perl/usr/share/perl5/Bundle/SNMP/MIB/Compiler.pm
> Installing /<<PKGBUILDDIR>>/debian/libsnmp-mib-compiler-perl/usr/share/perl5/SNMP/MIB/Compiler.pm
> Installing /<<PKGBUILDDIR>>/debian/libsnmp-mib-compiler-perl/usr/share/man/man3/Bundle::SNMP::MIB::Compiler.3pm
> Installing /<<PKGBUILDDIR>>/debian/libsnmp-mib-compiler-perl/usr/share/man/man3/SNMP::MIB::Compiler.3pm
> Installing /<<PKGBUILDDIR>>/debian/libsnmp-mib-compiler-perl/usr/bin/mibbrowser
> Installing /<<PKGBUILDDIR>>/debian/libsnmp-mib-compiler-perl/usr/bin/mibcompiler
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> chmod a-x /<<PKGBUILDDIR>>/debian/libsnmp-mib-compiler-perl/usr/share/perl5/SNMP/MIB/Compiler.pm
> touch install-stamp
> dh_testdir
> touch arrange-stamp
> dh_testdir
> touch binary-indep-stamp
> dpkg-genchanges --build=all >../libsnmp-mib-compiler-perl_0.06-2.1_all.changes
> dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/07/20/libsnmp-mib-compiler-perl_0.06-2.1_unstable_archallonly.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Information forwarded
to debian-bugs-dist@lists.debian.org, Deepak Tripathi <apenguinlinux@gmail.com>:
Bug#831954; Package src:libsnmp-mib-compiler-perl.
(Fri, 22 Jul 2016 13:45:26 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Deepak Tripathi <apenguinlinux@gmail.com>.
(Fri, 22 Jul 2016 13:45:26 GMT) (full text, mbox, link).
Message #10 received at 831954@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 831954 + patch
thanks
This happens because debian/rules has its binary-arch and binary-indep
targets swapped.
The following trivial (but untested) patch might fix it.
Thanks.
[libsnmp-mib-compiler-perl.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -13,8 +13,8 @@ binary-stamp: binary-indep binary-arch
dh_testdir
touch binary-stamp
-binary-arch: binary-arch-stamp
-binary-arch-stamp: arrange
+binary-indep: binary-indep-stamp
+binary-indep-stamp: arrange
dh_testdir
dh_testroot
rm -Rf $(b)/usr/bin
@@ -32,8 +32,8 @@ binary-arch-stamp: arrange
dh_builddeb
touch binary-arch-stamp
-binary-indep: binary-indep-stamp
-binary-indep-stamp: arrange
+binary-arch: binary-arch-stamp
+binary-arch-stamp: arrange
dh_testdir
touch binary-indep-stamp
Added tag(s) patch.
Request was from Santiago Vila <sanvila@unex.es>
to control@bugs.debian.org.
(Fri, 22 Jul 2016 13:46:00 GMT) (full text, mbox, link).
Severity set to 'serious' from 'important'
Request was from Santiago Vila <sanvila@debian.org>
to control@bugs.debian.org.
(Mon, 01 Aug 2016 21:16:33 GMT) (full text, mbox, link).
Reply sent
to Adrian Bunk <bunk@debian.org>:
You have taken responsibility.
(Fri, 13 Jan 2017 16:21:09 GMT) (full text, mbox, link).
Notification sent
to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer.
(Fri, 13 Jan 2017 16:21:09 GMT) (full text, mbox, link).
Message #19 received at 831954-close@bugs.debian.org (full text, mbox, reply):
Source: libsnmp-mib-compiler-perl
Source-Version: 0.06-2.2
We believe that the bug you reported is fixed in the latest version of
libsnmp-mib-compiler-perl, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 831954@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated libsnmp-mib-compiler-perl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 13 Jan 2017 17:58:36 +0200
Source: libsnmp-mib-compiler-perl
Binary: libsnmp-mib-compiler-perl
Architecture: source
Version: 0.06-2.2
Distribution: unstable
Urgency: medium
Maintainer: Deepak Tripathi <apenguinlinux@gmail.com>
Changed-By: Adrian Bunk <bunk@debian.org>
Description:
libsnmp-mib-compiler-perl - a MIB Compiler supporting SMIv1 and SMIv2
Closes: 831954
Changes:
libsnmp-mib-compiler-perl (0.06-2.2) unstable; urgency=medium
.
* Non-maintainer upload.
* Apply patch from Santiago Vila to fix "dpkg-buildpackage -A".
(Closes: #831954)
Checksums-Sha1:
c0f7de9c916720e7f6a9a771e4e7543f8fce12f9 1870 libsnmp-mib-compiler-perl_0.06-2.2.dsc
7e0f72e18781439be4b140d4ccae245f30cc04f3 2606 libsnmp-mib-compiler-perl_0.06-2.2.diff.gz
Checksums-Sha256:
68f83011574aac5b7cf1153275f2ff765a5d1e64ffc81f67fe60058e95813512 1870 libsnmp-mib-compiler-perl_0.06-2.2.dsc
d9ae1aa6fdc61758365d491eed9d33a7a90c143fc18d84a19337a14dd01c3646 2606 libsnmp-mib-compiler-perl_0.06-2.2.diff.gz
Files:
7dac8902606473564186bb0ed63c3bb7 1870 perl optional libsnmp-mib-compiler-perl_0.06-2.2.dsc
c0ebd8645df5e0c29e95a592aa9247fd 2606 perl optional libsnmp-mib-compiler-perl_0.06-2.2.diff.gz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAlh4+Z0ACgkQiNJCh6LY
mLEMNQ/8D2B3mc917FVwQhAxTk5dML4lszLRrIQ/hyW9mIb/mHKMaoTsUvHhMVPh
86qC+BvJkoMfMj5baUJDRrawIK5tYyTlebQduG6Tz3Xzb20I2nls/5ibfARVm/JO
4y03gsY1W7G/+6y/d1nKSJJgHRuRDEKQ05PDxudzLpSGICJyDVv6rzg+SBNUZ24T
j3BqvYKRZM4Rjs/rspCnbweBM1obh0MRYE62lj0j3ns0+s2jcN5meUhAhe7Ae6XJ
8C99Y+RtRclA3Qk5RNC4mCg0o8vsedf5zV5xInZf35mCnpu6LLEncwx7bLSQ1P2E
VsQIwniQBiK/Q5GBTt/C2su8FkR1rwdK+q44K0lEpMwETaTuZwaw43H3MOrIeMoL
m73uUgKzswj081E1avh6gAXoubX48NW4FbsoLHk9MeuPxW0qVup2ue57A38g8Try
MPd38fKYGA141Xx5VsK6qsMEtfvPPBMmH1LCTK66PRQmCFVgWhi33BF8YwD2e9BD
m9TvEG5ioM0E01eYmNieFz4vwo1ooTMY4Rd1A6R8iO9nGFEnZNDzSLmHjFH5U+XV
GPZzMAmeZBjDTuoUsrPwP7DVKEiBe57NR7G5z7ZXO2Ci154mP9hnay3uS21rSCEw
kMtPwPEZ1vqdv9ZUkBuojVipHhsmkpQP587eYZML8LbLrlM3ZFc=
=BmYe
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 21 Feb 2017 07:31:52 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Mon Oct 23 00:07:38 2017;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.