Debian Bug report logs -
#806655
libzen: FTBFS when built with dpkg-buildpackage -A (dh_installdocs fails)
Reported by: Santiago Vila <sanvila@debian.org>
Date: Sun, 29 Nov 2015 20:27:10 UTC
Severity: serious
Tags: patch
Found in version libzen/0.4.32-1
Fixed in version libzen/0.4.33-3
Done: Chow Loong Jin <hyperair@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, Chow Loong Jin <hyperair@debian.org>:
Bug#806655; Package src:libzen.
(Sun, 29 Nov 2015 20:27:13 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, Chow Loong Jin <hyperair@debian.org>.
(Sun, 29 Nov 2015 20:27:13 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: src:libzen
Version: 0.4.32-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
dh_testdir -i -O--parallel
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p build/
dh_auto_configure -DProject/CMake -Bbuild/
cmake ../Project/CMake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
[... snipped ...]
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Conf_Internal.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/CriticalSection.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Dir.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/File.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/FileName.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Format/Html/Html_Handler.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Format/Html/Html_Request.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Format/Http/Http_Cookies.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Format/Http/Http_Handler.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Format/Http/Http_Request.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Format/Http/Http_Utils.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/InfoMap.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/MemoryDebug.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/OS_Utils.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/PreComp.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Thread.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Trace.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Translation.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Utils.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/Ztring.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/ZtringList.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/ZtringListList.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/ZtringListListF.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/int128s.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/ZenLib/int128u.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/libzen.pc
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/zenlib/ZenLibConfig.cmake
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/zenlib/ZenLibConfigVersion.cmake
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_installdocs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installdocs
fromdos debian/*/usr/share/doc/*/*.txt
fromdos: Unable to access file "debian/*/usr/share/doc/*/*.txt".
debian/rules:32: recipe for target 'override_dh_installdocs' failed
make[1]: *** [override_dh_installdocs] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:39: 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. The common hints are:
* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.
* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").
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, Chow Loong Jin <hyperair@debian.org>:
Bug#806655; Package src:libzen.
(Sun, 17 Apr 2016 21:45:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Chow Loong Jin <hyperair@debian.org>.
(Sun, 17 Apr 2016 21:45:03 GMT) (full text, mbox, link).
Message #10 received at 806655@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 806655 + patch
thanks
> dh_installdocs
> fromdos debian/*/usr/share/doc/*/*.txt
> fromdos: Unable to access file "debian/*/usr/share/doc/*/*.txt".
> debian/rules:32: recipe for target 'override_dh_installdocs' failed
Explanation: There is only one file in the pattern above:
debian/libzen0v5/usr/share/doc/libzen0v5/ReadMe.txt
but we are creating arch-independent packages only,
so debian/libzen0v5/[...] does not exist because libzen0v5
is arch-dependent.
The trivial fix is to override dh_installdocs only
when creating arch-dependent packages.
Patch follows.
Thanks.
[libzen.patch.txt (text/plain, attachment)]
Added tag(s) patch.
Request was from Santiago Vila <sanvila@unex.es>
to control@bugs.debian.org.
(Sun, 17 Apr 2016 21:45:08 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Chow Loong Jin <hyperair@debian.org>:
Bug#806655; Package src:libzen.
(Wed, 13 Jul 2016 21:27:15 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Chow Loong Jin <hyperair@debian.org>.
(Wed, 13 Jul 2016 21:27:15 GMT) (full text, mbox, link).
Message #17 received at 806655@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:51 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Chow Loong Jin <hyperair@debian.org>
to control@bugs.debian.org.
(Thu, 25 Aug 2016 07:45:06 GMT) (full text, mbox, link).
Message sent on
to Santiago Vila <sanvila@debian.org>:
Bug#806655.
(Thu, 25 Aug 2016 07:45:09 GMT) (full text, mbox, link).
Message #24 received at 806655-submitter@bugs.debian.org (full text, mbox, reply):
tag 806655 pending
thanks
Hello,
Bug #806655 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:
http://git.debian.org/?p=pkg-multimedia/libzen.git;a=commitdiff;h=aac8a4c
---
commit aac8a4c12f79428ff58e438f87d4885ecb62b8d1
Author: Chow Loong Jin <hyperair@debian.org>
Date: Thu Aug 25 15:17:44 2016 +0800
Update changelog
Git-Dch: Ignore
diff --git a/debian/changelog b/debian/changelog
index cac6135..345770b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libzen (0.4.33-3) unstable; urgency=medium
+
+ * [523a79f] Fix fromdos step failing during installdocs (Closes: #806655)
+
+ -- Chow Loong Jin <hyperair@debian.org> Thu, 25 Aug 2016 15:17:28 +0800
+
libzen (0.4.33-2) unstable; urgency=medium
* [7762055] Make ZenLib::Format::Http::Cookie::~Cookie() optional
Reply sent
to Chow Loong Jin <hyperair@debian.org>:
You have taken responsibility.
(Thu, 25 Aug 2016 07:51:05 GMT) (full text, mbox, link).
Notification sent
to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer.
(Thu, 25 Aug 2016 07:51:06 GMT) (full text, mbox, link).
Message #29 received at 806655-close@bugs.debian.org (full text, mbox, reply):
Source: libzen
Source-Version: 0.4.33-3
We believe that the bug you reported is fixed in the latest version of
libzen, 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 806655@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chow Loong Jin <hyperair@debian.org> (supplier of updated libzen 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: SHA1
Format: 1.8
Date: Thu, 25 Aug 2016 15:17:28 +0800
Source: libzen
Binary: libzen-dev libzen0v5 libzen-doc
Architecture: source amd64 all
Version: 0.4.33-3
Distribution: unstable
Urgency: medium
Maintainer: Chow Loong Jin <hyperair@debian.org>
Changed-By: Chow Loong Jin <hyperair@debian.org>
Description:
libzen-dev - ZenLib C++ utility library -- development files
libzen-doc - ZenLib C++ utility library -- documentation
libzen0v5 - ZenLib C++ utility library -- runtime
Closes: 806655
Changes:
libzen (0.4.33-3) unstable; urgency=medium
.
* [523a79f] Fix fromdos step failing during installdocs (Closes: #806655)
Checksums-Sha1:
e6eafe3b3f0127c0e4f374646d047ce21adbf7f6 1966 libzen_0.4.33-3.dsc
10a01fd4d814a4608bc36d906296bdaa30434fcb 8716 libzen_0.4.33-3.debian.tar.xz
ba7dbd00963e37533182eeb1f8b28342fb507263 36460 libzen-dev_0.4.33-3_amd64.deb
272b7c11b9b0282818f01cc3eef6655dba311478 255980 libzen-doc_0.4.33-3_all.deb
c31979a217ee3fd866b98abfee77b3b0fc1bf778 971502 libzen0v5-dbgsym_0.4.33-3_amd64.deb
f8f8450000d3e70c4fde66c76177b8e31ca6b823 104068 libzen0v5_0.4.33-3_amd64.deb
Checksums-Sha256:
9efe4d94332de04fe700565c9b41c233f8d057c0de783fa95e20d571ca3bada9 1966 libzen_0.4.33-3.dsc
ecdd140bf94a6426cacedb5c7f038914e1cac514ea0a68b8bc04b1547e309b59 8716 libzen_0.4.33-3.debian.tar.xz
24ddde76e65c63a6324bc73b3d2a789509565465ac6d6fd9d172d53d80372186 36460 libzen-dev_0.4.33-3_amd64.deb
74b32747318d64966b0afaffd0c0b567a9dc14f532c2a2526a550606440b1c0a 255980 libzen-doc_0.4.33-3_all.deb
31d1dde0bb9fce79e64e4010526b15b78ccd40c3ab7098ab146950602ba97790 971502 libzen0v5-dbgsym_0.4.33-3_amd64.deb
b8f5db1a45847c1e096ba4974ac459e61d831a9db1acb900992be56d7edae027 104068 libzen0v5_0.4.33-3_amd64.deb
Files:
008c792cfeb5d37e97e139983dd8875c 1966 libs optional libzen_0.4.33-3.dsc
db8ad0bf67c778b8927bf7eed02e98d7 8716 libs optional libzen_0.4.33-3.debian.tar.xz
f97bd855864b3d848a6f2594560fb553 36460 libdevel optional libzen-dev_0.4.33-3_amd64.deb
bd10bb26b159e60a5e4920c820c67931 255980 doc optional libzen-doc_0.4.33-3_all.deb
823562bba41cfb636cec0a525b7a1241 971502 debug extra libzen0v5-dbgsym_0.4.33-3_amd64.deb
b02cb539b18d5c89bc35a8c74d547eeb 104068 libs optional libzen0v5_0.4.33-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJXvqG3AAoJEPvVIltYh1KhSNkP/0Njvr3VVhvfOCRIgYjANyXZ
s0gHUWle04dWudRs2mnynb9WGnSUYSf0IzwBZKO/7AyBiD1F16qDF3Lxfrkpn/Le
G7+DXwGw/0efQ57R3AVREK4dC5Age8zd0RhCDqZs57fDQ55q3vKh7Uddt5GmjZE4
u+uWM8QPvg7um4Zyjln18HYYweCVAXF1eLLDtpLyiIRPeVbktrx3W1Ey47XK5AYU
HOBhVLszu14jXpWlZNeuiOZBYfp8zi00UAp/FR/PZy1JytbWPauM+s4Amvn3Cisr
diqDNf4Zn3lmXPZTtAfO/BGohEc2L2nriVhYGs11Z6HoSbWl39uvluii9DEpBzb5
Y4OGepAapv0J+OFZ+ORwGJZwZh6iLCYYftgeG4ziwU3T7FV3R1FikFylUEp7ZdYw
qSFP1UoFyXuJJ0NwTqqG6sa8Q1PIT6BgpZ81l6wkVSzSuGJSbmBmhXonevZFlOPY
czn9Q4dJpABLFCF/ynw9Fw/0NvNKtEq70+QANWokb6ZEyw/n2wlgnMQvalv1r2rk
06yTTQ6muPnWcBXv7mBQlKrjSzRVcqtMYYA5L89/ikHcclwHDWU0vKw2nzNy/vzQ
Vf0y1v3OcCn/Em5A+FSdnmbKoPfE+++Vbc0KXcqgtW2jocXBexsNc7UvgyF16Fnh
uU6jnGnub8mX/fhrs9z6
=sHBZ
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 23 Sep 2016 07:27:45 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:06:13 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.