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

Bug 379037

Summary: media-gfx/graphviz-2.26.3-r3 fails to compile: /usr/lib/libfreetype.la not found
Product: Gentoo Linux Reporter: Benedikt Waldvogel <gentoo-bugzilla>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Benedikt Waldvogel 2011-08-13 11:22:44 UTC
CC     gvplugin_gd.lo
  CC     gvrender_gd.lo
  CC     gvrender_gd_vrml.lo
  CC     gvtextlayout_gd.lo
  CC     gvloadimage_gd.lo
  CC     gvdevice_gd.lo
  CCLD   libgvplugin_gd_C.la
  CCLD   libgvplugin_gd.la
grep: /usr/lib/libfreetype.la: No such file or directory
sed: can't read /usr/lib/libfreetype.la: No such file or directory
libtool: link: `/usr/lib/libfreetype.la' is not a valid libtool archive
make[3]: *** [libgvplugin_gd.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3/plugin/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3'
make: *** [all] Error 2
emake failed

Reproducible: Always

Steps to Reproduce:
1. emerge graphviz
Actual Results:  
emerge fails


# locate libfreetype
/usr/lib/libfreetype.so
/usr/lib/libfreetype.so.6
/usr/lib/libfreetype.so.6.7.1
/usr/lib/vlc/plugins/misc/libfreetype_plugin.la
/usr/lib/vlc/plugins/misc/libfreetype_plugin.so


Installed freetype versions:
- 1.4_pre20080316-r2
- 2.4.6

libtool:
- 2.4-r1

gcc:
- 4.4.5
Comment 1 Rafał Mużyło 2011-08-13 16:28:29 UTC
Just use revdep-rebuild (as you already should have).
Comment 2 Benedikt Waldvogel 2011-08-14 10:46:13 UTC
my bad. A full revdep-rebuild indeed helped.
I only ran "revdep-rebuild --library /usr/lib/libfreetype.la" which was not enough.