Debian Bug report logs -
#806221
fakechroot: FTBFS when built with dpkg-buildpackage -A (Directory nonexistent)
Reported by: Santiago Vila <sanvila@debian.org>
Date: Wed, 25 Nov 2015 14:36:14 UTC
Severity: serious
Tags: patch
Found in version fakechroot/2.18-1
Fixed in version fakechroot/2.18-1.1
Done: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, sanvila@debian.org, Piotr Roszatycki <dexter@debian.org>:
Bug#806221; Package src:fakechroot.
(Wed, 25 Nov 2015 14:36:18 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, Piotr Roszatycki <dexter@debian.org>.
(Wed, 25 Nov 2015 14:36:18 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: src:fakechroot
Version: 2.18-1
User: sanvila@debian.org
Usertags: binary-indep
Severity: important
Dear maintainer:
I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --parallel --with autoreconf
dh_testdir -i -O--parallel
dh_autoreconf -i -O--parallel
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
[... snipped ...]
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making install in scripts
make[3]: Entering directory '/<<PKGBUILDDIR>>/scripts'
make[4]: Entering directory '/<<PKGBUILDDIR>>/scripts'
/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
/usr/bin/install -c env.fakechroot fakechroot ldd.fakechroot '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/sbin'
/usr/bin/install -c chroot.fakechroot '/<<PKGBUILDDIR>>/debian/tmp/usr/sbin'
/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/etc/fakechroot'
/usr/bin/install -c -m 644 chroot.env debootstrap.env rinse.env '/<<PKGBUILDDIR>>/debian/tmp/etc/fakechroot'
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/scripts'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/scripts'
Making install in test
make[3]: Entering directory '/<<PKGBUILDDIR>>/test'
Making install in src
make[4]: Entering directory '/<<PKGBUILDDIR>>/test/src'
make[5]: Entering directory '/<<PKGBUILDDIR>>/test/src'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/test/src'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/test/src'
make[4]: Entering directory '/<<PKGBUILDDIR>>/test'
make[5]: Entering directory '/<<PKGBUILDDIR>>/test'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Entering directory '/<<PKGBUILDDIR>>'
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>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
echo /usr/lib/x86_64-linux-gnu/fakechroot > debian/libfakechroot/etc/ld.so.conf.d/fakechroot-x86_64-linux-gnu.conf
/bin/sh: 1: cannot create debian/libfakechroot/etc/ld.so.conf.d/fakechroot-x86_64-linux-gnu.conf: Directory nonexistent
debian/rules:17: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:11: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------
Sorry not to have a fix, as I am reporting many bugs similar to
this one.
In this case, I see that you are using "dh", which allow
(independently) optional targets override_dh_foo-arch and
override_dh_foo-indep (for several values of "foo").
Maybe using them this problem could be fixed.
Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.
Thanks.
Information forwarded
to debian-bugs-dist@lists.debian.org, Piotr Roszatycki <dexter@debian.org>:
Bug#806221; Package src:fakechroot.
(Fri, 08 Apr 2016 17:12:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Piotr Roszatycki <dexter@debian.org>.
(Fri, 08 Apr 2016 17:12:05 GMT) (full text, mbox, link).
Message #10 received at 806221@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 806221 + patch
thanks
> echo /usr/lib/x86_64-linux-gnu/fakechroot > debian/libfakechroot/etc/ld.so.conf.d/fakechroot-x86_64-linux-gnu.conf
> /bin/sh: 1: cannot create debian/libfakechroot/etc/ld.so.conf.d/fakechroot-x86_64-linux-gnu.conf: Directory nonexistent
> debian/rules:17: recipe for target 'override_dh_auto_install' failed
Explanation: We are creating arch-independent packages only, so
debian/libfakechroot does not exist.
The trivial fix is to override dh_auto_install only when creating
arch-dependent packages (not always), as in the following patch.
Thanks.
[fakechroot.patch.txt (text/plain, attachment)]
Added tag(s) patch.
Request was from Santiago Vila <sanvila@unex.es>
to control@bugs.debian.org.
(Fri, 08 Apr 2016 17:15:09 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Piotr Roszatycki <dexter@debian.org>:
Bug#806221; Package src:fakechroot.
(Wed, 13 Jul 2016 21:27:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Piotr Roszatycki <dexter@debian.org>.
(Wed, 13 Jul 2016 21:27:10 GMT) (full text, mbox, link).
Message #17 received at 806221@bugs.debian.org (full text, mbox, reply):
Greetings.
I have the ok from the Release Managers to consider this issue as RC
for stretch. I'm going to wait at least one week before raising
this to "serious".
There is a patch available for this bug. If you need someone to make
an upload, please ask for a sponsor in debian-mentors.
Thanks.
Severity set to 'serious' from 'important'
Request was from Santiago Vila <sanvila@debian.org>
to control@bugs.debian.org.
(Mon, 01 Aug 2016 21:15:41 GMT) (full text, mbox, link).
Reply sent
to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
You have taken responsibility.
(Tue, 02 Aug 2016 19:39:04 GMT) (full text, mbox, link).
Notification sent
to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer.
(Tue, 02 Aug 2016 19:39:04 GMT) (full text, mbox, link).
Message #24 received at 806221-close@bugs.debian.org (full text, mbox, reply):
Source: fakechroot
Source-Version: 2.18-1.1
We believe that the bug you reported is fixed in the latest version of
fakechroot, 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 806221@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Kahn Gillmor <dkg@fifthhorseman.net> (supplier of updated fakechroot 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: Tue, 02 Aug 2016 14:38:50 -0400
Source: fakechroot
Binary: fakechroot libfakechroot
Architecture: source
Version: 2.18-1.1
Distribution: unstable
Urgency: medium
Maintainer: Piotr Roszatycki <dexter@debian.org>
Changed-By: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Description:
fakechroot - gives a fake chroot environment - utilities
libfakechroot - gives a fake chroot environment - runtime
Closes: 806221
Changes:
fakechroot (2.18-1.1) unstable; urgency=medium
.
* non-maintainer upload
* avoid using debian/libfakechroot when doing arch-independent builds
(Closes: #806221) Thanks to Santiago Villa for the patch.
* added libjemalloc1 <!nocheck> to Build-Depends for better test suite
coverage.
* packaging metadata cleanup
Checksums-Sha1:
34c87de50542fbb9dcd57ee765b7ab95f0babe84 2149 fakechroot_2.18-1.1.dsc
55b5a21d9bff1b5b3688df8b69cfd338e2861e50 9364 fakechroot_2.18-1.1.debian.tar.xz
Checksums-Sha256:
2af49579e074dc8c8287910bd44c4013d3f6d7b1a74c9a1c715a426e63c9eb4d 2149 fakechroot_2.18-1.1.dsc
1a41c62e8861c4201b92803d91cafd9d01bd3a7e3156b7a1bc0659a3e8214367 9364 fakechroot_2.18-1.1.debian.tar.xz
Files:
e3165d51c7a290082c7192a4fddf83c8 2149 utils optional fakechroot_2.18-1.1.dsc
33a2138fcb52bf7dcb6a34e06ac9c42d 9364 utils optional fakechroot_2.18-1.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQKTBAEBCgB9BQJXoPMhXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFREIyRTc0RjU2RkNGMkI2NzI5N0I3MzUy
NEVDRkY1QUZGNjgzNzBBFhxka2dAZmlmdGhob3JzZW1hbi5uZXQACgkQJOz/Wv9o
NwoT4g/9HHoJmdmIUbWKGPIOpPeOoN4ge8S9YnNv3LOMh+cC8vm9U6lhg86HjExI
aZ6MjhMNtqrG29VctrI2ojgcsSGQFCD1d3078ZejZS5iXxvjjPjH7iqibeZjUAwc
3bIemawz3/xlL/AMGQhWLOJqiJDdfNEPF+mSLjIxyRpLuz1/kJ61NcXWX9P+Gf/C
qlY3yVzcqoUIpAyO6iP3r0vBG/MRAl1X/no6VWohabZtEBpDFv0uLISSDqfgDEIw
yGeNWlHTmILiLCK9H/8w554kb6SsExvmtOwcjAzT2KUApccTnhhzJMTqBr56GSAA
nfke/Svgxm0tcBhiuSyen4CVuyvmYOwaLO6I5DLQb9MpTBOHXC0X1HuFrhI6hAQO
4NDWnrLxYCsLi56Ed5gj7p422/m9QMyhHYrq7rsGdnNomZ7fBwbpyeDbuR2GHgRV
koxkP6A8/o6RwYHi6Ib3lN98MvlM6LAI4lWijiyWCfqs4w0+CwVUmlIlKTfoUwmo
ZfulD3AuOJGDytLxgKBNQZGlHP83vMQieeuT7xZBGuhTTXHOIWV8y3pHJpXjxeKu
43+6nXY97fi4670um1tAC0MGI2+zkvYqi8bdHICIcYJFqNHkXAjvZWtNdm7KUT4Z
ZrEHFWNZ1e7q+B6e1/Myezco55kSwJVmt6fR7w4ftk7pleq4pxo=
=2vwB
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 31 Aug 2016 07:26:54 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:07:33 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.