xfree-compile stops when trying to compile xft, nothing more to say Reproducible: Always Steps to Reproduce: 1. emerge xft 2. 3. Actual Results: i got this output: make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/lib/Xft' rm -f xftdpy.o unshared/xftdpy.o /usr/bin/gcc -c -ansi -pedantic -Wno-return-type -w -I/usr/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DFREETYPE2 -march=i686 -O3 -O3 -O3 -O3 -pipe xftdpy.c -o unshared/xftdpy.o xftdpy.c: In function `_XftDefaultInit': xftdpy.c:380: `FC_HINT_STYLE' undeclared (first use in this function) xftdpy.c:380: (Each undeclared identifier is reported only once xftdpy.c:380: for each function it appears in.) xftdpy.c: In function `XftDefaultSubstitute': xftdpy.c:478: `FC_HINT_STYLE' undeclared (first use in this function) Expected Results: it should compile I had problems wit CC and CXX not being set because i used an old version of the gcc ebuild... but after i added CC and CXX to /etc/conf.d/05gcc i got this error instead, i put it in as a new bug because i don't think it's related, true?
"Steps to reproduce" is wrong, it should say "emerge xfree" instead ofcourse
Which version of freetype do you have installed?
2.1.3-r2
Please upgrade to the latest stable version on your arch, at least 2.1.4.
i installed media-libs/freetype-2.1.5-r1 and the compilation fails at the same place with the same error-message
Oops, try upgrading fontconfig too. I should've done a little more research. Although it can't hurt to be using current versions of both. =) donnie@supernova donnie $ grep -r FC_HINT_STYLE /usr/include/ /usr/include/fontconfig/fontconfig.h:#define FC_HINT_STYLE "hintstyle"/* Int */
Yep that solved it. the xfree-ebuilds should probably depend on a higher version of fontconfig
Which version works, which doesn't?
Unfortunately i didn't check what version i had before i emerged the new fontconfig, real stupid of me, but i'm pretty sure it was 2.1.X at least
grep fontconfig /var/log/emerge.log
1077633702: >>> unmerge success: media-libs/fontconfig-2.1-r1 1077633706: ::: completed emerge (1 of 1) media-libs/fontconfig-2.2.1 to / so the version i had was 2.1-r1
that version also included this define, so i doubt thats the problem here. I assume this is not reproducable, closing it WORKSFORME.
Last time I checked, upstream != worksforme :P
Changing to correct resolution.