Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493478 - media-gfx/inkscape-0.48.4-r1: ./libnrtype/FontFactory.h:34:31: fatal error: freetype/freetype.h: No such file or directory w/ media-libs/freetype-2.5.1
Summary: media-gfx/inkscape-0.48.4-r1: ./libnrtype/FontFactory.h:34:31: fatal error: f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 493610 (view as bug list)
Depends on: 493588
Blocks: freetype-2.5.1
  Show dependency tree
 
Reported: 2013-12-06 21:53 UTC by Petr Zima
Modified: 2013-12-10 09:58 UTC (History)
2 users (show)

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


Attachments
inkscape-0.48.4-fix-freetype-includes-v1.patch (inkscape-0.48.4-fix-freetype-includes-v1.patch,293 bytes, patch)
2013-12-07 23:52 UTC, Chris Slycord
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Zima 2013-12-06 21:53:26 UTC
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
Comment 1 Chris Slycord 2013-12-07 23:52:54 UTC
Created attachment 364870 [details, diff]
inkscape-0.48.4-fix-freetype-includes-v1.patch

https://bugs.launchpad.net/inkscape/+bug/1255830
Comment 2 eroen 2013-12-08 01:32:32 UTC
*** Bug 493610 has been marked as a duplicate of this bug. ***
Comment 3 Panda Man 2013-12-08 15:33:40 UTC
Bug is also affecting compilation of x11-libs/libXft and wine, all versions.  Masking freetype-2.5.1 works as a temporary fix.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-12-10 09:58:41 UTC
+  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).
+