Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504556 - media-libs/coin-3.1.3-r2 fails with >=media-libs/freetype-2.5.1
Summary: media-libs/coin-3.1.3-r2 fails with >=media-libs/freetype-2.5.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: freetype-2.5.1
  Show dependency tree
 
Reported: 2014-03-14 06:56 UTC by cjanderson
Modified: 2014-03-21 20:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cjanderson 2014-03-14 06:56:44 UTC
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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-14 13:28:01 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info media-libs/coin' output in a comment.
Comment 2 Rafał Mużyło 2014-03-14 17:05:48 UTC
:sigh: see, for example, bug 504332
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-03-21 20:52:55 UTC
+  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).
+