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.
Use revdep-rebuild for such problems - those la files are definitely *not* required.
Created attachment 278849 [details] net-im/pidgen-2.9.0 build.log when missing /usr/lib/libfreetype.la
(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.
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).