Your message dated Fri, 03 Jun 2011 18:47:53 +0000
with message-id <e1qszpv-0002jo...@franck.debian.org>
and subject line Bug#618747: fixed in exiv2 0.20-2.1
has caused the Debian Bug report #618747,
regarding Please clean dependency_libs from libexiv2.la at build-time
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.)


-- 
618747: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618747
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: exiv2
Version: 0.21.1-1
Severity: important
Tags: patch
User: vor...@debian.org
Usertags: multiarch

Hi folks,

The libexiv2-dev package includes a .la file that has a non-null
dependency_libs field.  This means that when any other libtool-using
software builds against libexiv2 in Debian, it has to traverse the .la files
for all the other libraries listed here; and in some cases the
reverse-dependencies pick up unnecessary library dependencies as a result.

Debian Policy 10.2 recommends blanking out this dependency_libs field from
.la files that you install:

     Packages that use `libtool' to create and install their shared
     libraries install a file containing additional metadata (ending in
     `.la') alongside the library.  For public libraries intended for use
     by other packages, these files normally should not be included in the
     Debian package, since the information they include is not necessary to
     link with the shared library on Debian and can add unnecessary
     additional dependencies to other programs or libraries.[6] If the
     `.la' file is required for that library (if, for instance, it's loaded
     via `libltdl' in a way that requires that meta-information), the
     `dependency_libs' setting in the `.la' file should normally be set to
     the empty string.  If the shared library development package has
     historically included the `.la', it must be retained in the
     development package (with `dependency_libs' emptied) until all
     libraries that depend on it have removed or emptied `dependency_libs'
     in their `.la' files to prevent linking with those other libraries
     using `libtool' from failing.

This becomes a practical issue soon because of multiarch; once multiarch
lands in the archive, libexpat, which has an .la file referenced by
libexiv2.la, will move directories, making packages fail to build if they
try to find /usr/lib/libexpat.la at build time.  So I would suggest applying
the attached patch to exiv2, before multiarch forces the issue.

This patch, by Fabrice Coutadeur <fabric...@ubuntu.com>, has already been
applied in Ubuntu, with the following changelog entry:

  * debian/rules: delete the content of dependency_libs in la file to avoid
    having to rebuild this package if the path of the libs changes. This fixes
    also FTBFS in packages that b-d on libexiv2-dev because of incorrect
    reference of libexpat.la. (LP: #737340)

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru exiv2-0.21.1/debian/rules exiv2-0.21.1/debian/rules
--- exiv2-0.21.1/debian/rules	2011-02-14 16:42:25.000000000 -0800
+++ exiv2-0.21.1/debian/rules	2011-03-18 00:43:00.000000000 -0700
@@ -17,6 +17,12 @@
 	[ ! -f Makefile ] || $(MAKE) doc
 	dh_install --list-missing
 	find $(CURDIR)/debian -type f -name exiv2 | xargs /usr/bin/chrpath -d
+	# Drop content of dependency_libs to avoid having to recompile exiv2
+	# if the path of the libs that appear there changes
+	for file in $(CURDIR)/debian/libexiv2-dev/usr/lib/*.la; do \
+		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
+		done
+
 
 override_dh_installdocs:
 	dh_installdocs -A -Xcmd.txt -XMakefile -Xtemplates -XChangeLog

--- End Message ---
--- Begin Message ---
Source: exiv2
Source-Version: 0.20-2.1

We believe that the bug you reported is fixed in the latest version of
exiv2, which is due to be installed in the Debian FTP archive:

exiv2_0.20-2.1.debian.tar.gz
  to main/e/exiv2/exiv2_0.20-2.1.debian.tar.gz
exiv2_0.20-2.1.dsc
  to main/e/exiv2/exiv2_0.20-2.1.dsc
exiv2_0.20-2.1_i386.deb
  to main/e/exiv2/exiv2_0.20-2.1_i386.deb
libexiv2-9_0.20-2.1_i386.deb
  to main/e/exiv2/libexiv2-9_0.20-2.1_i386.deb
libexiv2-dbg_0.20-2.1_i386.deb
  to main/e/exiv2/libexiv2-dbg_0.20-2.1_i386.deb
libexiv2-dev_0.20-2.1_i386.deb
  to main/e/exiv2/libexiv2-dev_0.20-2.1_i386.deb
libexiv2-doc_0.20-2.1_all.deb
  to main/e/exiv2/libexiv2-doc_0.20-2.1_all.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 618...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luk Claes <l...@debian.org> (supplier of updated exiv2 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: SHA1

Format: 1.8
Date: Sun, 29 May 2011 19:49:33 +0200
Source: exiv2
Binary: exiv2 libexiv2-9 libexiv2-dev libexiv2-doc libexiv2-dbg
Architecture: source i386 all
Version: 0.20-2.1
Distribution: unstable
Urgency: low
Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Changed-By: Luk Claes <l...@debian.org>
Description: 
 exiv2      - EXIF/IPTC metadata manipulation tool
 libexiv2-9 - EXIF/IPTC metadata manipulation library
 libexiv2-dbg - EXIF/IPTC metadata manipulation library - debug
 libexiv2-dev - EXIF/IPTC metadata manipulation library - development files
 libexiv2-doc - EXIF/IPTC metadata manipulation library - HTML documentation
Closes: 618747
Changes: 
 exiv2 (0.20-2.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Remove references to other libraries from dependency_libs field
     (Closes: #618747)
Checksums-Sha1: 
 a1bf69d1af96dad003a3cb3a4ffa92844b6e19ef 1370 exiv2_0.20-2.1.dsc
 5883f8c2fbd1e7a7adaaf6d52b6d6399f45a93bc 9366 exiv2_0.20-2.1.debian.tar.gz
 1128810780a19db196dcd8dcf162ed03412a2397 97150 exiv2_0.20-2.1_i386.deb
 b4feaf562f3e97fd77f3349e1955b2b06f033caa 682662 libexiv2-9_0.20-2.1_i386.deb
 71c508ef6f283d3ebe0aaa058d287fc0aa3309ab 1461452 libexiv2-dev_0.20-2.1_i386.deb
 52a051ea899e93631a3e3594ac235274e6ac8019 20943358 libexiv2-doc_0.20-2.1_all.deb
 a04e3a1741ee945364dd6bb04824329984089b6d 3345614 libexiv2-dbg_0.20-2.1_i386.deb
Checksums-Sha256: 
 425e9279332c29e4b3bee46d7ae1562f7b7c3e84db93bb9e3efe9903b16abd0d 1370 
exiv2_0.20-2.1.dsc
 af66e980806747017d7d4ee20b0e3b87e1574e95e661b292118265f2fe655c9a 9366 
exiv2_0.20-2.1.debian.tar.gz
 03f3466292812513032e5ba7de530af083c965985f500a7fa9c24417776a9105 97150 
exiv2_0.20-2.1_i386.deb
 e131f7f5d75b9cbd8ada0f2b3ea0094fa4effe9cc2ba07795e8ac650149600e3 682662 
libexiv2-9_0.20-2.1_i386.deb
 f0d67795c1c8a22e573f3f634d7486e96a0a54d9c45e1c2f055617ecd4b73bbd 1461452 
libexiv2-dev_0.20-2.1_i386.deb
 c71100b570ddcc1e9eee1f31c5a33b9a9ea8f07ecc009b7de6d1eb4ddfcf3ac1 20943358 
libexiv2-doc_0.20-2.1_all.deb
 7e52c4e7ea823cdf69e658b6e858e12d9d0a222abd26794d95bf3091e554684d 3345614 
libexiv2-dbg_0.20-2.1_i386.deb
Files: 
 af755d7d38e3f09c6efaf8fccb1c8c50 1370 graphics optional exiv2_0.20-2.1.dsc
 cc47584da5ffc1455909989e70cb87bf 9366 graphics optional 
exiv2_0.20-2.1.debian.tar.gz
 f6936b13dc40c8d81de28a449fd5d4ca 97150 graphics optional 
exiv2_0.20-2.1_i386.deb
 d7145503b379a36ab6c4f1a2fd5fc796 682662 libs optional 
libexiv2-9_0.20-2.1_i386.deb
 cb12df225f51226e1c3348a43678e09f 1461452 libdevel optional 
libexiv2-dev_0.20-2.1_i386.deb
 110571ba2541bac82eea8a73ff4c6c6a 20943358 doc optional 
libexiv2-doc_0.20-2.1_all.deb
 9136f032b307a869d7a4e48b13495915 3345614 debug extra 
libexiv2-dbg_0.20-2.1_i386.deb

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

iEYEARECAAYFAk3ii+EACgkQ5UTeB5t8Mo1QVwCeLcBE23OHyF8NO0h/n/CyxAYt
AkYAn3dNFMoEDSSH+pxEGQAk/vinUk1+
=l9R8
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to