Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373771 - net-im/pidgin and gnome-base/librsvg need /usr/lib/libfreetype.la
Summary: net-im/pidgin and gnome-base/librsvg need /usr/lib/libfreetype.la
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-02 03:16 UTC by OKUMURA N. Shin-ya
Modified: 2011-07-02 13:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
net-im/pidgen-2.9.0 build.log when missing /usr/lib/libfreetype.la (build.log,402.64 KB, text/plain)
2011-07-02 09:33 UTC, OKUMURA N. Shin-ya
Details

Note You need to log in before you can comment on or make changes to this bug.
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).