Debian Bug report logs -
#831964
pentium-builder: 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:40:30 UTC
Severity: serious
Tags: patch, sid, stretch
Found in version pentium-builder/0.20
Fixed in version pentium-builder/0.21
Done: Alex Pennace <alex@pennace.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Alex Pennace <alex@pennace.org>:
Bug#831964; Package src:pentium-builder.
(Wed, 20 Jul 2016 19:40:35 GMT) (full text, mbox, link).
Acknowledgement sent
to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Alex Pennace <alex@pennace.org>.
(Wed, 20 Jul 2016 19:40:35 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: pentium-builder
Version: 0.20
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_clean -k
> dh_clean: dh_clean -k is deprecated; use dh_prep instead
> dh_installdirs usr/bin
> install builder-cc builder-c++ debian/pentium-builder/usr/bin
> dh_link usr/bin/builder-cc usr/bin/gcc \
> usr/bin/builder-c++ usr/bin/g++
> dpkg-genchanges --build=all >../pentium-builder_0.20_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/pentium-builder_0.20_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, Alex Pennace <alex@pennace.org>:
Bug#831964; Package src:pentium-builder.
(Fri, 22 Jul 2016 14:54:32 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Alex Pennace <alex@pennace.org>.
(Fri, 22 Jul 2016 14:54:32 GMT) (full text, mbox, link).
Message #10 received at 831964@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 831964 + 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.
[pentium-builder.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -32,12 +32,12 @@ install: build
dh_link usr/bin/builder-cc usr/bin/gcc \
usr/bin/builder-c++ usr/bin/g++
-# Build architecture-independent files here.
-binary-indep: build install
+# Build architecture-dependent files here.
+binary-arch:
# We have nothing to do by default.
-# Build architecture-dependent files here.
-binary-arch: build install
+# Build architecture-independent files here.
+binary-indep: build install
# dh_testversion
dh_perl
dh_testdir
Added tag(s) patch.
Request was from Santiago Vila <sanvila@unex.es>
to control@bugs.debian.org.
(Fri, 22 Jul 2016 14:54:39 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:37 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Alex Pennace <alex@pennace.org>:
Bug#831964; Package src:pentium-builder.
(Thu, 04 Aug 2016 07:57:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Alexandre Detiste <alexandre.detiste@gmail.com>:
Extra info received and forwarded to list. Copy sent to Alex Pennace <alex@pennace.org>.
(Thu, 04 Aug 2016 07:57:04 GMT) (full text, mbox, link).
Message #19 received at 831964@bugs.debian.org (full text, mbox, reply):
Hi,
I stumbled open this bug. [1]
I have the feeling that this package doesn't make any sense anymore
now that i686 is the default [2] & we should ask FTP Masters
to remove it right away from testing & unstable.
Greetings,
Alexandre
------
description:
>force pentium optimized compilation
>
>Replaces gcc, cc, and g++ with scripts that build pentium optimized code. (Other >processors can be optimized for as well.)
contents: two tiny Perl scripts
https://sources.debian.net/src/pentium-builder/0.20/
-------
[1] Maintainer name is sorted next to mine on
https://udd.debian.org/cgi-bin/autoremovals.cgi
[2] https://lists.debian.org/debian-devel-announce/2016/05/msg00001.html
> ... gcc for i386 has recently been changed
> to target 686-class processors ..
Reply sent
to Alex Pennace <alex@pennace.org>:
You have taken responsibility.
(Thu, 18 Aug 2016 04:18:04 GMT) (full text, mbox, link).
Notification sent
to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer.
(Thu, 18 Aug 2016 04:18:04 GMT) (full text, mbox, link).
Message #24 received at 831964-close@bugs.debian.org (full text, mbox, reply):
Source: pentium-builder
Source-Version: 0.21
We believe that the bug you reported is fixed in the latest version of
pentium-builder, 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 831964@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alex Pennace <alex@pennace.org> (supplier of updated pentium-builder 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: SHA256
Format: 1.8
Date: Wed, 17 Aug 2016 21:54:37 -0400
Source: pentium-builder
Binary: pentium-builder
Architecture: source all
Version: 0.21
Distribution: unstable
Urgency: medium
Maintainer: Alex Pennace <alex@pennace.org>
Changed-By: Alex Pennace <alex@pennace.org>
Description:
pentium-builder - force pentium optimized compilation
Closes: 831964
Changes:
pentium-builder (0.21) unstable; urgency=medium
.
* Fix "FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary
build with no binary artifacts found; cannot distribute", thanks
Santiago Vila (Closes: #831964).
* Fix email address in previous changelog entry.
Checksums-Sha1:
a81cf583f346c0abb9015476049b08ae0dc55715 1049 pentium-builder_0.21.dsc
e51f97ae169d37ed4892795c9b68dda4e0badb29 5815 pentium-builder_0.21.tar.gz
7d785aaa013f19557743595d98f13a4ba6946505 7156 pentium-builder_0.21_all.deb
Checksums-Sha256:
132f857b3d6312f8d920ceb472052cce19e5ed661b7b479bc696aaeb4aaf5877 1049 pentium-builder_0.21.dsc
f165efd1e103f07a447267aec0c862ed3d1601a0bfb16a63905bef9c3685f7a6 5815 pentium-builder_0.21.tar.gz
823fc7c21d415735a31653d82079073440dddb11706b4162e5bd8d66d0000cbe 7156 pentium-builder_0.21_all.deb
Files:
fe676677257fc7e0344df84397ed35b9 1049 devel extra pentium-builder_0.21.dsc
1dea465fc37a153d729cb861825a0da9 5815 devel extra pentium-builder_0.21.tar.gz
bbb7638dfb729c52747520abadf45dcd 7156 devel extra pentium-builder_0.21_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJXtRY6AAoJEEsbVqRE1SXj1OcIAKYYFd8glu4HNX1uLoc6NNKn
cOT3KIw0tkJz0frXInxS6hmwt5WwQOjq1kbKLBGam1l64gkOiQeT5hwHU9l0kx9/
4iUDHTc5fABY12UBr+KYKsjpEfzlqWLnDDF+mNv/fJxWBS+kJsi2+HCDglvDJS6B
l4X9RKBXRRGteLrMgkOgzRa2e1o/1Z0c7AU4PEesLe+gaa4ifWpoqZuylzxLCSDp
NqhZ99ogO5fQZrsiAQlCuYsZQT+iVk7sOlcuXkvn6BEMwDbde/Em/qysBPQCnFAP
RJhxXaOURgPk0A+MkXxiVTeU0aeqiWZhC8GGsfLrQH3aibSW0pUd8T4+3qZV7Mg=
=CcE5
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 20 Sep 2016 07:30:37 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:01 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.