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

version graph

Package: src:yocto-reader; Maintainer for src:yocto-reader is Loic Dachary (OuoU) <loic@debian.org>;

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

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

Severity: serious

Tags: patch, sid, stretch

Found in version yocto-reader/0.9.4+nmu1

Fixed in version 0.9.4+nmu1+rm

Done: Debian FTP Masters <ftpmaster@ftp-master.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, Loic Dachary (OuoU) <loic@debian.org>:
Bug#831956; Package src:yocto-reader. (Wed, 20 Jul 2016 19:39:55 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Loic Dachary (OuoU) <loic@debian.org>. (Wed, 20 Jul 2016 19:39:55 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: yocto-reader: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Wed, 20 Jul 2016 21:07:41 +0200
Source: yocto-reader
Version: 0.9.4+nmu1
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):
> make[1]: Entering directory '/<<BUILDDIR>>/yocto-reader-0.9.4+nmu1'
> 1997 blocks
> mkdir -p /<<BUILDDIR>>/yocto-reader-0.9.4+nmu1/debian/yocto-reader/usr/share/yocto-reader
> cp -r \
> 	feedread.html permalinks.html reader themes \
> 	/<<BUILDDIR>>/yocto-reader-0.9.4+nmu1/debian/yocto-reader/usr/share/yocto-reader
> (cd /<<BUILDDIR>>/yocto-reader-0.9.4+nmu1/debian/yocto-reader/usr/share/yocto-reader; /bin/ln -s feedread.html index.html)
> mkdir -p /<<BUILDDIR>>/yocto-reader-0.9.4+nmu1/debian/yocto-reader/etc/yocto-reader
> mv /<<BUILDDIR>>/yocto-reader-0.9.4+nmu1/debian/yocto-reader/usr/share/yocto-reader/reader/mockapi.js \
> 	/<<BUILDDIR>>/yocto-reader-0.9.4+nmu1/debian/yocto-reader/etc/yocto-reader
> ln -s /etc/yocto-reader/mockapi.js \
> 	/<<BUILDDIR>>/yocto-reader-0.9.4+nmu1/debian/yocto-reader/usr/share/yocto-reader/reader/mockapi.js
> (VERSION=`dpkg-parsechangelog -S version`; /bin/cp yocto-reader-$VERSION.tar.gz /<<BUILDDIR>>/yocto-reader-0.9.4+nmu1/debian/yocto-reader/usr/share/yocto-reader; cd /<<BUILDDIR>>/yocto-reader-0.9.4+nmu1/debian/yocto-reader/usr/share/yocto-reader; /bin/ln -s yocto-reader-$VERSION.tar.gz yocto-reader.tar.gz)
> make[1]: Leaving directory '/<<BUILDDIR>>/yocto-reader-0.9.4+nmu1'
>  dpkg-genchanges --build=all >../yocto-reader_0.9.4+nmu1_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/yocto-reader_0.9.4+nmu1_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, Loic Dachary (OuoU) <loic@debian.org>:
Bug#831956; Package src:yocto-reader. (Fri, 22 Jul 2016 14:54:09 GMT) (full text, mbox, link).


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


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

From: Santiago Vila <sanvila@unex.es>
To: Lucas Nussbaum <lucas@debian.org>
Cc: 831956@bugs.debian.org, Debian BTS <control@bugs.debian.org>
Subject: Re: yocto-reader: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Fri, 22 Jul 2016 16:52:39 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 831956 + 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.
[yocto-reader.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -57,12 +57,12 @@ install: build
 	$(MAKE) DESTDIR=$(CURDIR)/debian/yocto-reader install
 
 
-# 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 14:54:22 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:34 GMT) (full text, mbox, link).


Reply sent to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility. (Fri, 03 Feb 2017 15:06:16 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Fri, 03 Feb 2017 15:06:16 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 706235-done@bugs.debian.org,777357-done@bugs.debian.org,831956-done@bugs.debian.org,846559-done@bugs.debian.org,
Cc: yocto-reader@packages.debian.org, yocto-reader@packages.qa.debian.org
Subject: Bug#854029: Removed package(s) from unstable
Date: Fri, 03 Feb 2017 15:02:36 +0000
Version: 0.9.4+nmu1+rm

Dear submitter,

as the package yocto-reader has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/854029

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 04 Mar 2017 07:33:49 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:43 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.