Your message dated Fri, 09 Dec 2011 10:34:45 +0000
with message-id <e1ryxmv-0005xo...@franck.debian.org>
and subject line Bug#651285: fixed in libdap 3.11.1-10
has caused the Debian Bug report #651285,
regarding libdap: FTBFS due to ltmain --as-needed patch no longer applying
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
651285: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651285
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libdap
Version: 3.11.1-9
Severity: serious
Tags: patch sid wheezy
Justification: fails to build from source
Hi there,
libdap FTBFS due to the ltmain --as-needed patch no longer applying.
Excerpt from build log:
,----
| (cd conf && patch < ../debian/as-needed.patch)
| patching file ltmain.sh
| Hunk #1 succeeded at 5512 (offset 12 lines).
| Hunk #2 FAILED at 6155.
| 1 out of 2 hunks FAILED -- saving rejects to file ltmain.sh.rej
| make[1]: *** [override_dh_auto_configure] Error 1
| make[1]: Leaving directory `/«PKGBUILDDIR»'
| make: *** [build] Error 2
| dpkg-buildpackage: error: debian/rules build gave error exit status 2
`----
I made a patch to use dh_autoreconf --as-needed. Attached.
Cheers,
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
--
Iain Lane [ i...@orangesquash.org.uk ]
Debian Developer [ la...@debian.org ]
Ubuntu Developer [ la...@ubuntu.com ]
PhD student [ i...@cs.nott.ac.uk ]
diff -Nru libdap-3.11.1/debian/as-needed.patch
libdap-3.11.1/debian/as-needed.patch
--- libdap-3.11.1/debian/as-needed.patch 2011-09-15 05:18:13.000000000
+0100
+++ libdap-3.11.1/debian/as-needed.patch 1970-01-01 01:00:00.000000000
+0100
@@ -1,38 +0,0 @@
-Author: Alastair McKinstry <mckins...@debian.org>
-Description: Patch to ensure -Wl,--as-needed is NOT reordered by libtool.
- Note that this patch is applied by ./debian/rules AFTER autoreconf is run;
- it cannot be applied in ./debian/patches
-Bug-Debian: http://bugs.debian.org/347650
-Last-Updated: 2011-09-13
-Forwarded: no
-
---- ltmain.sh.orig 2011-09-13 10:05:45.000000000 +0100
-+++ ltmain.sh 2011-09-13 10:22:40.000000000 +0100
-@@ -5500,6 +5500,11 @@
- continue
- ;;
-
-+ -Wl,--as-needed)
-+ deplibs="$deplibs $arg"
-+ continue
-+ ;;
-+
- -export-symbols | -export-symbols-regex)
- if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
- func_fatal_error "more than one -exported-symbols argument is not
allowed"
-@@ -6150,6 +6155,15 @@
- lib=
- found=no
- case $deplib in
-+ -Wl,--as-needed)
-+ if test "$linkmode,$pass" = "prog,link"; then
-+ compile_deplibs="$deplib $compile_deplibs"
-+ finalize_deplibs="$deplib $finalize_deplibs"
-+ else
-+ deplibs="$deplib $deplibs"
-+ fi
-+ continue
-+ ;;
-
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
- if test "$linkmode,$pass" = "prog,link"; then
- compile_deplibs="$deplib $compile_deplibs"
diff -Nru libdap-3.11.1/debian/changelog libdap-3.11.1/debian/changelog
--- libdap-3.11.1/debian/changelog 2011-09-15 05:18:13.000000000 +0100
+++ libdap-3.11.1/debian/changelog 2011-12-07 11:26:44.000000000 +0000
@@ -1,3 +1,11 @@
+libdap (3.11.1-9.1) unstable; urgency=medium
+
+ * Non-maintainer upload with urgency=medium for FTBFS fix.
+ * Switch to dh_autoreconf --as-needed for ltmain-as-needed instead of
+ patching manually.
+
+ -- Iain Lane <la...@debian.org> Wed, 07 Dec 2011 11:25:56 +0000
+
libdap (3.11.1-9) unstable; urgency=low
* Rewrite dap-config to call pkg-config, to work correctly with
diff -Nru libdap-3.11.1/debian/control libdap-3.11.1/debian/control
--- libdap-3.11.1/debian/control 2011-09-15 05:18:13.000000000 +0100
+++ libdap-3.11.1/debian/control 2011-12-07 11:25:54.000000000 +0000
@@ -2,7 +2,7 @@
Section: utils
Priority: optional
Maintainer: Alastair McKinstry <mckins...@debian.org>
-Build-Depends: zlib1g-dev, debhelper (>= 7.0.50~), pkg-config, libxml2-dev,
libcurl4-gnutls-dev , dejagnu, doxygen, graphviz,
+Build-Depends: zlib1g-dev, debhelper (>= 7.0.50~), dh-autoreconf (>= 4),
pkg-config, libxml2-dev, libcurl4-gnutls-dev , dejagnu, doxygen, graphviz,
autoconf, automake, libtool, flex, bison, uuid-dev
Build-Conflicts: autoconf2.13
Standards-Version: 3.9.2
diff -Nru libdap-3.11.1/debian/rules libdap-3.11.1/debian/rules
--- libdap-3.11.1/debian/rules 2011-09-15 05:18:13.000000000 +0100
+++ libdap-3.11.1/debian/rules 2011-12-07 11:51:45.000000000 +0000
@@ -6,16 +6,16 @@
# The magic debhelper rule:
%:
- dh $@
+ dh $@ --with autoreconf
-override_dh_auto_configure:
+override_dh_autoreconf:
# remove out of date files
rm -f conf/config.guess conf/config.sub
- # Patch libtool to fix as-needed brokenness. _After_ updating libtool.
libtoolize -c -f
- autoreconf -fi
- (cd conf && patch < ../debian/as-needed.patch)
+ dh_autoreconf --as-needed
+
+override_dh_auto_configure:
LDFLAGS=" -Wl,--as-needed" dh_auto_configure -- --with-gnu-ld
override_dh_auto_build:
libdap_3.11.1-9-amd64-20111207-1119.gz
Description: Binary data
--- End Message ---
--- Begin Message ---
Source: libdap
Source-Version: 3.11.1-10
We believe that the bug you reported is fixed in the latest version of
libdap, which is due to be installed in the Debian FTP archive:
libdap-bin_3.11.1-10_i386.deb
to main/libd/libdap/libdap-bin_3.11.1-10_i386.deb
libdap-dev_3.11.1-10_i386.deb
to main/libd/libdap/libdap-dev_3.11.1-10_i386.deb
libdap-doc_3.11.1-10_all.deb
to main/libd/libdap/libdap-doc_3.11.1-10_all.deb
libdap11_3.11.1-10_i386.deb
to main/libd/libdap/libdap11_3.11.1-10_i386.deb
libdap_3.11.1-10.debian.tar.gz
to main/libd/libdap/libdap_3.11.1-10.debian.tar.gz
libdap_3.11.1-10.dsc
to main/libd/libdap/libdap_3.11.1-10.dsc
libdapclient3_3.11.1-10_i386.deb
to main/libd/libdap/libdapclient3_3.11.1-10_i386.deb
libdapserver7_3.11.1-10_i386.deb
to main/libd/libdap/libdapserver7_3.11.1-10_i386.deb
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 651...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alastair McKinstry <mckins...@debian.org> (supplier of updated libdap 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 07 Dec 2011 12:59:35 +0000
Source: libdap
Binary: libdap11 libdapclient3 libdapserver7 libdap-bin libdap-dev libdap-doc
Architecture: source i386 all
Version: 3.11.1-10
Distribution: unstable
Urgency: low
Maintainer: Alastair McKinstry <mckins...@debian.org>
Changed-By: Alastair McKinstry <mckins...@debian.org>
Description:
libdap-bin - Binaries for the libdap Data Access Protocol library
libdap-dev - Development files (headers and static libraries) for libdap
libdap-doc - Documentation for the libdap Data Access Protocol library
libdap11 - Open-source Project for a Network Data Access Protocol library
libdapclient3 - Client library for the Network Data Access Protocol
libdapserver7 - Server library for the Network Data Access Protocol
Closes: 651285
Changes:
libdap (3.11.1-10) unstable; urgency=low
.
* Switch to dh_autoreconf --as-needed for ltmain-as-needed instead of
patching manually. Thanks to Iain Lane. Closes: #651285.
Checksums-Sha1:
dadae036973d7f0892af4e548e17f834e6ad24f7 2127 libdap_3.11.1-10.dsc
20b6c806c7344b3450bf855a350f158b5425e487 8096 libdap_3.11.1-10.debian.tar.gz
263327e84301c7ff4974e3a22d93081d22fba707 432466 libdap11_3.11.1-10_i386.deb
50b7b8abd0c542e3e9aefa780fc327708bb93543 164680
libdapclient3_3.11.1-10_i386.deb
585a2308a62002eaa474526e946289847628d8e0 99876 libdapserver7_3.11.1-10_i386.deb
d028983a12ff11e7705f8c5e380f23ab8efcd571 89798 libdap-bin_3.11.1-10_i386.deb
671333d6e1b42368ff54170b86909e8986d9866f 743082 libdap-dev_3.11.1-10_i386.deb
7d4de0a7589f8d030acd3818071a7339b565ddae 63359190 libdap-doc_3.11.1-10_all.deb
Checksums-Sha256:
b8c99c09298857ea7f130d82fabc6ede2db1a711b4972b0fb6cfc845cc1f176f 2127
libdap_3.11.1-10.dsc
4f6c839fe2a4556e7ab7375faebf4ec9d582f0afa389fd6771742aeda20cb2d1 8096
libdap_3.11.1-10.debian.tar.gz
efb4baa1234eadc670fc280ec3a1d56578f83ceaa86ff7101d44d9d70037d468 432466
libdap11_3.11.1-10_i386.deb
55060292d1a2cd5d6265f061c6e639735657af000c59acbb19a82a74602be286 164680
libdapclient3_3.11.1-10_i386.deb
520cfb95d54bf34101107309c4b92a2c3ac196dfc5c024ff1acefd5bf4bc674e 99876
libdapserver7_3.11.1-10_i386.deb
b6c1459076c093803339345738a0ddee1aa59857225c4817ef1c80bab592d054 89798
libdap-bin_3.11.1-10_i386.deb
0d1ad45d9a2c80e8a77412766066777dcb3c8b88ed613fdca0ac84b1cf795c22 743082
libdap-dev_3.11.1-10_i386.deb
0f481df785ce13ca62ba08371cd4eccfbd2fb45f173694b54b499eb8a24b402c 63359190
libdap-doc_3.11.1-10_all.deb
Files:
67f021476f2907910414f846c2d785f7 2127 utils optional libdap_3.11.1-10.dsc
6955245e765d7cf9588e93d2926861a8 8096 utils optional
libdap_3.11.1-10.debian.tar.gz
f33cb8f0dda31d0ac9c5161a2b8df896 432466 libs optional
libdap11_3.11.1-10_i386.deb
6a77b5237dcaa1a675f3c41f20fabf9d 164680 libs optional
libdapclient3_3.11.1-10_i386.deb
4f61a4d7eb572b43852e3bcf33742117 99876 libs optional
libdapserver7_3.11.1-10_i386.deb
6c8e10221651c12889903ab300ee7439 89798 utils optional
libdap-bin_3.11.1-10_i386.deb
e7bf4520135a2f9402ad37df0621cb76 743082 libdevel optional
libdap-dev_3.11.1-10_i386.deb
3d3ceceaedc2fa19293877831573538b 63359190 doc optional
libdap-doc_3.11.1-10_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJO4eD/AAoJEN9LdrZRJ3QsAbcP/iotIvFmUdEQ0sweQMu2NjiX
jtaMUbi53/luqpEobzIXp2xnnrG4o3hkjQCmJ6KXb4yQaa81T4ezF2PN9qFrsLcy
xMasXLMHK0rlv9hbmyQQ1+NRXaamgLwZzAttmFtI7JlqHazOBZe5nOXldaza2SQf
ikqrE9cR7ldwRJGsLSXPng5LtOWDru6KtEZyRYKfbkL/JOddrsNrpeWoZDnvv7/L
/dvps2YOnJ7XoVZopnC+rNbNVKOIdyAX/j0oIzunhOz2IVqi7HVYcbfXu1QejLZ1
5o61WAvtZtiLkPuW42kCJyFCbeFGk7y0fyU4XPHpb5mQnvghpaxlU6J2+LCQRT2Z
yPk/6KWsNEPrUKxy/qhhhpYNEsfOespus4/vIdgLa0SuY3OSsYthfeg9K/vVfLIw
JgzojyqSDvBu2PH1aAyyXDIeOn1tZe65Pb3lVwhsZIhhrhkxj0nQveBUnDZubJTA
tG+he5yQI9IBBDPA+Slwf4mmnRAdCP/ON1G0U0B2LiK6JgcI4Pf+JyMGOwZIBsXP
uxwfAsBlZhNg+jsTsPv8nXG97QBxV3kpkn8L5j9qJIdBoLZzhhLLRUjuOb/tQUPl
oc957F/ti7bkh5SaKa2Vh2hMVEFWWdACVDxi3phwozeihQnvpRrYGR7YaA7D7p9t
RN1XeXBJn3OBshr3Hqak
=6i6N
-----END PGP SIGNATURE-----
--- End Message ---