Debian Bug report logs -
#831955
gpsim-doc: 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:45 UTC
Severity: serious
Tags: patch, sid, stretch
Found in version gpsim-doc/0.22.0-2
Fixed in version gpsim-doc/0.22.0-2.1
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, Armando Segnini <armaseg@gmail.com>:
Bug#831955; Package src:gpsim-doc.
(Wed, 20 Jul 2016 19:39:49 GMT) (full text, mbox, link).
Acknowledgement sent
to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Armando Segnini <armaseg@gmail.com>.
(Wed, 20 Jul 2016 19:39:49 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: gpsim-doc
Version: 0.22.0-2
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):
> fakeroot debian/rules binary-indep
> dh_testdir
> dh_testroot
> dh_prep
> rm -f debian/gpsim-doc.substvars
> rm -f debian/gpsim-doc.*.debhelper
> rm -rf debian/gpsim-doc/
> dh_installdirs
> install -d debian/gpsim-doc
> install -d debian/gpsim-doc/usr/share/doc/gpsim-doc
> dpkg-genchanges --build=all >../gpsim-doc_0.22.0-2_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/gpsim-doc_0.22.0-2_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, Armando Segnini <armaseg@gmail.com>:
Bug#831955; Package src:gpsim-doc.
(Fri, 22 Jul 2016 14:54:49 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Armando Segnini <armaseg@gmail.com>.
(Fri, 22 Jul 2016 14:54:49 GMT) (full text, mbox, link).
Message #10 received at 831955@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 831955 + 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.
Note: The patch also fixes the non-standard binary-arch-indep target name.
Thanks.
[gpsim-doc.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -28,14 +28,12 @@ install: build
dh_installdirs
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
+# Build architecture-dependent files here.
binary-arch:
+# We have nothing to do by default.
-# Build architecture-dependent files here.
-binary-arch-indep: build install
+# Build architecture-independent files here.
+binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
@@ -48,5 +46,5 @@ binary-arch-indep: build install
dh_md5sums
dh_builddeb
-binary: binary-indep binary-arch-indep
-.PHONY: build clean binary-indep binary-arch-indep binary install configure
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
Added tag(s) patch.
Request was from Santiago Vila <sanvila@unex.es>
to control@bugs.debian.org.
(Fri, 22 Jul 2016 14:54:57 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:11 GMT) (full text, mbox, link).
Notification sent
to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer.
(Fri, 13 Jan 2017 16:21:11 GMT) (full text, mbox, link).
Message #19 received at 831955-close@bugs.debian.org (full text, mbox, reply):
Source: gpsim-doc
Source-Version: 0.22.0-2.1
We believe that the bug you reported is fixed in the latest version of
gpsim-doc, 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 831955@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 gpsim-doc 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:54:01 +0200
Source: gpsim-doc
Binary: gpsim-doc
Architecture: source
Version: 0.22.0-2.1
Distribution: unstable
Urgency: medium
Maintainer: Armando Segnini <armaseg@gmail.com>
Changed-By: Adrian Bunk <bunk@debian.org>
Description:
gpsim-doc - Documentation for gpsim
Closes: 831955
Changes:
gpsim-doc (0.22.0-2.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Apply patch from Santiago Vila to fix "dpkg-buildpackage -A".
(Closes: #831955)
Checksums-Sha1:
a828577cb8797b00863fbefe16d9f726890ca456 1660 gpsim-doc_0.22.0-2.1.dsc
3651865f8d51e1016168a809b75f8150eb4ad21b 2111 gpsim-doc_0.22.0-2.1.diff.gz
Checksums-Sha256:
dd491ebd5ac68e6ae848896de1ab69141a50eee86e8b09d780b5ca6c7e534261 1660 gpsim-doc_0.22.0-2.1.dsc
3986a1180f280b941149f0cdc6fae74ec3aa6dbfa3b0e7b01b4a11bace751e57 2111 gpsim-doc_0.22.0-2.1.diff.gz
Files:
8860d7cd7ad6c866ebb14127d61b63c8 1660 doc optional gpsim-doc_0.22.0-2.1.dsc
f177c8055b6d72908a1a9fd3ffb8a8aa 2111 doc optional gpsim-doc_0.22.0-2.1.diff.gz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAlh4+JQACgkQiNJCh6LY
mLEEoBAAsmuaXdq1gkkMDiyhxmdW4qp7WD6r1AmPkWQyq77VEaArufShHFVn+L7d
ZP91icYnNoy96ekY2dKMs2xVhxD3EM3vO76jgtPONZPMjTtCnj47LnrvV76KiJZR
JczEgyzCMVsV1/On3zbFUjohRzoGYzV0I8iY2lZaQMNt/fC49QoDC7eU6/cSfg2j
+hF9OcGZ28JfW2sJX+Nc5GuF+t257su5r+s0xoAyy5UDg4Bh0dTfHBo6YYWckqXJ
qt+6z1/3r+GT7e/yXZ3VHwyBCdtccRkw4Y46Tf2KtxNjd6yDEhuAZKySSoleRe5Y
LZfCUSz7Dq7Tfr0rT3Mkm6CnD3ouaUJXesc5q7ZsyZrwKKIcMliCS6ifxTX7VqGf
Qrz0oIzEIr4AzKXvOqKIS9MbDzfeLxNlT8D5b2DnlvkpxlxsWXGVJ+BeTez9+LKp
r+5uyfY3DyidrOjnJisQqk3Rupcx8zCTxHWjeH+uYGky5x8fl5ULzDKsERDoJ78M
iUJYmFYmGT2wiNBlEJSfrGDiyw7QijzVJ007vJHhT0AuhaAT5cylVZOq//zyaSrf
dM0K2lzvr57vYUCs+DrNIaXzUwOYjUgBtg1h7xNiRLRbN/6ldArQOu3K7OdUBWf4
uSq3bv7GVJGvYWB9dkhhEFlHyxRDuW8ZjO0swoNQWhRCz7ePEa8=
=L8ry
-----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:32:16 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:
Tue Nov 7 17:52:12 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.