dev-python/pywebkitgtk-1.1.8 build failed with the following error: <...> /bin/sh ./libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -pthread -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/libxml2 -O2 -march=prescott -mtune=prescott -pipe -fomit-frame-pointer -mmmx -msse2 -msse -module -avoid-version -export-symbols-regex initwebkit -Wl,-O1 -Wl,--as-needed -o webkit.la -rpath /usr/lib/python2.7/site-packages/webkit webkit/webkit_la-webkitmodule.lo javascriptcore/webkit_la-javascriptcore_types.lo webkit/webkit_la-webkit.lo -pthread -lxslt -lz -lxml2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lwebkit-1.0 -lgtk-x11-2.0 -lsoup-2.4 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /bin/grep: /usr/lib/libXfixes.la: No such file or directory /bin/sed: can't read /usr/lib/libXfixes.la: No such file or directory libtool: link: `/usr/lib/libXfixes.la' is not a valid libtool archive make[1]: *** [webkit.la] Error 1 make[1]: Leaving directory `/tmp/portage/dev-python/pywebkitgtk-1.1.8/work/pywebkitgtk-1.1.8-2.7' make: *** [all] Error 2 emake failed Remerging x11-libs/libXfixes-5.0 with or without static-libs use does not help. $ ls -l /usr/lib/libXfixes.* -rw-r--r-- 1 root root 16992 Apr 28 22:46 /usr/lib/libXfixes.a lrwxrwxrwx 1 root root 18 Apr 28 22:46 /usr/lib/libXfixes.so -> libXfixes.so.3.1.0 lrwxrwxrwx 1 root root 18 Apr 28 22:46 /usr/lib/libXfixes.so.3 -> libXfixes.so.3.1.0 -rwxr-xr-x 1 root root 17564 Apr 28 22:46 /usr/lib/libXfixes.so.3.1.0
Usually, this kind of problem gets fixed by revdep-rebuild.