Debian Bug report logs -
#831951
g2p-sk: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Reported by: Lucas Nussbaum <lucas@debian.org>
Date: Wed, 20 Jul 2016 19:39:24 UTC
Severity: serious
Tags: patch, sid, stretch
Found in version g2p-sk/0.4.2-1
Done: Tobias Frost <tobi@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Ďoďo Ivanecký <dodo.sk@gmail.com>:
Bug#831951; Package src:g2p-sk.
(Wed, 20 Jul 2016 19:39:28 GMT) (full text, mbox, link).
Acknowledgement sent
to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Ďoďo Ivanecký <dodo.sk@gmail.com>.
(Wed, 20 Jul 2016 19:39:28 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: g2p-sk
Version: 0.4.2-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
> 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/g2p-sk.
> #/usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/g2p-sk
> cp -v Trans_morfems.pm /<<PKGBUILDDIR>>/debian/g2p-sk/usr/share/perl5/g2p_sk/
> 'Trans_morfems.pm' -> '/<<PKGBUILDDIR>>/debian/g2p-sk/usr/share/perl5/g2p_sk/Trans_morfems.pm'
> cp -v Trans_cod.pm /<<PKGBUILDDIR>>/debian/g2p-sk/usr/share/perl5/g2p_sk/
> 'Trans_cod.pm' -> '/<<PKGBUILDDIR>>/debian/g2p-sk/usr/share/perl5/g2p_sk/Trans_cod.pm'
> cp -v -r Exceptions /<<PKGBUILDDIR>>/debian/g2p-sk/usr/share/g2p_sk/
> 'Exceptions' -> '/<<PKGBUILDDIR>>/debian/g2p-sk/usr/share/g2p_sk/Exceptions'
> 'Exceptions/morfemy.ddat' -> '/<<PKGBUILDDIR>>/debian/g2p-sk/usr/share/g2p_sk/Exceptions/morfemy.ddat'
> 'Exceptions/general_iso.ddat' -> '/<<PKGBUILDDIR>>/debian/g2p-sk/usr/share/g2p_sk/Exceptions/general_iso.ddat'
> 'Exceptions/na_konci_ou.txt' -> '/<<PKGBUILDDIR>>/debian/g2p-sk/usr/share/g2p_sk/Exceptions/na_konci_ou.txt'
> 'Exceptions/priaeu_iso.ddat' -> '/<<PKGBUILDDIR>>/debian/g2p-sk/usr/share/g2p_sk/Exceptions/priaeu_iso.ddat'
> cp -v g2p-sk /<<PKGBUILDDIR>>/debian/g2p-sk/usr/bin/
> 'g2p-sk' -> '/<<PKGBUILDDIR>>/debian/g2p-sk/usr/bin/g2p-sk'
> dpkg-genchanges --build=all >../g2p-sk_0.4.2-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/g2p-sk_0.4.2-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, Ďoďo Ivanecký <dodo.sk@gmail.com>:
Bug#831951; Package src:g2p-sk.
(Fri, 22 Jul 2016 13:45:21 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Ďoďo Ivanecký <dodo.sk@gmail.com>.
(Fri, 22 Jul 2016 13:45:21 GMT) (full text, mbox, link).
Message #10 received at 831951@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 831951 + 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.
[g2p-sk.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -62,12 +62,12 @@ install: build
cp -v -r Exceptions $(CURDIR)/debian/g2p-sk/usr/share/g2p_sk/
cp -v g2p-sk $(CURDIR)/debian/g2p-sk/usr/bin/
-# 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 13:45: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:30 GMT) (full text, mbox, link).
Reply sent
to Tobias Frost <tobi@debian.org>:
You have taken responsibility.
(Sat, 24 Sep 2016 13:39:06 GMT) (full text, mbox, link).
Notification sent
to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer.
(Sat, 24 Sep 2016 13:39:06 GMT) (full text, mbox, link).
Message #19 received at 831951-done@bugs.debian.org (full text, mbox, reply):
Control: fixed -1 0.4.2-2
Already fixed in latest upload, but not closed in changelog.
--
tobi
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 23 Oct 2016 07:26:09 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:04:52 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.