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

version graph

Package: src:adzapper; Maintainer for src:adzapper is Ludovic Drolez <ldrolez@debian.org>;

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

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

Owned by: sanvila@debian.org

Severity: serious

Tags: patch, sid, stretch

Found in version adzapper/20090301.dfsg.1-0.2

Fixed in version adzapper/20090301.dfsg.2-1

Done: Santiago Vila <sanvila@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, Ludovic Drolez <ldrolez@debian.org>:
Bug#831957; Package src:adzapper. (Wed, 20 Jul 2016 19:40:00 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Ludovic Drolez <ldrolez@debian.org>. (Wed, 20 Jul 2016 19:40:00 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: adzapper: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Wed, 20 Jul 2016 21:05:29 +0200
Source: adzapper
Version: 20090301.dfsg.1-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_clean -k
> dh_clean: dh_clean -k is deprecated; use dh_prep instead
> dh_installdirs
> # Add here commands to install the package into debian/adzapper.
> install -m 755 scripts/squid_redirect debian/adzapper/usr/bin/adzapper
> install -m 755 debian/adzapper.wrapper debian/adzapper/usr/bin
> install -m 755 debian/adzapper2konq debian/adzapper/usr/bin
> install -m 755 debian/adzapper2ab debian/adzapper/usr/bin
> install -m 644 debian/adzapper.conf debian/adzapper/etc/
>  dpkg-genchanges --build=all >../adzapper_20090301.dfsg.1-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/adzapper_20090301.dfsg.1-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, Ludovic Drolez <ldrolez@debian.org>:
Bug#831957; Package src:adzapper. (Fri, 22 Jul 2016 14:54:52 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Ludovic Drolez <ldrolez@debian.org>. (Fri, 22 Jul 2016 14:54:52 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: Lucas Nussbaum <lucas@debian.org>
Cc: 831957@bugs.debian.org, Debian BTS <control@bugs.debian.org>
Subject: Re: adzapper: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Fri, 22 Jul 2016 16:53:49 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 831957 + 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.
[adzapper.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -55,12 +55,12 @@ install: build
 	install -m 755 debian/adzapper2ab debian/adzapper/usr/bin
 	install -m 644 debian/adzapper.conf debian/adzapper/etc/
 
-# 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_installdebconf	

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


Information forwarded to debian-bugs-dist@lists.debian.org, Ludovic Drolez <ldrolez@debian.org>:
Bug#831957; Package src:adzapper. (Thu, 04 Aug 2016 13:21:10 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Ludovic Drolez <ldrolez@debian.org>. (Thu, 04 Aug 2016 13:21:11 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: Debian BTS <control@bugs.debian.org>
Cc: 831957@bugs.debian.org
Subject: Bug#831957
Date: Thu, 4 Aug 2016 15:18:58 +0200 (CEST)
owner 831957 sanvila@debian.org
thanks

I plan to make a QA upload to fix this.

Thanks.



Owner recorded as sanvila@debian.org. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Thu, 04 Aug 2016 13:21:19 GMT) (full text, mbox, link).


Reply sent to Santiago Vila <sanvila@debian.org>:
You have taken responsibility. (Sat, 06 Aug 2016 00:00:07 GMT) (full text, mbox, link).


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


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

From: Santiago Vila <sanvila@debian.org>
To: 831957-close@bugs.debian.org
Subject: Bug#831957: fixed in adzapper 20090301.dfsg.2-1
Date: Fri, 05 Aug 2016 23:57:13 +0000
Source: adzapper
Source-Version: 20090301.dfsg.2-1

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

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated adzapper 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: Sat, 06 Aug 2016 00:27:06 +0200
Source: adzapper
Binary: adzapper
Architecture: source
Version: 20090301.dfsg.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Description:
 adzapper   - proxy advertisement zapper add-on
Closes: 831957
Changes:
 adzapper (20090301.dfsg.2-1) unstable; urgency=medium
 .
   * QA upload.
   * Package is orphaned (Bug #722717). Set maintainer to "Debian QA Group".
   * Repackage source tarball again. Old tarball had modified files
     and a populated debian directory.
   * Package is "Arch: all". Move things from binary-arch to binary-indep.
     Package should now build with "dpkg-buildpackage -A". Closes: #831957.
   * Raise debhelper compat level to 9.
   * Simplify debian/rules.
   * Standards-Version: 3.9.8.
Checksums-Sha1:
 886d5204ec5c5d178a9336f656ce0f9d6e8c51b9 1416 adzapper_20090301.dfsg.2-1.dsc
 e12b4872152d302aa30b9cb4d3bf417b39547d1c 109556 adzapper_20090301.dfsg.2.orig.tar.xz
 2535c5824ecd51cab1c974cf8564fffb5b0e0800 11380 adzapper_20090301.dfsg.2-1.debian.tar.xz
Checksums-Sha256:
 12cc0fc17c8887f0c89f361b7fa7b155822889b2960ca531231336f9510bc6ee 1416 adzapper_20090301.dfsg.2-1.dsc
 51a5770bb2358275ad3705fc11eeaf2171b97579d69f48ba8ebdb93d89c994dd 109556 adzapper_20090301.dfsg.2.orig.tar.xz
 0c6a06daa890cacbcd69b3e156aadb6ec36b27b21081fbbde684a374acb2ef6c 11380 adzapper_20090301.dfsg.2-1.debian.tar.xz
Files:
 27a82cc278aa60fa9476ba8e8a00bb75 1416 web optional adzapper_20090301.dfsg.2-1.dsc
 4c20b9ee0c710ca91e8333ad8467f5b0 109556 web optional adzapper_20090301.dfsg.2.orig.tar.xz
 50a622bdf55461b4398adcf6e6136b9a 11380 web optional adzapper_20090301.dfsg.2-1.debian.tar.xz

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

iQEcBAEBCAAGBQJXpRXmAAoJEEHOfwufG4syewYH/juvgaXqAK4yYqfk3VtwfGsW
GA4zgC7ck1HEG4LDXddexnZN8jz0hLgydojlt97EUPzzrATrZFuaSnJz+k1x7Gcp
Oe7B5PHwyaUvF3yPddUz4Iv/q6TqFCpPG9iQ0sJRi5Dev+vgnbqcYjp7uMzv62Fr
KAUE3qJB3HtNciYWHU66Mb0HG+YkNaHzFkDfkHlG5uPAarKBONuQ/rMFvuZzUpTz
3cA+1WWm2stYJWtun9hDh0eYPJtiWeEIfejxTh+HpJcFtuvRiBu8jSNBw7RYpy7g
Bq4pzOvJJ+5ivVekX71DQLutTZVAMeGi/98a8DHIvrVuXLs8UnJNe+YV6o2fj7g=
=FDDg
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 08 Sep 2016 07:33:59 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:26 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.