Bug 11927 - swfdec unused-direct-shlib-dependency
Summary: swfdec unused-direct-shlib-dependency
Status: NEW
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: swfdec ml
QA Contact: swfdec ml
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-10 04:59 UTC by NicolasChauvet
Modified: 2008-02-22 13:35 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description NicolasChauvet 2007-08-10 04:59:45 UTC
I'm succeded to compile 0.5.1 - targetted for the rpm.livna.org repository for Fedora. While checking libs with the rpmlint tool, this lead to show thoses warnings:

[root@Kwizatz html]# rpmlint swfdec
W: swfdec unused-direct-shlib-dependency /usr/lib64/libswfdec-0.5.so.0.0.0 /lib64/libgmodule-2.0.so.0
W: swfdec unused-direct-shlib-dependency /usr/lib64/libswfdec-0.5.so.0.0.0 /lib64/libdl.so.2
W: swfdec unused-direct-shlib-dependency /usr/lib64/libswfdec-0.5.so.0.0.0 /lib64/libgthread-2.0.so.0
W: swfdec unused-direct-shlib-dependency /usr/lib64/libswfdec-0.5.so.0.0.0 /lib64/librt.so.1
W: swfdec unused-direct-shlib-dependency /usr/lib64/libswfdec-0.5.so.0.0.0 /usr/lib64/libxml2.so.2
[root@Kwizatz html]# rpmlint swfdec-gtk
W: swfdec-gtk unused-direct-shlib-dependency /usr/lib64/libswfdec-gtk-0.5.so.0.0.0 /usr/lib64/libatk-1.0.so.0
W: swfdec-gtk unused-direct-shlib-dependency /usr/lib64/libswfdec-gtk-0.5.so.0.0.0 /usr/lib64/libgdk_pixbuf-2.0.so.0
W: swfdec-gtk unused-direct-shlib-dependency /usr/lib64/libswfdec-gtk-0.5.so.0.0.0 /usr/lib64/libpangocairo-1.0.so.0
W: swfdec-gtk unused-direct-shlib-dependency /usr/lib64/libswfdec-gtk-0.5.so.0.0.0 /usr/lib64/libpango-1.0.so.0
W: swfdec-gtk unused-direct-shlib-dependency /usr/lib64/libswfdec-gtk-0.5.so.0.0.0 /lib64/libgmodule-2.0.so.0
W: swfdec-gtk unused-direct-shlib-dependency /usr/lib64/libswfdec-gtk-0.5.so.0.0.0 /lib64/libdl.so.2
W: swfdec-gtk unused-direct-shlib-dependency /usr/lib64/libswfdec-gtk-0.5.so.0.0.0 /usr/lib64/libz.so.1
W: swfdec-gtk unused-direct-shlib-dependency /usr/lib64/libswfdec-gtk-0.5.so.0.0.0 /usr/lib64/libxml2.so.2
W: swfdec-gtk unused-direct-shlib-dependency /usr/lib64/libswfdec-gtk-0.5.so.0.0.0 /usr/lib64/libgnutls.so.13
Comment 1 Benjamin Otte 2007-08-10 06:36:30 UTC
I believe most of this is due to pkgconfig files for libs that swfdec depends on (like gtk pulling in gdk-pixbuf and atk). So I'd mark this as NOTOURBUG, unless you know a way to fix this?
Comment 2 NicolasChauvet 2007-08-12 06:41:02 UTC
OK so don't know how to fix this!
I will ask for the gtk2 packager...

For now we can fix this by adding this is our spec file (after the configure step)
# clean unused-direct-shlib-dependencies
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
Comment 3 Riccardo Magliocchetti 2008-02-22 13:04:57 UTC
Brian, since you are the packager of swfdec for fedora, can you help with this issue?
Comment 4 Brian Pepple 2008-02-22 13:35:26 UTC
(In reply to comment #3)
> Brian, since you are the packager of swfdec for fedora, can you help with this
> issue?
> 

Yeah, when I get back from vacation I'll give this a look.



Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.