Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 373771

Summary: net-im/pidgin and gnome-base/librsvg need /usr/lib/libfreetype.la
Product: Gentoo Linux Reporter: OKUMURA N. Shin-ya <oku.ns>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: trivial    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: net-im/pidgen-2.9.0 build.log when missing /usr/lib/libfreetype.la

Description OKUMURA N. Shin-ya 2011-07-02 03:16:21 UTC
net-im/pidgin-2.9.0 and gnome-base/librsvg-2.34.0-r1 need /usr/lib/libfreetype.la but media-libs/freetype-2.4.5 remove it unless USE=static-libs.

Reproducible: Always

Steps to Reproduce:
1. USE=-static-libs emerge =media-libs/freetype-2.4.5
2. emerge =net-im/pidgen
3. emerge =gnome-base/librsvg
Actual Results:  
2 and 3 failes.


I think the ebuilds should demand DEPEND that has static-libs if >=media-libs/freetype-2.4.5.
Comment 1 Rafał Mużyło 2011-07-02 05:11:38 UTC
Use revdep-rebuild for such problems - those la files are definitely *not* required.
Comment 2 OKUMURA N. Shin-ya 2011-07-02 09:33:43 UTC
Created attachment 278849 [details]
net-im/pidgen-2.9.0 build.log when missing /usr/lib/libfreetype.la
Comment 3 OKUMURA N. Shin-ya 2011-07-02 10:01:26 UTC
(In reply to comment #1)
> Use revdep-rebuild for such problems - those la files are definitely *not*
> required.

I think revdep-rebuild cannot solve it, because they do not fail in runtime but in compile-time.
For example, in net-im/pidgin-2.9.0, /usr/bin/make runs libtool, which runs sed for /usr/lib/libfreetype.la (so that emerge fails).
To easily solve it, I guess existence of /usr/lib/libfreetype.la.
Comment 4 Rafał Mużyło 2011-07-02 13:36:00 UTC
You're wrong there - revdep-rebuild does scan la files for /*.lib*.la entries
(actually, the annoying part is that you can't i.e. pass an option for it not to do it).

Just run something like "find /usr/lib -name '*.la' -exec grep -H 'freetype.la' '{}' \;" to find the offending la file(s).