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

version graph

Package: src:ftpwatch; Maintainer for src:ftpwatch is Hakan Ardo <hakan@debian.org>;

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

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

Severity: serious

Tags: patch, sid, stretch

Found in version ftpwatch/1.22

Fixed in version ftpwatch/1.23

Done: Hakan Ardo <hakan@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, Hakan Ardo <hakan@debian.org>:
Bug#831948; Package src:ftpwatch. (Wed, 20 Jul 2016 19:39:13 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Hakan Ardo <hakan@debian.org>. (Wed, 20 Jul 2016 19:39: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: ftpwatch: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Wed, 20 Jul 2016 21:06:22 +0200
Source: ftpwatch
Version: 1.22
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
> test -f debian/rules
> test root = "`whoami`"
> test -f debian/rules
>  dpkg-genchanges --build=all >../ftpwatch_1.22_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/ftpwatch_1.22_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, Hakan Ardo <hakan@debian.org>:
Bug#831948; Package src:ftpwatch. (Fri, 22 Jul 2016 13:45:16 GMT) (full text, mbox, link).


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


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

From: Santiago Vila <sanvila@unex.es>
To: Lucas Nussbaum <lucas@debian.org>
Cc: 831948@bugs.debian.org, Debian BTS <control@bugs.debian.org>
Subject: Re: ftpwatch: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Fri, 22 Jul 2016 15:42:03 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 831948 + 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.
[ftpwatch.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -26,13 +26,9 @@ clean:
 	-rm -rf debian/tmp debian/files* core debian/substvars 
 	-rm -rf debian/$(package)
 
-binary-indep:	checkroot build
-	$(checkdir)
-# There are no architecture-independent files to be uploaded
-# generated by this package.  If there were any they would be
-# made here.
+binary-arch:
 
-binary-arch:	checkroot build
+binary-indep:	checkroot build
 	$(checkdir)
 	-rm -rf debian/tmp
 	install -d debian/tmp

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


Reply sent to Hakan Ardo <hakan@debian.org>:
You have taken responsibility. (Tue, 02 Aug 2016 05:51:05 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Tue, 02 Aug 2016 05:51:05 GMT) (full text, mbox, link).


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

From: Hakan Ardo <hakan@debian.org>
To: 831948-close@bugs.debian.org
Subject: Bug#831948: fixed in ftpwatch 1.23
Date: Tue, 02 Aug 2016 05:48:32 +0000
Source: ftpwatch
Source-Version: 1.23

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

Debian distribution maintenance software
pp.
Hakan Ardo <hakan@debian.org> (supplier of updated ftpwatch 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: SHA1

Format: 1.8
Date: Tue, 02 Aug 2016 07:32:46 +0200
Source: ftpwatch
Binary: ftpwatch
Architecture: source all
Version: 1.23
Distribution: unstable
Urgency: medium
Maintainer: Hakan Ardo <hakan@debian.org>
Changed-By: Hakan Ardo <hakan@debian.org>
Description:
 ftpwatch   - Notifies you of changes on remote ftp servers
Closes: 831948
Changes:
 ftpwatch (1.23) unstable; urgency=medium
 .
   * Fix binary-indep to make dpkg-buildpackage -A work (closes: #831948)
Checksums-Sha1:
 27c114ea8ed627718b101096e571079303e0398a 1339 ftpwatch_1.23.dsc
 ceccd247315b6b0d1b2b6657550851ef272efa14 8708 ftpwatch_1.23.tar.gz
 3feda953e94b02ef4d181689201ed90b2c7d56d2 5716 ftpwatch_1.23_all.deb
Checksums-Sha256:
 699fd6c5f5fa3ed1019afc500898966ecced33df0732310a2160b40d20ca6665 1339 ftpwatch_1.23.dsc
 27a8917accf9bb9d18538fe84f422131d0a5637a8a5851f4fdd77f55eaba7765 8708 ftpwatch_1.23.tar.gz
 ff2dedc64beb77d28f30916b99741450cf170d36df613476e1d8b13cd1b67396 5716 ftpwatch_1.23_all.deb
Files:
 75f1b7481da98672deeb7fe535ff2b05 1339 main extra ftpwatch_1.23.dsc
 0df6f9fae1ef2c3cdb1f71315faa53c6 8708 main extra ftpwatch_1.23.tar.gz
 fec0a089e70a8f7489d5d5ceea98c42b 5716 net extra ftpwatch_1.23_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBV6AwqOol+fsGqafRAQIMgw/8CkicEDhAKE7Q25UuKmxqrNr+cXfbri3o
wcGwfsOLCzUMeqdssK/ht1uzXANbsGyz4428f/oYr+Sl1kCmkrFAh3iWby2Zwqqt
+TF+rJ5e3bwibKvp678+EvhJC/JiGpsFHa5kttxFhy8cswFfLPOmIRwbAj5s1T6y
rWT6h2KL+kApaaxfByARCu+z5zt4F62a9zCYu6Jx/DfppDdvnZA/ncSpgL1NaSFM
uPOmIauGik429fHEMqIVEvGfoPffzUS2csaVtRsjKfxAp/4i29gY8h/wl4zXgDo8
DJ0A3GAdP2xVXM8C2Juv9jbRkrW6yRbnqROjfUJeSSvsYFGQ6ULUfyctjs7mmxJp
s9cHqC16R1KSYYYtR3pY7BkyGRQO8PX8wq9PrfZ+tTArl0yQZnkP4GbJQcemN5Ge
nPJJ/wJkv/njO0OJCLG/dMoPPJhWsmz7pBHT5eGhrRS1WoluDJqAfv2Ak/Xudjbz
KMjHEMeu5rnyT0zQ4PB7iAtvU7KEEjt+uj38L6LKjo9lu1Jev/k26Vr243MW1//C
8HpdGSlif9wS1DCvtrBAczWancXqKQ7b0gpm6pMhOhBAUPV4O5ulmOHCkGkYjTUA
cyM7yIfAUcE6Ki7w+CSGX7/WgI1AJ8waIlUCVosxPUuJJa2IT9f7aq3oP6XcONzW
xj1nsscpcfA=
=TKmH
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 05 Sep 2016 07:30:04 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:51:24 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.