Your message dated Tue, 14 Jun 2011 19:17:30 +0000
with message-id <[email protected]>
and subject line Bug#627387: fixed in libdkim 1:1.0.21-3
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-3

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-3_amd64.deb
  to main/libd/libdkim/libdkim-dev_1.0.21-3_amd64.deb
libdkim1d-dbg_1.0.21-3_amd64.deb
  to main/libd/libdkim/libdkim1d-dbg_1.0.21-3_amd64.deb
libdkim1d_1.0.21-3_amd64.deb
  to main/libd/libdkim/libdkim1d_1.0.21-3_amd64.deb
libdkim_1.0.21-3.debian.tar.gz
  to main/libd/libdkim/libdkim_1.0.21-3.debian.tar.gz
libdkim_1.0.21-3.dsc
  to main/libd/libdkim/libdkim_1.0.21-3.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: Tue, 14 Jun 2011 20:51:32 +0200
Source: libdkim
Binary: libdkim1d libdkim-dev libdkim1d-dbg
Architecture: source amd64
Version: 1:1.0.21-3
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-3) unstable; urgency=low
 .
   * Completely correct order of object files and libraries (Closes:
     #627387 again).
Checksums-Sha1: 
 081d9151d98e767c64949b9b86103fc3f2797235 1086 libdkim_1.0.21-3.dsc
 9b64e0d37b5bfb31c2bf931849e7357dc7ab18e3 16092 libdkim_1.0.21-3.debian.tar.gz
 c6c768a09ea4a6c75f9864828a61b29a8abdeb87 39414 libdkim1d_1.0.21-3_amd64.deb
 44acac663d25a61d9472f157082a2e06b683088f 50406 libdkim-dev_1.0.21-3_amd64.deb
 88840cc0495cf9f2802610cd3462b1e46ea90f86 167880 
libdkim1d-dbg_1.0.21-3_amd64.deb
Checksums-Sha256: 
 f6e70878cfb21101ba4f87550f89a6e128d6ea34c1164152ecc7b075f4f88e97 1086 
libdkim_1.0.21-3.dsc
 713e6a7cfa18d9e40ed8d636bc6f0186b5e77100d2629a9c1eca2b65bc646017 16092 
libdkim_1.0.21-3.debian.tar.gz
 f1e317050d9ff2ffdd6f39f9defec173a638d150c161ceea04de974c9cd1c57d 39414 
libdkim1d_1.0.21-3_amd64.deb
 e79cf32ea127db1054e9596867cd7f1f76e23e3b5d83059232c8b4c19c58c1a2 50406 
libdkim-dev_1.0.21-3_amd64.deb
 bec347d16c2347aa26e013290e9676bc5bb86110aea330c1a9eee4985a872421 167880 
libdkim1d-dbg_1.0.21-3_amd64.deb
Files: 
 ecb11a5a3bd7ade796b6b0fc5b13e741 1086 libs optional libdkim_1.0.21-3.dsc
 0a77b1f84728b10ee9bd7879630981f0 16092 libs optional 
libdkim_1.0.21-3.debian.tar.gz
 fd9c04088c8ab4894fe7b0cca569387c 39414 libs optional 
libdkim1d_1.0.21-3_amd64.deb
 4e647d9129f7036edbe2716f0254b34c 50406 libdevel optional 
libdkim-dev_1.0.21-3_amd64.deb
 6e4b1f7e120d7c44f3570daabb6bf1ab 167880 debug extra 
libdkim1d-dbg_1.0.21-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk33rz4ACgkQk7mRNn1h4+Z8vQCeLSejGlCQ8WmLhMijY+XrWBO4
aXYAnjcRNAjSNiYeAYEjeb6yPouFvhcc
=q/Zc
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to