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

version graph

Package: src:jacksum; Maintainer for src:jacksum is Anuradha Weeraman (anu) <aweeraman@gmail.com>;

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

Date: Wed, 20 Jul 2016 19:40:51 UTC

Severity: serious

Tags: patch, sid, stretch

Found in version jacksum/1.7.0-4

Fixed in version jacksum/1.7.0-4.1

Done: Andrey Rahmatullin <wrar@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, Anuradha Weeraman (anu) <aweeraman@gmail.com>:
Bug#831968; Package src:jacksum. (Wed, 20 Jul 2016 19:40:56 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Anuradha Weeraman (anu) <aweeraman@gmail.com>. (Wed, 20 Jul 2016 19:40:56 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: jacksum: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Wed, 20 Jul 2016 21:06:42 +0200
Source: jacksum
Version: 1.7.0-4
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
> dh_installdirs
>  dpkg-genchanges --build=all >../jacksum_1.7.0-4_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/jacksum_1.7.0-4_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, Anuradha Weeraman (anu) <aweeraman@gmail.com>:
Bug#831968; Package src:jacksum. (Fri, 22 Jul 2016 14:54:37 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Anuradha Weeraman (anu) <aweeraman@gmail.com>. (Fri, 22 Jul 2016 14:54:37 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: Lucas Nussbaum <lucas@debian.org>
Cc: 831968@bugs.debian.org, Debian BTS <control@bugs.debian.org>
Subject: Re: jacksum: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Fri, 22 Jul 2016 16:53:38 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 831968 + 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.
[jacksum.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,8 @@ build-stamp:
 	touch $@
 
 binary: binary-indep binary-arch
+
+binary-indep: build install
 	dh_testdir
 	dh_prep
 	dh_install
@@ -40,8 +42,6 @@ binary: binary-indep binary-arch
 
 binary-arch: build install
 
-binary-indep: build install
-
 install: build
 	dh_testdir
 	dh_testroot

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


Information forwarded to debian-bugs-dist@lists.debian.org, Anuradha Weeraman (anu) <aweeraman@gmail.com>:
Bug#831968; Package src:jacksum. (Wed, 21 Dec 2016 16:48:05 GMT) (full text, mbox, link).


Acknowledgement sent to Andrey Rahmatullin <wrar@debian.org>:
Extra info received and forwarded to list. Copy sent to Anuradha Weeraman (anu) <aweeraman@gmail.com>. (Wed, 21 Dec 2016 16:48:05 GMT) (full text, mbox, link).


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

From: Andrey Rahmatullin <wrar@debian.org>
To: 831968@bugs.debian.org
Subject: jacksum: diff for NMU version 1.7.0-4.1
Date: Wed, 21 Dec 2016 21:46:43 +0500
[Message part 1 (text/plain, inline)]

Dear maintainer,

I've prepared an NMU for jacksum (versioned as 1.7.0-4.1). The diff
is attached to this message.

Regards.

-- 
WBR, wRAR
[jacksum-1.7.0-4.1-nmu.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to Andrey Rahmatullin <wrar@debian.org>:
You have taken responsibility. (Wed, 21 Dec 2016 17:09:19 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Wed, 21 Dec 2016 17:09:19 GMT) (full text, mbox, link).


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

From: Andrey Rahmatullin <wrar@debian.org>
To: 831968-close@bugs.debian.org
Subject: Bug#831968: fixed in jacksum 1.7.0-4.1
Date: Wed, 21 Dec 2016 17:04:24 +0000
Source: jacksum
Source-Version: 1.7.0-4.1

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

Debian distribution maintenance software
pp.
Andrey Rahmatullin <wrar@debian.org> (supplier of updated jacksum 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: Wed, 21 Dec 2016 21:39:01 +0500
Source: jacksum
Binary: jacksum
Architecture: source
Version: 1.7.0-4.1
Distribution: unstable
Urgency: medium
Maintainer: Anuradha Weeraman (anu) <aweeraman@gmail.com>
Changed-By: Andrey Rahmatullin <wrar@debian.org>
Description:
 jacksum    - computes checksums, CRCs and message digests
Closes: 831968
Changes:
 jacksum (1.7.0-4.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS with dpkg-buildpackage -A, patch by Santiago Vila (Closes:
     #831968).
   * Add explicit debian/source/format.
Checksums-Sha1:
 5d57d2bc21c6b8a3fc898e82c7ee7a61ddecea71 1755 jacksum_1.7.0-4.1.dsc
 1dcb022b37fcdc6a2a8770a45a695b806338872e 15875 jacksum_1.7.0-4.1.diff.gz
Checksums-Sha256:
 2777736288ed20922e61974882c9cb01fd643b7a591000c71105da8f5ce0dc67 1755 jacksum_1.7.0-4.1.dsc
 2dc699193a8a7e3c754f0725ba13b01fb7fd2486559b938e420b2ddd18be22f9 15875 jacksum_1.7.0-4.1.diff.gz
Files:
 e7d9dbb11bcc0e921f4598cb88a1daa4 1755 utils extra jacksum_1.7.0-4.1.dsc
 51fd60e994c95e384eab80830f90ceaa 15875 utils extra jacksum_1.7.0-4.1.diff.gz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAlhasfgACgkQM2L3AxpJ
kuHDLQ//dZXtZaZFGs46lyLPwvv7twK96kBnWPbMpq7UsnTNnrJOwg9KwkNna35P
xNH0eBhQAk/J7gvMWizbfZdAvMKqg9FVGKuhBpVRHwRuHgzgEWDyJ66fsenQdd5Q
TY2fSqtfK/2QlSwfuHpIlXcVVuLCmBGrP3rNEDFrJ379YjzO4vEbwQv4YZe0S/fe
pSDqin2HhgWn/1HsUoQUbmw++pFUaMDR2i0xjATXAZegu2EubseGn1npZAYXV48d
80yyxgbU0x7kml124tZuexK/+YN7tu8Snb9uIBK5ujN0or7h4YHlkLJDDfrOvSUP
7ZW7S00azZtLP8xnrbj8aUkCCTI6tYTnR/QGqyQO08ac3AolEh0e3/oOBv3OecDy
zcN+x8YJNKn+I7ttg/vuPznSXL8RkeETQNpRWkLZUtTNfetXi4IlmpaYmJQYNqTm
3HEL0eLP6tNm5jJyc5eHZVrfy+xZ1JnVLfc2LjY5ltDAeDMhfXYF/krbOhYs5Gpd
/sWcnCOKew357k5ZPn9hpJM0yPWCIZagLWDYiTE20KJSIsyT2uN7u596GKcgP7Rn
ozPTVYG5mtW9GAIJ9sPA7nCcZwmx6DalGAW4NbwxKxWjqd/b5kKUkz2ivndij3Uf
O+pG/Gy+LO7gEhfJYd476HlDRttAXIp7NsVmd3/l3minyTnfsbg=
=V+ty
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 30 Jan 2017 07:37:08 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:34 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.