Coin looks for freetype.h in the wrong place. Coin-3.1.3/src/fonts/all-fonts-cpp.cpp -fPIC -DPIC -o .libs/all-fonts-cpp.o In file included from /build/tmp/portage/media-libs/coin-3.1.3-r2/work/Coin-3.1.3/src/fonts/freetype.cpp:44:0, from /build/tmp/portage/media-libs/coin-3.1.3-r2/work/Coin-3.1.3/src/fonts/all-fonts-cpp.cpp:26: /build/tmp/portage/media-libs/coin-3.1.3-r2/work/Coin-3.1.3/src/glue/freetype.h:90:31: fatal error: freetype/freetype.h: No such file or directory #include <freetype/freetype.h> Reproducible: Always Steps to Reproduce: 1. emerge media-libs/coin 2. build fails. 3. If you change the include to freetype2/freetype.h the build works. Perhaps this file needs to be patched as q belongs /usr/include/freetype2/freetype.h media-libs/freetype (/usr/include/freetype2/freetype.h) Here is the build error.
1) Please attach the entire build log to this bug report. 2) Please post your `emerge --info media-libs/coin' output in a comment.
:sigh: see, for example, bug 504332
+ 21 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> coin-3.1.3-r2.ebuild, + +files/coin-3.1.3-freetype251.patch: + Fixed compilation with >=freetype-2.5.1 (bug #504556). +