a questionable dependency chain

Orion Poplawski orion at cora.nwra.com
Wed Jan 29 19:04:59 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/29/2014 07:32 AM, Christophe Fergeau wrote:
> Hey,
> 
> On Wed, Jan 29, 2014 at 09:21:22AM -0500, Matthias Clasen wrote:
>> I've switched to rawhide yesterday, and discovered that vinagre now 
>> forces rsyslog onto my system. That's not great.
>> 
>> The dependency chain goes something like this:
>> 
>> vinagre -> spice -> libcacard -> ... glusterfs ... -> 
>> rsyslog-mmjsonparse -> rsyslog
>> 
>> I think there's at least two questionable links in this chain:
>> 
>> - why does libcacard need glusterfs ?
> 
> Looking at nm output for libcacard.so, I did not see symbols that were 
> obviously related to glusterfs there. However, at build time, libcacard 
> ld command line gets a lot of -lxx, including glusterfs libraries. 
> libcacard is a sub-package of qemu, so I suspect what's happening is it
> gets linked with all the libraries qemu needs.
> 
> This patch seems to help there and get rid of the extra libraries in ldd 
> output (did not try an rpm build to check the deps there).
> 
> diff --git a/libcacard/Makefile b/libcacard/Makefile index
> 47827a0..9fa297c 100644 --- a/libcacard/Makefile +++
> b/libcacard/Makefile @@ -24,7 +24,7 @@ vscclient$(EXESUF):
> libcacard/vscclient.o libcacard.la
> 
> libcacard.la: LDFLAGS += -rpath $(libdir) -no-undefined \ -export-syms
> $(SRC_PATH)/libcacard/libcacard.syms -libcacard.la: LIBS +=
> $(libcacard_libs) +libcacard.la: LIBS = $(libcacard_libs) libcacard.la:
> $(libcacard-lobj-y) $(call LINK,$^)
> 
> 
> Christophe

Yeah, there were lots:

# rpmlint libcacard
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /usr/lib64/iscsi/libiscsi.so.2
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libz.so.1
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libgfapi.so.0
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libglusterfs.so.0
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libgfrpc.so.0
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libgfxdr.so.0
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libssh2.so.1
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/librbd.so.1
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/librados.so.2
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libcurl.so.4
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libuuid.so.1
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libaio.so.1
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libssl3.so
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libsmime3.so
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libnssutil3.so
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libplds4.so
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libplc4.so
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libdl.so.2
libcacard.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libcacard.so.0.0.0 /lib64/libgthread-2.0.so.0
libcacard.x86_64: W: shared-lib-calls-exit /usr/lib64/libcacard.so.0.0.0
exit at GLIBC_2.2.5
libcacard.x86_64: W: no-documentation

Also:

libcacard.x86_64: E: library-without-ldconfig-postin
/usr/lib64/libcacard.so.0.0.0
libcacard.x86_64: E: library-without-ldconfig-postun
/usr/lib64/libcacard.so.0.0.0

needs some scripts.

- -- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlLpUNIACgkQORnzrtFC2/ueVQCgnz2PbI0W4VF82eC/1D5Ov/9v
aPYAn0roZC262UGIFePp+drX+dLFGpbG
=HoH5
-----END PGP SIGNATURE-----


More information about the devel mailing list