Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498782 - x11-misc/xlockmore fails with >=media-libs/freetype-2.5.1
Summary: x11-misc/xlockmore fails with >=media-libs/freetype-2.5.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: freetype-2.5.1
  Show dependency tree
 
Reported: 2014-01-21 12:06 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2014-03-11 13:36 UTC (History)
0 users

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


Attachments
xlockmore-5.43.ebuild.diff (xlockmore-5.43.ebuild.diff,571 bytes, patch)
2014-01-21 12:06 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-01-21 12:06:44 UTC
Created attachment 368324 [details, diff]
xlockmore-5.43.ebuild.diff

x86_64-pc-linux-gnu-g++ -c  -DHAVE_CONFIG_H -DDEF_FILESEARCHPATH=\"/usr/share/X11/app-defaults/%N%C%S:/usr/share/X11/app-defaults/%N%S\" -I. -I.. -I../.. -I../../xlock/ -I../..  -I/usr/include -I/usr/include -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6  -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -march=corei7 -mtune=corei7 -O2 -pipe -fomit-frame-pointer -finline-functions -DFTGL213 text3d2.cc
In file included from text3d2.cc:79:0:
/usr/include/FTGL/ftgl.h:32:22: fatal error: ft2build.h: No such file or directory
 #include <ft2build.h>
                      ^
compilation terminated.
Makefile:150: recipe for target 'text3d2.o' failed
make[1]: *** [text3d2.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/x11-misc/xlockmore-5.43/work/xlockmore-5.43/modes/glx'
Makefile:12: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: x11-misc/xlockmore-5.43::gentoo failed (compile phase):
 *   emake failed


First I thought it's a problem in media-libs/ftgl but the header includes freetype correctly. I then recognized that xlockmore doesn't add "-I/usr/include/freetype2" and thus fails to find ft2build.h header.

I've tried to patch xlockmore's build system but my autoconf-foo is weak. So I did the attached workaround.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-03-11 13:36:48 UTC
+  11 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> xlockmore-5.43.ebuild,
+  +files/xlockmore-5.43-freetype251.patch:
+  Fixed compilation with >=freetype-2.5.1 (bug #498782).
+
Fixed in a different way.