reopen 619552
notfixed 619552 1.0.10-6
thanks

On 2011-04-20 Debian Bug Tracking System <ow...@bugs.debian.org> wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the pacemaker package:

> #619552: pacemaker: please wipe out dependency_libs from .la files (Policy 
> 10.2)
[...]

Hello,

a part of the bug is still present in 1.0.10-6, the heartbeat plugin's
libtool la file still has the nonempty dependency_libs:

(SID)ametzler@argenau:/tmp/GGZ/pacemaker-1.0.10$ find debian/ -path debian/tmp 
-prune -or \( -name '*.la' -exec grep "dependency_libs='[^']" {} + \)
debian/pacemaker/usr/lib/heartbeat/plugins/RAExec/stonith.la:dependency_libs=' 
-L../../../lib/fencing /usr/lib/libstonithd.la /usr/lib/libhbclient.la 
/usr/lib/libccmclient.la -lz -lcoroipcc /usr/lib/libstonith.la 
/usr/lib/liblrm.la /usr/lib/libgnutls.la /usr/lib/libplumb.la 
/usr/lib/libpils.la -lbz2 /usr/lib/libxslt.la -lm /usr/lib/libxml2.la -lc 
-luuid -lpam -lrt /usr/lib/libglib-2.0.la /usr/lib/libltdl.la -ldl'

Patch attached.

thanks, cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
diff -Nru pacemaker-1.0.10/debian/changelog pacemaker-1.0.10/debian/changelog
--- pacemaker-1.0.10/debian/changelog	2011-04-20 15:32:04.000000000 +0200
+++ pacemaker-1.0.10/debian/changelog	2011-04-24 16:52:27.000000000 +0200
@@ -1,3 +1,11 @@
+pacemaker (1.0.10-6.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Also empty dependency_libs in /usr/lib/heartbeat/plugins/RAExec/stonith.la.
+    Closes: #619552
+
+ -- Andreas Metzler <ametz...@debian.org>  Sun, 24 Apr 2011 16:45:21 +0200
+
 pacemaker (1.0.10-6) unstable; urgency=low
 
   [ Martin G. Loschwitz ]
diff -Nru pacemaker-1.0.10/debian/rules pacemaker-1.0.10/debian/rules
--- pacemaker-1.0.10/debian/rules	2011-04-20 15:31:22.000000000 +0200
+++ pacemaker-1.0.10/debian/rules	2011-04-24 16:51:34.000000000 +0200
@@ -98,9 +98,8 @@
 	dh_testroot
 	dh_installdirs
 	$(MAKE) install DESTDIR=`pwd`/debian/tmp docdir=/usr/share/doc/pacemaker
-	for file in debian/tmp/usr/lib/*.la; do \
-		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
-	done
+	find debian/tmp/usr/lib -name "*.la" -exec \
+		sed -i -e "s,^dependency_libs=.*,dependency_libs=''," {} +
 
 binary-indep: build install
 

Reply via email to