[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#619179: marked as done (apr-util: please wipe out dependency_libs from .la files (Policy 10.2))



Your message dated Mon, 21 Mar 2011 22:00:37 +0100
with message-id <201103212200.38413.sf@sfritsch.de>
and subject line Re: Bug#619179: apr-util: please wipe out dependency_libs from .la files (Policy 10.2)
has caused the Debian Bug report #619179,
regarding apr-util: please wipe out dependency_libs from .la files (Policy 10.2)
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 owner@bugs.debian.org
immediately.)


-- 
619179: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619179
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apr-util
Version: 1.3.9+dfsg-5
Severity: normal
Tags: patch
User: vorlon@debian.org
Usertags: multiarch

Hi guys,

The attached patch has just been applied to the Ubuntu apr-util package, to
null out the dependency_libs field in the libtool .la files being shipped in
the -dev package.  This is generally a good idea because it avoids causing
consumers of your library to require other .la files listed here to be
available at build time when they're not actually needed (i.e., in the
dynamic linking common case).  It's specifically a good idea right now
because multiarch is imminent, and that means the .la files referenced here
are going to *move* soon, causing build failures for anything using libtool
to build against apr-util.  As long as apr-util is going to need a rebuild
to fix up the invalid .la references, it would be nice to get rid of them
altogether.

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/
slangasek@ubuntu.com                                     vorlon@debian.org
=== modified file 'debian/rules'
--- debian/rules	2011-03-16 15:40:01 +0000
+++ debian/rules	2011-03-21 20:07:15 +0000
@@ -105,6 +105,9 @@
 	dh_installdirs -a
 
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	for file in debian/tmp/usr/lib/*.la); do \
+		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
+	done
 
 binary-indep: build install
 


--- End Message ---
--- Begin Message ---
version: 1.3.10+dfsg-1

On Monday 21 March 2011, Steve Langasek wrote:
> The attached patch has just been applied to the Ubuntu apr-util
> package, to null out the dependency_libs field in the libtool .la
> files being shipped in the -dev package.  This is generally a good

AFAICS this is already fixed in 1.3.10+dfsg-1. Please reopen if I have 
missed something.


--- End Message ---

Reply to: