Debian Bug report logs - #831936
rcconf: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute

version graph

Package: src:rcconf; Maintainer for src:rcconf is Atsushi KAMOSHIDA <kamop@debian.org>;

Reported by: Lucas Nussbaum <lucas@debian.org>

Date: Wed, 20 Jul 2016 19:38:08 UTC

Severity: serious

Tags: patch, sid, stretch

Found in version rcconf/3.1

Fixed in version rcconf/3.2

Done: Atsushi KAMOSHIDA <kamop@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Atsushi KAMOSHIDA <kamop@debian.org>:
Bug#831936; Package src:rcconf. (Wed, 20 Jul 2016 19:38:13 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Atsushi KAMOSHIDA <kamop@debian.org>. (Wed, 20 Jul 2016 19:38:13 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@debian.org>
To: submit@bugs.debian.org
Subject: rcconf: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Wed, 20 Jul 2016 21:07:29 +0200
Source: rcconf
Version: 3.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):
>  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
> install -m 755 rcconf `pwd`/debian/rcconf/usr/sbin
> install -m 755 update-rcconf-guide `pwd`/debian/rcconf/usr/sbin
>  dpkg-genchanges --build=all >../rcconf_3.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/rcconf_3.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, Atsushi KAMOSHIDA <kamop@debian.org>:
Bug#831936; Package src:rcconf. (Fri, 22 Jul 2016 13:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Atsushi KAMOSHIDA <kamop@debian.org>. (Fri, 22 Jul 2016 13:45:05 GMT) (full text, mbox, link).


Message #10 received at 831936@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: Lucas Nussbaum <lucas@debian.org>
Cc: 831936@bugs.debian.org, Debian BTS <control@bugs.debian.org>
Subject: Re: rcconf: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Fri, 22 Jul 2016 15:41:27 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 831936 + 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.
[rcconf.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -47,12 +47,12 @@ install: build
 	install -m 755 update-rcconf-guide `pwd`/debian/rcconf/usr/sbin
 
 
-# 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_testdir
 	dh_testroot
 	dh_installchangelogs 

Added tag(s) patch. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Fri, 22 Jul 2016 13:45:28 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:22 GMT) (full text, mbox, link).


Reply sent to Atsushi KAMOSHIDA <kamop@debian.org>:
You have taken responsibility. (Sat, 20 Aug 2016 16:09:19 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Sat, 20 Aug 2016 16:09:19 GMT) (full text, mbox, link).


Message #19 received at 831936-close@bugs.debian.org (full text, mbox, reply):

From: Atsushi KAMOSHIDA <kamop@debian.org>
To: 831936-close@bugs.debian.org
Subject: Bug#831936: fixed in rcconf 3.2
Date: Sat, 20 Aug 2016 16:08:35 +0000
Source: rcconf
Source-Version: 3.2

We believe that the bug you reported is fixed in the latest version of
rcconf, 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 831936@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Atsushi KAMOSHIDA <kamop@debian.org> (supplier of updated rcconf 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: Sun, 20 Aug 2016 23:49:50 +0900
Source: rcconf
Binary: rcconf
Architecture: source all
Version: 3.2
Distribution: unstable
Urgency: low
Maintainer: Atsushi KAMOSHIDA <kamop@debian.org>
Changed-By: Atsushi KAMOSHIDA <kamop@debian.org>
Description:
 rcconf     - Debian Runlevel configuration tool
Closes: 831936
Changes:
 rcconf (3.2) unstable; urgency=low
 .
   * Closes: #831936
Checksums-Sha1:
 64d8c57acf05c95b0ccc746c0bcac0bf65109848 1379 rcconf_3.2.dsc
 e9662806f41a7966c56a0c29f429f8b91a30ec6d 17471 rcconf_3.2.tar.gz
 a35660b5438cbefd0f1ab2355d3e6c1dfbad991e 22248 rcconf_3.2_all.deb
Checksums-Sha256:
 71eb8137ffcd1b5761a25ededbf1ab7a58701be805bb6457aefe7bb1d50f8591 1379 rcconf_3.2.dsc
 24f1ed297d2ee7694565db2ec5f166a91020d834d1c5c36c282ca7aeb1b4e5c8 17471 rcconf_3.2.tar.gz
 dbc4892e4a5fd67f531b3057ebb5166d696bd84ec739aa80b79f78b33d702fa5 22248 rcconf_3.2_all.deb
Files:
 32827be21371935a5c6c64aceafac259 1379 admin optional rcconf_3.2.dsc
 a473f42dbef493927aae10e102daf61e 17471 admin optional rcconf_3.2.tar.gz
 da1e767b2a390d1a875952862f27917f 22248 admin optional rcconf_3.2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXuHaKAAoJEDoKAXMbrpO56p8P/jW3K6cMgzNgBXPGObMA7YPg
3/WgFuI2aJJQUVefR8149OCtUPVZx25AjZoTLLh8d7BkTvgyvsQrOTJlyuM6kqkj
g6I72WEOdQfLlw+whzMbuOw2FiUCo6CHmgVJV/xECjS/yciXCq8AcS07ShZZd8wF
eZXeGuhZr6sHMqW8yzKHl368VGIW5HTev3AdxPZP58el2E0cx1HHBmkZRt7jyezg
3gaLPsMGvorJJRIyLibqMOC9cJ7BBHTPcpQW8tX36pErhBIlhXLKtf8mcVu7U6oB
pIyy7w89Nd+SikIJOT/EozvZ1PH2y3pNMr3UVrCfIyEQKtmEmQ4qxQABmHFWQsmn
OCWRMyRXgw7Fy4EuadEpbqYkU+nqwKaLxlAsHJTGSpUvmv+h5HlI08TwMXEZvJKN
hO+YBzAODM3CekmMt6L63zXkdf4Op8+/La+yQ4Eb+++8xFEVGODi2IBT7fMgYe7v
ZfLM+2TDKJiUakDuEbXC6wheme0rN5BQP38MmuYf6EIZ6giluDJqkugXG+0QS/+Q
PBoJ00dXl/pJWS1BmMEktatZZauW9nEI2TnRKxn9thvja+hMo33EPP9CkQL7f1fM
zbDjDTys+UScWqi46dQGbsJilPid6qxa2j6/FdhtXihNPjlhNwSOzVTF6dvDdWLa
XDiqATtOf+fiBO2L3ozp
=+x7a
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 28 Sep 2016 07:26:50 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:06:57 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.