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

version graph

Package: src:docbook2odf; Maintainer for src:docbook2odf is Alexander Wirt <formorer@debian.org>;

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

Date: Wed, 20 Jul 2016 19:37:12 UTC

Severity: serious

Tags: buster, patch, sid, stretch

Found in version docbook2odf/0.244-1.1

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Alexander Wirt <formorer@debian.org>:
Bug#831925; Package src:docbook2odf. (Wed, 20 Jul 2016 19:37:17 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Alexander Wirt <formorer@debian.org>. (Wed, 20 Jul 2016 19:37:17 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: docbook2odf: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Wed, 20 Jul 2016 21:06:10 +0200
Source: docbook2odf
Version: 0.244-1.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
> # Add here commands to compile the package.
> #/usr/bin/make
> #docbook-to-man debian/docbook2odf.sgml > docbook2odf.1
> touch build-stamp
> 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/docbook2odf.
> #/usr/bin/make DESTDIR=/<<PKGBUILDDIR>>/debian/docbook2odf install
>  dpkg-genchanges --build=all >../docbook2odf_0.244-1.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/docbook2odf_0.244-1.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, Alexander Wirt <formorer@debian.org>:
Bug#831925; Package src:docbook2odf. (Thu, 21 Jul 2016 19:39:06 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Alexander Wirt <formorer@debian.org>. (Thu, 21 Jul 2016 19:39:06 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: Lucas Nussbaum <lucas@debian.org>
Cc: 831925@bugs.debian.org, Debian BTS <control@bugs.debian.org>
Subject: Re: docbook2odf: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Date: Thu, 21 Jul 2016 21:35:21 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 831925 + patch
thanks

Swapped binary-* targets.

Trivial patch attached.
[docbook2odf.patch.txt (text/plain, attachment)]

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


Added tag(s) buster. Request was from ivodd@debian.org to control@bugs.debian.org. (Sun, 18 Jun 2017 09:56:24 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:52:12 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.