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

Re: Bug#665885: e2fsprogs: libcomerr2.shlibs should point at e2fsprogs-udeb for udebs



tags 665885 +pending
thanks

On Tue, Mar 27, 2012 at 06:41:42PM +0200, Julien Cristau wrote:
> > Is this what you are looking for?
> > 
> > % more debian/libcomerr2/DEBIAN/shlibs 
> > libcom_err 2 libcomerr2 (>= 1.33-3)
> > udeb: libcom_err 2 e2fsprogs-udeb (>= 1.33-3)
>
> Yep, that looks like what I'd expect.  Thanks.

Great, just checking since I wasn't familiar with that udeb-specific
syntax in the shlibs file.

I've applied the following patch that will be in the e2fsprogs 1.42.2
release.

						- Ted

commit 38c5e731157116b7cd350e2e3c05e64340307a2c
Author: Theodore Ts'o <tytso@mit.edu>
Date:   Tue Mar 27 11:48:18 2012 -0700

    debian: add pointer to e2fsprogs-udeb to libcomerr2.shlibs
    
    The udeb for btrfs-tools need libcom_err.so.2, which is packaged as a
    part of e2fsprogs-udeb since we don't have a separate libcomerr2 udeb.
    So we need to make sure the shlibs file has an explicit pointer to
    handle this case.
    
    Addresses-Debian-Bug: #665885
    
    Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

diff --git a/debian/rules b/debian/rules
index 82a1576..1f6e7b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -618,7 +618,7 @@ endif
 	dh_compress
 
 	dh_makeshlibs -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb
-	dh_makeshlibs -plibcomerr${COMERR_SOVERSION} \
+	dh_makeshlibs --add-udeb=e2fsprogs-udeb -plibcomerr${COMERR_SOVERSION} \
 		-V 'libcomerr2 (>= 1.33-3)'
 ifneq ($(UTIL_LINUX_NG),yes)
 	dh_makeshlibs -plibblkid${BLKID_SOVERSION} -V 'libblkid1 (>= 1.39-1)'


Reply to: