Your message dated Sat, 11 Jun 2011 23:48:18 +0000
with message-id <[email protected]>
and subject line Bug#627387: fixed in libdkim 1:1.0.21-2
has caused the Debian Bug report #627387,
regarding libdkim: fails to build with 'ld --as-needed'
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.)
--
627387: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627387
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libdkim
Version: 1:1.0.21-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: ld-as-needed
(Originally reported as
https://bugs.launchpad.net/ubuntu/+source/libdkim/+bug/770761.)
libdkim puts libraries before the objects that use them on the link
line. As described in
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries,
this must be the other way round to build successfully with 'ld
--as-needed'. Patch follows.
* Fix link ordering for 'ld --as-needed'.
diff -u libdkim-1.0.21/debian/Makefile.in libdkim-1.0.21/debian/Makefile.in
--- libdkim-1.0.21/debian/Makefile.in
+++ libdkim-1.0.21/debian/Makefile.in
@@ -51,13 +51,13 @@
$(AR) $(ARFLAGS) $@ $(libdkim_OBJS)
$(SHLIBFORLINK): $(libdkim_PURE_OBJS)
- $(SHLIBLINK) -o $@ $(LIBS) $(libdkim_PURE_OBJS)
+ $(SHLIBLINK) -o $@ $(libdkim_PURE_OBJS) $(LIBS)
-mkdir .lib 2>/dev/null
[ -z "$(SHLIBSONAME)" ] || (cd .lib \
&& ln -sf ../$(SHLIBFORLINK) $(SHLIBSONAME))
libdkimtest: $(libdkimtest_OBJS) $(SHLIBFORLINK)
- $(CXX) -L. -ldkim $(LIBS) -o $@ libdkimtest.o
+ $(CXX) -L. -o $@ libdkimtest.o -ldkim $(LIBS)
libdkimtest.o: $(libdkimtest_SOURCES) $(HDRS)
$(CXX) $(CXXFLAGS) -o $@ -c $<
--
Colin Watson [[email protected]]
--- End Message ---
--- Begin Message ---
Source: libdkim
Source-Version: 1:1.0.21-2
We believe that the bug you reported is fixed in the latest version of
libdkim, which is due to be installed in the Debian FTP archive:
libdkim-dev_1.0.21-2_amd64.deb
to main/libd/libdkim/libdkim-dev_1.0.21-2_amd64.deb
libdkim1d-dbg_1.0.21-2_amd64.deb
to main/libd/libdkim/libdkim1d-dbg_1.0.21-2_amd64.deb
libdkim1d_1.0.21-2_amd64.deb
to main/libd/libdkim/libdkim1d_1.0.21-2_amd64.deb
libdkim_1.0.21-2.debian.tar.gz
to main/libd/libdkim/libdkim_1.0.21-2.debian.tar.gz
libdkim_1.0.21-2.dsc
to main/libd/libdkim/libdkim_1.0.21-2.dsc
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.
Magnus Holmgren <[email protected]> (supplier of updated libdkim 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: SHA1
Format: 1.8
Date: Sun, 12 Jun 2011 01:34:35 +0200
Source: libdkim
Binary: libdkim1d libdkim-dev libdkim1d-dbg
Architecture: source amd64
Version: 1:1.0.21-2
Distribution: unstable
Urgency: low
Maintainer: Magnus Holmgren <[email protected]>
Changed-By: Magnus Holmgren <[email protected]>
Description:
libdkim-dev - cryptographically identify the sender of email
libdkim1d - cryptographically identify the sender of email
libdkim1d-dbg - DomainKeys Identified Mail (DKIM) library - debug symbols
Closes: 627387
Changes:
libdkim (1:1.0.21-2) unstable; urgency=low
.
* debian/Makefile.in: Correct order of object files and libraries when
linking so that --as-needed will work (Closes: #627387).
* Convert to source package version 3.0 (quilt).
* Upgrade to Debhelper compat level 7.
* Bump Standards-Version to 3.9.2.
Checksums-Sha1:
839535ee5aa9ff9ea58d9979836ae61a6335246f 1086 libdkim_1.0.21-2.dsc
c3790cade37b832c22b64d701d9a055b2a418662 16076 libdkim_1.0.21-2.debian.tar.gz
7f36e84059e2705c3279ee60cd55753d868594b6 39374 libdkim1d_1.0.21-2_amd64.deb
0b833157c78f7386b68dce6873088ed4443cc37d 50348 libdkim-dev_1.0.21-2_amd64.deb
0fb4a6667feae5b4f09f41d05fc143281083c92b 167836
libdkim1d-dbg_1.0.21-2_amd64.deb
Checksums-Sha256:
d4534bfb741cb0b1021b9663ca48133a9629491e142917a42122e12adbd18f36 1086
libdkim_1.0.21-2.dsc
45158be5d7e688df3d426690b5974dee5d4a31b21c289efe1367bfd33deb72dd 16076
libdkim_1.0.21-2.debian.tar.gz
75229a15c192abb451a2c760ca33d96f4ffc52fcf9f53f7f32e020c259f1d228 39374
libdkim1d_1.0.21-2_amd64.deb
f0705f166ad3f58237ff33bc7b6f4a7006dc12eadb2ee59c8613d9e04dd9c3ea 50348
libdkim-dev_1.0.21-2_amd64.deb
589691914a56425a482bb1790f2239e5dae10c0890ab7be088ebb21bf7654c03 167836
libdkim1d-dbg_1.0.21-2_amd64.deb
Files:
2b9b5a284445ab229d6964b1e5266ff2 1086 libs optional libdkim_1.0.21-2.dsc
58a7f12b1f26a84e9dbe83a778df3c7d 16076 libs optional
libdkim_1.0.21-2.debian.tar.gz
516d0ac7b6f36e87016443201f09df25 39374 libs optional
libdkim1d_1.0.21-2_amd64.deb
1299bd180ad5ab0ce1d9ad1f4a9c44ca 50348 libdevel optional
libdkim-dev_1.0.21-2_amd64.deb
9963bba9f1ee19ea25f57030d349aa61 167836 debug extra
libdkim1d-dbg_1.0.21-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk3z/IIACgkQk7mRNn1h4+aL0wCg2wxvoJDVwqB6GmtzVlZReiAy
j6kAoNOA3PHiOKODKSPefj7VD8LoIkKG
=L8CW
-----END PGP SIGNATURE-----
--- End Message ---