Your message dated Tue, 13 Dec 2011 17:32:39 +0000
with message-id <[email protected]>
and subject line Bug#641287: fixed in pinfo 0.6.9-5.1
has caused the Debian Bug report #641287,
regarding pinfo: FTBFS with ld that defaults to --as-needed: bad link order
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 [email protected]
immediately.)
--
641287: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641287
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pinfo
Version: 0.6.9-5
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch oneiric
pinfo fails to build with a linker that defaults to --as-needed, as
shown in this Ubuntu bug report:
https://bugs.launchpad.net/ubuntu/+source/pinfo/+bug/770803
This is because of incorrect link ordering during configuration: it puts
libraries before the objects that use them rather than after. See:
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
The following patch fixes this.
* Fix link order to list libraries after the objects that require them.
diff -u pinfo-0.6.9/debian/patches/00list pinfo-0.6.9/debian/patches/00list
--- pinfo-0.6.9/debian/patches/00list
+++ pinfo-0.6.9/debian/patches/00list
@@ -3,0 +4 @@
+04_link_order.dpatch
only in patch2:
unchanged:
--- pinfo-0.6.9.orig/debian/patches/04_link_order.dpatch
+++ pinfo-0.6.9/debian/patches/04_link_order.dpatch
@@ -0,0 +1,57 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_link_order.dpatch by Colin Watson <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix link order to list C objects before the libraries they require.
+
+@DPATCH@
+
+--- pinfo-0.6.9/macros/curses.m4 2006-03-09 19:44:38.000000000 +0000
++++ pinfo-0.6.9/macros/curses.m4 2011-09-12 13:36:35.000000000 +0100
+@@ -254,11 +254,11 @@
+ dnl
+ AC_DEFUN([AC_CHECK_CURSES_COMPILE], [
+
+- dnl save CFLAGS and LDFLAGS and set new ones
++ dnl save CFLAGS and LIBS and set new ones
+ CFLAGS_OLD=$CFLAGS
+ CFLAGS="$CFLAGS $curses_includes"
+- LDFLAGS_OLD=$LDFLAGS
+- LDFLAGS="$LDFLAGS $curses_libs"
++ LIBS_OLD=$LIBS
++ LIBS="$LIBS $curses_libs"
+
+ dnl do the compile test
+ AC_MSG_CHECKING([if curses is usable])
+@@ -288,7 +288,7 @@
+
+ dnl restore variables
+ CFLAGS=$CFLAGS_OLD
+- LDFLAGS=$LDFLAGS_OLD
++ LIBS=$LIBS_OLD
+
+ ])
+
+--- pinfo-0.6.9/configure 2006-03-16 16:27:26.000000000 +0000
++++ pinfo-0.6.9/configure 2011-09-12 13:37:12.000000000 +0100
+@@ -10139,8 +10139,8 @@
+
+ CFLAGS_OLD=$CFLAGS
+ CFLAGS="$CFLAGS $curses_includes"
+- LDFLAGS_OLD=$LDFLAGS
+- LDFLAGS="$LDFLAGS $curses_libs"
++ LIBS_OLD=$LIBS
++ LIBS="$LIBS $curses_libs"
+
+ echo "$as_me:$LINENO: checking if curses is usable" >&5
+ echo $ECHO_N "checking if curses is usable... $ECHO_C" >&6
+@@ -10211,7 +10211,7 @@
+ conftest$ac_exeext conftest.$ac_ext
+
+ CFLAGS=$CFLAGS_OLD
+- LDFLAGS=$LDFLAGS_OLD
++ LIBS=$LIBS_OLD
+
+
+ else
+
Thanks,
--
Colin Watson [[email protected]]
--- End Message ---
--- Begin Message ---
Source: pinfo
Source-Version: 0.6.9-5.1
We believe that the bug you reported is fixed in the latest version of
pinfo, which is due to be installed in the Debian FTP archive:
pinfo_0.6.9-5.1.diff.gz
to main/p/pinfo/pinfo_0.6.9-5.1.diff.gz
pinfo_0.6.9-5.1.dsc
to main/p/pinfo/pinfo_0.6.9-5.1.dsc
pinfo_0.6.9-5.1_armhf.deb
to main/p/pinfo/pinfo_0.6.9-5.1_armhf.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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steve McIntyre <[email protected]> (supplier of updated pinfo 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 13 Dec 2011 17:05:43 +0000
Source: pinfo
Binary: pinfo
Architecture: source armhf
Version: 0.6.9-5.1
Distribution: unstable
Urgency: low
Maintainer: Bas Zoetekouw <[email protected]>
Changed-By: Steve McIntyre <[email protected]>
Description:
pinfo - An alternative info-file viewer
Closes: 641287 646486
Changes:
pinfo (0.6.9-5.1) unstable; urgency=low
.
* NMU
* Add a path to term.h for libncursesw5. Closes: #646486
* Fix link order to list libraries after the objects that require them.
Patch from Colin Watson <[email protected]> Closes: #641287
* Add build-arch and build-indep targets to debian/rules, just calling
"build" for now.
Checksums-Sha1:
4b81a76f0b2e2e3f049a9dd8120d0dfb9975e409 1752 pinfo_0.6.9-5.1.dsc
cd91053316095549789ca8d02db3bea8f5741caf 10620 pinfo_0.6.9-5.1.diff.gz
0f3ade3e1a16523ac55e0e534ac51ad6e8f90d2e 85082 pinfo_0.6.9-5.1_armhf.deb
Checksums-Sha256:
d2a6009b996e0834ce706d73042f269e643bf79cfdcd0a0f014cfdb3cdd52d30 1752
pinfo_0.6.9-5.1.dsc
023819609fceb6939b1856268a8cdb4371150a3c78c8e254c0430647303607ee 10620
pinfo_0.6.9-5.1.diff.gz
4164267c1ba48c4316801f3b21ea2360f56f2a078967d0f7b277c8b4477d1736 85082
pinfo_0.6.9-5.1_armhf.deb
Files:
bce0c3030037c93205022c0a7c3dd62e 1752 doc optional pinfo_0.6.9-5.1.dsc
a45b39ced18076d5b3596ff100846576 10620 doc optional pinfo_0.6.9-5.1.diff.gz
3c39b0130261d573c9fa9b4b87c7e829 85082 doc optional pinfo_0.6.9-5.1_armhf.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJO54p1AAoJEFh5eVc0QmhOoagQAIxw+B/vJP9zkkR5scSFl49h
VLo5O9OMw2ygty8KKOqZCgcObCZqcpYY5okOZx9y4BlAAMEy+ztsUL+0zf2PBoAa
/CIbo21ErNi5OM/47gyWV5ZL39Yy2kOO3I6ZV0jGxithjTZOF1WArm5pIBHqdoxW
cT8PPEHlxc0nbne6HlBZxR2FE3sMrLOILL4BWsFU1p688ax9iJfWTNa/rJ8VVc+o
QH3zwKjvEslIPrHIKqSDLGo2yQh7KRKZclMyaIRYoHVHjEFnB8z9kydhsSRGS7+s
cbGSAIJ+2G1ugAJ+sAzW7M5NjXWAuInZcuJqpXE8nIEWG3XNpXG7AEEmxfW53Xgo
Lpc9BgYL+f+EPpjOcGHh1OuXpZDpOtW+s7je435iKZnCnHuC2g5gUJ95xQrzu77g
cTEdPTtiTR02NPMpU0Bpie+2Qbh6tDZuquHSqvSi2B8yJ4njmHB5ZfRgHUrS15ki
wL/cOiQPvoH7VWcvcC4pk/pAVE18MVzPQKZwm3PiT7rdWcz07VCw63+NGYwc3/vL
VYKxJP1MBpy+ZI62TzFcxRN3y66RG2EIthpOUWLoqp4A+0Vpz+UvOLJimZokueRF
a5s0nVnm7XmcqxL6ATHdTC3Ajc/47TDMZ9cKdQ0tFmO4zsk68nVrPsUJhb8pQxr2
20hJlYPLsO4rZElCslc8
=jFG/
-----END PGP SIGNATURE-----
--- End Message ---