Debian Bug report logs -
#831939
jailer: 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:38:23 UTC
Severity: serious
Tags: buster, patch, sid, stretch
Found in version jailer/0.4-17.1
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Javier Fernandez-Sanguino Pen~a <jfs@debian.org>:
Bug#831939; Package src:jailer.
(Wed, 20 Jul 2016 19:38:27 GMT) (full text, mbox, link).
Acknowledgement sent
to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@debian.org>.
(Wed, 20 Jul 2016 19:38:27 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: jailer
Version: 0.4-17.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):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/doc'
> make[4]: Nothing to be done for 'install-exec-am'.
> make[4]: Nothing to be done for 'install-data-am'.
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> # rename jailer.pl to jailer
> mv `pwd`/debian/jailer/usr/sbin/jailer.pl `pwd`/debian/jailer/usr/sbin/jailer
> dpkg-genchanges --build=all >../jailer_0.4-17.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/jailer_0.4-17.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, Javier Fernandez-Sanguino Pen~a <jfs@debian.org>:
Bug#831939; Package src:jailer.
(Fri, 22 Jul 2016 13:45:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <jfs@debian.org>.
(Fri, 22 Jul 2016 13:45:07 GMT) (full text, mbox, link).
Message #10 received at 831939@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 831939 + 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.
[jailer.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -31,12 +31,12 @@ install: build
# rename jailer.pl to jailer
mv `pwd`/debian/jailer/usr/sbin/jailer.pl `pwd`/debian/jailer/usr/sbin/jailer
-# 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 13:45:32 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:23 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:25 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:31 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.