Debian Bug report logs -
#831953
dctrl2xml: FTBFS with dpkg-buildpackage -A: doc/dctrl2xml.1: No such file or directory at /usr/bin/dh_installman line 131.
Reported by: Lucas Nussbaum <lucas@debian.org>
Date: Wed, 20 Jul 2016 19:39:34 UTC
Severity: serious
Tags: buster, patch, sid, stretch
Found in version dctrl2xml/0.18+nmu1
Fixed in version dctrl2xml/0.19
Done: Adam Borowski <kilobyte@angband.pl>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Frank S. Thomas <fst@debian.org>:
Bug#831953; Package src:dctrl2xml.
(Wed, 20 Jul 2016 19:39:39 GMT) (full text, mbox, link).
Acknowledgement sent
to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Frank S. Thomas <fst@debian.org>.
(Wed, 20 Jul 2016 19:39:39 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: dctrl2xml
Version: 0.18+nmu1
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.
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 build-indep and 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 binary-indep --with python2
> dh_testroot -i
> dh_prep -i
> dh_auto_install -i
> pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
> pyversions: missing debian/pyversions file, fall back to supported versions
> python setup.py install --force --root=/<<BUILDDIR>>/dctrl2xml-0.18\+nmu1/debian/dctrl2xml --no-compile -O0 --install-layout=deb
> running install
> running build
> running build_scripts
> running install_scripts
> creating /<<BUILDDIR>>/dctrl2xml-0.18+nmu1/debian/dctrl2xml/usr
> creating /<<BUILDDIR>>/dctrl2xml-0.18+nmu1/debian/dctrl2xml/usr/bin
> copying build/scripts-2.7/dctrl2xml -> /<<BUILDDIR>>/dctrl2xml-0.18+nmu1/debian/dctrl2xml/usr/bin
> changing mode of /<<BUILDDIR>>/dctrl2xml-0.18+nmu1/debian/dctrl2xml/usr/bin/dctrl2xml to 775
> running install_egg_info
> Creating /<<BUILDDIR>>/dctrl2xml-0.18+nmu1/debian/dctrl2xml/usr/lib/python2.7/dist-packages/
> Writing /<<BUILDDIR>>/dctrl2xml-0.18+nmu1/debian/dctrl2xml/usr/lib/python2.7/dist-packages/dctrl2xml-0.18.egg-info
> dh_installdocs -i
> dh_installchangelogs -i
> dh_installexamples -i
> dh_installman -i
> doc/dctrl2xml.1: No such file or directory at /usr/bin/dh_installman line 131.
> debian/rules:12: recipe for target 'binary-indep' failed
> make: *** [binary-indep] Error 2
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/07/20/dctrl2xml_0.18+nmu1_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, Frank S. Thomas <fst@debian.org>:
Bug#831953; Package src:dctrl2xml.
(Sat, 23 Jul 2016 11:18:21 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Frank S. Thomas <fst@debian.org>.
(Sat, 23 Jul 2016 11:18:21 GMT) (full text, mbox, link).
Message #10 received at 831953@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 831953 + patch
thanks
There is a build target, but there is not a "build-indep" target,
so "dh build" seems not to work at all when we create arch-independent
packages only (as in this case).
I would suggest removing build target and using override_dh_auto_build
instead, as in the attached patch. This is also more "dh"-style.
Thanks.
[dctrl2xml.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
-build:
- dh build
+override_dh_auto_build:
+ dh_auto_build
$(MAKE) -C doc
clean:
Added tag(s) patch.
Request was from Santiago Vila <sanvila@unex.es>
to control@bugs.debian.org.
(Sat, 23 Jul 2016 11:18:37 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:32 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).
Reply sent
to Adam Borowski <kilobyte@angband.pl>:
You have taken responsibility.
(Tue, 25 Jul 2017 04:51:03 GMT) (full text, mbox, link).
Notification sent
to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer.
(Tue, 25 Jul 2017 04:51:04 GMT) (full text, mbox, link).
Message #21 received at 831953-close@bugs.debian.org (full text, mbox, reply):
Source: dctrl2xml
Source-Version: 0.19
We believe that the bug you reported is fixed in the latest version of
dctrl2xml, 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 831953@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adam Borowski <kilobyte@angband.pl> (supplier of updated dctrl2xml 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, 25 Jul 2017 06:18:21 +0200
Source: dctrl2xml
Binary: dctrl2xml
Architecture: source
Version: 0.19
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adam Borowski <kilobyte@angband.pl>
Description:
dctrl2xml - Debian control data to XML converter
Closes: 831953
Changes:
dctrl2xml (0.19) unstable; urgency=medium
.
* QA upload.
* Set maintainer to the QA team.
* Fix FTBFS with --no-arch-any [Santiago Vila] (Closes: #831953)
* Debhelper 10.
Checksums-Sha1:
cf8ed1b022ef86118b46b96f3b59638f0e148416 1269 dctrl2xml_0.19.dsc
8c43973b39b195a42f391a319be373bc9b4e44d8 23748 dctrl2xml_0.19.tar.xz
0a9b6e43ca0104459d146c134df233d28aa2c87f 5631 dctrl2xml_0.19_source.buildinfo
Checksums-Sha256:
d828dea856dd9612fd9dca5e99c9a1e7dd80547c038f059c0a0f0d8d106d8f97 1269 dctrl2xml_0.19.dsc
832a9792379e5da48247fdfab6e9c0f3dcf3d6fce9d5ee9cb3711b720e41466b 23748 dctrl2xml_0.19.tar.xz
897700d3c267c07a137a5eae058b9fafe35eb55f237fd00c0f564c9f9ce94025 5631 dctrl2xml_0.19_source.buildinfo
Files:
ee627206c8568cb55d19889d7d16f714 1269 utils optional dctrl2xml_0.19.dsc
79f7e93e85db53d7e52ebd0cd7406120 23748 utils optional dctrl2xml_0.19.tar.xz
ffc6832503b0026f2ce550a2e328c7c3 5631 utils optional dctrl2xml_0.19_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFIBAEBCgAyFiEE/Zzi2Nd1S3irJ5u9LDtDb+rGgQEFAll2xqEUHGtpbG9ieXRl
QGFuZ2JhbmQucGwACgkQLDtDb+rGgQF+kAf/R7mBejxUkW0JRinfQlSI3TVVstYG
8Sv/MG8nhLJathmINyX5reQL9ig3UFusAOjfMVwl/D6nFjmfl0ZHZdGlGRWPPtL/
LQ9jzK/z+PLdBDYNCFfA6Guo9JbUZVYLDnXoaR6rZYblt+09kX6jAHtVClAeKqLW
x/G0nnYREsSSxpt+5TwSNknniIPar4AyiNcUMcIhACp/PRIZGgl6NB3DzP7dLTmK
tiTXLQh7SaiF4yxzsL3pPQmL23ORRhrlpOFnLrWTKS7ZJiosNcBX9UFrMpYCB3h7
7LPaVb4TJQvuCgIEfTfPpzmxP6AXJY7euPbSzJUx9o01Xg99M8PBLjkKNg==
=1Ih3
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 22 Aug 2017 07:29:50 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:18 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.