Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42669 - xfree-compile stops when trying to compile xft
Summary: xfree-compile stops when trying to compile xft
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 16:43 UTC by moonlite
Modified: 2005-11-13 16:08 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 moonlite 2004-02-23 16:43:28 UTC
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?
Comment 1 moonlite 2004-02-23 16:44:28 UTC
"Steps to reproduce" is wrong, it should say "emerge xfree" instead ofcourse
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-23 21:00:21 UTC
Which version of freetype do you have installed?
Comment 3 moonlite 2004-02-24 05:27:14 UTC
2.1.3-r2
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-24 06:05:24 UTC
Please upgrade to the latest stable version on your arch, at least 2.1.4.
Comment 5 moonlite 2004-02-24 06:31:25 UTC
i installed media-libs/freetype-2.1.5-r1 and the compilation fails at the same place with the same error-message
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-24 08:16:34 UTC
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 */
Comment 7 moonlite 2004-02-24 08:42:39 UTC
Yep that solved it.

the xfree-ebuilds should probably depend on a higher version of fontconfig
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-24 08:45:29 UTC
Which version works, which doesn't?
Comment 9 moonlite 2004-02-24 09:17:15 UTC
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

Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-24 09:23:21 UTC
grep fontconfig /var/log/emerge.log
Comment 11 moonlite 2004-02-24 13:06:27 UTC
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 
Comment 12 foser (RETIRED) gentoo-dev 2004-03-07 15:32:08 UTC
that version also included this define, so i doubt thats the problem here.

I assume this is not reproducable, closing it WORKSFORME.
Comment 13 Joshua Baergen (RETIRED) gentoo-dev 2005-11-13 14:57:30 UTC
Last time I checked, upstream != worksforme :P
Comment 14 Joshua Baergen (RETIRED) gentoo-dev 2005-11-13 16:08:25 UTC
Changing to correct resolution.