After upgrading media-libs/freetype to version 2.5.1, reinstall of media-gfx/inkscape fails with: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I/usr/include/libwpg-0.2 -I/usr/include/libwpd-0.9 -I/usr/include/poppler -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -DPOTRACE=\"potrace\" -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng16 -I../cxxtest -I./bind/javainc -I./bind/javainc/linux -Werror=format-security -DG_DISABLE_SINGLE_INCLUDES -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -march=native -O3 -mfpmath=sse -g -pipe -fno-strict-aliasing -fopenmp -c -o sp-tref.o sp-tref.cpp In file included from sp-text.cpp:30:0: ./libnrtype/FontFactory.h:34:31: fatal error: freetype/freetype.h: No such file or directory #include <freetype/freetype.h> ^ compilation terminated. Makefile:5966: recipe for target 'sp-text.o' failed make[2]: *** [sp-text.o] Error 1 The reason is obvious, the path to freetype headers changed from /usr/include/freetype2/freetype/ (in 2.5.0.1) to just /usr/include/freetype2/ (in 2.5.0). This the same problem as with gimp in bug #493466. Reproducible: Always
Created attachment 364870 [details, diff] inkscape-0.48.4-fix-freetype-includes-v1.patch https://bugs.launchpad.net/inkscape/+bug/1255830
*** Bug 493610 has been marked as a duplicate of this bug. ***
Bug is also affecting compilation of x11-libs/libXft and wine, all versions. Masking freetype-2.5.1 works as a temporary fix.
+ 10 Dec 2013; Lars Wendler <polynomial-c@gentoo.org> + inkscape-0.48.4-r1.ebuild: + Fixed compilation with >=media-libs/freetype-2.5.1 (bug #493478). +