emerging media-libs/mlt-0.9.0 fails, because the compiler cannot find freetype/freetype.h. Recent versions of freetype header files are under /usr/include/freetype2. Reproducible: Always If I create a symbolic link (freetype -> freetype2), then the package merges properly.
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.
Created attachment 372510 [details] emerge --info
Created attachment 372512 [details] emerge build screen output
(In reply to Timur Aydin from comment #3) > Created attachment 372512 [details] > emerge build screen output IIUC, the problem here is that the recommended by upstream method is #include <ft2build.h> #include FT_FREETYPE_H not what's been used here. That's probably the real fix.
Created attachment 372914 [details, diff] fix Please fix, patch attached.
(In reply to darkbasic from comment #5) > Created attachment 372914 [details, diff] [details, diff] > fix > > Please fix, patch attached. this patch dont solve all. i got this error now with this patch: ake[1]: Leaving directory '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/modules' make[1]: Entering directory '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig' list='lua python ruby'; \ for subdir in $list; do \ if [ -x $subdir/build -a ! -f .$subdir -o all = clean ] ; \ then echo -n Building $subdir... ; \ cd $subdir && output=`CXXFLAGS="-march=corei7 -O2 -pipe" ./build all 2>&1` ; \ if [ $? -eq 0 ] ; \ then echo OK && touch ../.$subdir ; \ else echo $output && exit 1 ; \ fi ; \ cd .. ; \ if [ -f $subdir/Makefile -a -f .$subdir ] ; \ then make -C $subdir all || exit 1 ; \ fi ; \ if [ all = clean ] ; \ then rm -f .$subdir ; \ fi ; \ fi \ done Building lua...OK Building python...OK Building ruby...OK make[2]: Entering directory '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig/ruby' compiling mlt_wrap.cxx In file included from /usr/include/mlt++/Mlt.h:24:0, from mlt_wrap.cxx:1999: /usr/include/mlt++/MltConsumer.h:26:27: fatal error: framework/mlt.h: No such file or directory #include <framework/mlt.h> ^ compilation terminated. Makefile:212: recipe for target 'mlt_wrap.o' failed make[2]: *** [mlt_wrap.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig/ruby' Makefile:5: recipe for target 'all' failed make[1]: *** [all] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0/src/swig' Makefile:9: recipe for target 'all' failed make: *** [all] Error 1 * ERROR: media-libs/mlt-0.9.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/mlt-0.9.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/mlt-0.9.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-libs/mlt-0.9.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/mlt-0.9.0/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0' * S: '/var/tmp/portage/media-libs/mlt-0.9.0/work/mlt-0.9.0' >>> Failed to emerge media-libs/mlt-0.9.0, Log file: >>> '/var/tmp/portage/media-libs/mlt-0.9.0/temp/build.log'
Uhm framework/mlt.h is from media-libs/mlt so this error doesn't make sense. It compiles flawlessly here with the patch.
(In reply to darkbasic from comment #7) > Uhm framework/mlt.h is from media-libs/mlt so this error doesn't make sense. > It compiles flawlessly here with the patch. Actually, it might make sense, if that log comes from an *upgrade* and header layout has changed. Still, it would be a separate bug then.
+ 21 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> mlt-0.9.0.ebuild, + +files/mlt-0.9.0-freetype251.patch: + Fixed compilation with >=freetype-2.5.1 (bug #504332). + @darkbasic: Thanks for the patch @tman: Your error appears to be bug #480574
*** Bug 514720 has been marked as a duplicate of this bug. ***