Debian Bug report logs -
#806075
maradns: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Reported by: Santiago Vila <sanvila@debian.org>
Date: Tue, 24 Nov 2015 15:33:03 UTC
Severity: serious
Tags: patch
Found in version maradns/2.0.13-1
Fixed in version maradns/2.0.13-1.2
Done: Christian Hofstaedtler <zeha@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, sanvila@debian.org, Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>:
Bug#806075; Package src:maradns.
(Tue, 24 Nov 2015 15:33:07 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, Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>.
(Tue, 24 Nov 2015 15:33:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: src:maradns
Version: 2.0.13-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:
--------------------------------------------------------------------------------
[...]
fakeroot debian/rules binary-indep
dh binary-indep --with python2
dh_testroot -i
dh_prep -i
dh_auto_install -i
make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>'
echo Please compile MaraDNS first
Please compile MaraDNS first
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
mv /<<PKGBUILDDIR>>/debian/maradns/usr/sbin/bind2csv2.py /<<PKGBUILDDIR>>/debian/maradns/usr/sbin/bind2csv2
mv: cannot stat '/<<PKGBUILDDIR>>/debian/maradns/usr/sbin/bind2csv2.py': No such file or directory
debian/rules:42: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:19: 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, but I can give some general hints:
* 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 works in all cases, even when binary-arch is not used (this is
what the "Architecture: all" autobuilder does). For that:
* If you are using debhelper, you might want to use options -a and -i
for dh_* commands so that they do not act on packages they do not
have to act.
* Also, if you are using dh, the (independently) optional targets
override_dh_foo-arch and override_dh_foo-indep (for several values
of "foo") may be useful to write a debian/rules which behaves exactly
as desired.
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 (you might want to try it).
Thanks.
Information forwarded
to debian-bugs-dist@lists.debian.org, Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>:
Bug#806075; Package src:maradns.
(Sun, 08 May 2016 16:57:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>.
(Sun, 08 May 2016 16:57:04 GMT) (full text, mbox, link).
Message #10 received at 806075@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 806075 + patch
thanks
> dh_install
> mv /<<PKGBUILDDIR>>/debian/maradns/usr/sbin/bind2csv2.py /<<PKGBUILDDIR>>/debian/maradns/usr/sbin/bind2csv2
> mv: cannot stat '/<<PKGBUILDDIR>>/debian/maradns/usr/sbin/bind2csv2.py': No such file or directory
> debian/rules:42: recipe for target 'override_dh_install' failed
> make[1]: *** [override_dh_install] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> debian/rules:19: recipe for target 'binary-indep' failed
> make: *** [binary-indep] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
> --------------------------------------------------------------------------------
Explanation: We are creating arch-independent packages only, so
debian/maradns/[...] does not exist because maradns is arch-dependent.
Patch attached.
[maradns.patch.txt (text/plain, attachment)]
Added tag(s) patch.
Request was from Santiago Vila <sanvila@unex.es>
to control@bugs.debian.org.
(Sun, 08 May 2016 16:57:06 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>:
Bug#806075; Package src:maradns.
(Wed, 13 Jul 2016 21:24:11 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>.
(Wed, 13 Jul 2016 21:24:11 GMT) (full text, mbox, link).
Message #17 received at 806075@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:31 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>:
Bug#806075; Package src:maradns.
(Tue, 09 Aug 2016 19:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to zeha@debian.org:
Extra info received and forwarded to list. Copy sent to Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>.
(Tue, 09 Aug 2016 19:51:04 GMT) (full text, mbox, link).
Message #24 received at 806075@bugs.debian.org (full text, mbox, reply):
Control: tags 806075 + pending
Dear maintainer,
I've prepared an NMU for maradns (versioned as 2.0.13-1.2) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.
Cheers,
Chris.
diff -Nru maradns-2.0.13/debian/changelog maradns-2.0.13/debian/changelog
--- maradns-2.0.13/debian/changelog 2016-07-01 15:38:52.000000000 +0000
+++ maradns-2.0.13/debian/changelog 2016-08-09 19:39:43.000000000 +0000
@@ -1,3 +1,11 @@
+maradns (2.0.13-1.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS when built with dpkg-buildpackage -A.
+ (Closes: #806075). Patch and report by Santiago Vila <sanvila@unex.es>.
+
+ -- Christian Hofstaedtler <zeha@debian.org> Tue, 09 Aug 2016 19:39:43 +0000
+
maradns (2.0.13-1.1) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru maradns-2.0.13/debian/rules maradns-2.0.13/debian/rules
--- maradns-2.0.13/debian/rules 2015-10-03 07:37:13.000000000 +0000
+++ maradns-2.0.13/debian/rules 2016-08-09 19:39:40.000000000 +0000
@@ -38,7 +38,7 @@
make -f $(MAKEFILE) all COMPILED=\"${COMPILED}\" VERSION=\"${VERSION}\"
mv rng/rng-32bit-tables.h.bak rng/rng-32bit-tables.h
-override_dh_install:
+override_dh_install-arch:
dh_install
mv $(TMP)/usr/sbin/bind2csv2.py $(TMP)/usr/sbin/bind2csv2
@@ -48,7 +48,7 @@
override_dh_installexamples:
dh_installexamples -XMakefile
-override_dh_installman:
+override_dh_installman-arch:
dh_installman
cd $(CURDIR)/debian/maradns-deadwood/usr/share/man/man1/ && mv Deadwood.1 deadwood.1 && cd -
Added tag(s) pending.
Request was from zeha@debian.org
to 806075-submit@bugs.debian.org.
(Tue, 09 Aug 2016 19:51:04 GMT) (full text, mbox, link).
Reply sent
to Christian Hofstaedtler <zeha@debian.org>:
You have taken responsibility.
(Sun, 14 Aug 2016 22:12:05 GMT) (full text, mbox, link).
Notification sent
to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer.
(Sun, 14 Aug 2016 22:12:05 GMT) (full text, mbox, link).
Message #31 received at 806075-close@bugs.debian.org (full text, mbox, reply):
Source: maradns
Source-Version: 2.0.13-1.2
We believe that the bug you reported is fixed in the latest version of
maradns, 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 806075@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christian Hofstaedtler <zeha@debian.org> (supplier of updated maradns 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: SHA256
Format: 1.8
Date: Tue, 09 Aug 2016 19:39:43 +0000
Source: maradns
Binary: maradns maradns-zoneserver maradns-deadwood duende maradns-docs
Architecture: source
Version: 2.0.13-1.2
Distribution: unstable
Urgency: medium
Maintainer: Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>
Changed-By: Christian Hofstaedtler <zeha@debian.org>
Description:
duende - logging daemonizer
maradns - simple security-focused authoritative Domain Name Service server
maradns-deadwood - simple security-focused recursive Domain Name Service server
maradns-docs - upstream documentation for the MaraDNS Domain Name Service server
maradns-zoneserver - complementary server process to TCP functions for MaraDNS
Closes: 806075
Changes:
maradns (2.0.13-1.2) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix FTBFS when built with dpkg-buildpackage -A.
(Closes: #806075). Patch and report by Santiago Vila <sanvila@unex.es>.
Checksums-Sha1:
dca779a262e5d07f3553d9da2265bfa709587940 2094 maradns_2.0.13-1.2.dsc
30fd96ee856c68b22258220f93760a42ad6db7ff 41788 maradns_2.0.13-1.2.debian.tar.xz
Checksums-Sha256:
d066427c20e4ebfb628736ce58ebca287d4a3f477fd82f22c99ba4488a7a388c 2094 maradns_2.0.13-1.2.dsc
240d06067e76e61982cf96881df45ccf33f414bc7576e0b61141f697ddc2bb2f 41788 maradns_2.0.13-1.2.debian.tar.xz
Files:
e2cf91770e5a457c7170d72ec6e52025 2094 net extra maradns_2.0.13-1.2.dsc
be9a7172971f0e6e0c213cfd4a92cf45 41788 net extra maradns_2.0.13-1.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXqjPzAAoJEFwT1tuTBS4DUEAP/0cBRfRJA5F2lW3TPfieS2aa
uMazzjKrH6+i0UercmUx7C2JWajVM4wnZSsbUP70MjarMVt76VmOJTpacldDjEgG
GPPoFb/P6hNwU4uDdT66DYrgCEj7fSZMHvdmRnU3gh7uSKu5rm1lW+g2Gv2uIDYS
8nM4hLgmxj1ftfoxLa9T+BKD7zHPKCZzWyWfOjXiSGQIewk8PmP0xOci0Pj8iDpN
zodtNPTl5rAc/rwSao28qcx9D6biW0V3fWe4tNeDSQGsYGG5g+uGGAJGYNH1n8xK
ByuyTFZbEWzBaUYNzfyfAQ5ZFbMuAnIHAH6aT3PxLyq8oU6bjbtTT91PnR6fxJ0o
a+OsjYn80TDwUQkrnyDprLqOtmE8wLLVcIKvUXxIOmzGLxEc/cZgd/Pe4gP+PFun
KSJpnY1PMlLdXGxWDjr/fuMdvO/pHBD3O2xFm6iJywU49sg7NVApEmCcIOkEMThP
bQGNiMXJfqfrriSubVOhJIIcMOS9jMgmG1VYqxzD6ztagjxsIPjOlTBT1IRmRTXS
6bkInzHZOvPrkxigtUeYTD3uZewMri3hjwAEInCVGutVJqgcyBGU+JjHLmDLE71H
wLOUML/EIRF4gavLJF+MB5YdcUnqATBNTLPIBU5ZtsoU1jHw6RiXB7FTjRsefydZ
OWn18IgB5o+a3sxsbxs3
=RoGw
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 12 Sep 2016 07:33:19 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:05:14 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.