Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72560 - xorg compile dies with "fontconfig/fontconfig.h: No such file or directory"
Summary: xorg compile dies with "fontconfig/fontconfig.h: No such file or directory"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-26 09:20 UTC by Antonny
Modified: 2005-06-27 19:15 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 Antonny 2004-11-26 09:20:04 UTC
When i emerge xorg 6-8-0 or 6-7-0, i get errors.
I can't finish the compilation of xorg. 



Here's a part of my xorg-x11-6.8.0-r3.log : (only thes last lines)

gcc -c -O2 -march=athlon -pipe -fomit-frame-pointer -fno-strict-aliasing  -ansi -pedantic -Wno-return-type -w   -I/usr/include/freetype2 -I/usr/include/freetype2/config -I../../exports/include/X11  -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  -DXFREE86_FT2     -fPIC xftcfg.c
In file included from xftcfg.c:28:
xftint.h:29:35: fontconfig/fontconfig.h: No such file or directory
In file included from XftFreetype.h:28,
                 from xftint.h:31,
                 from xftcfg.c:28:
Xft.h:29:35: fontconfig/fontconfig.h: No such file or directory
In file included from XftFreetype.h:28,
                 from xftint.h:31,
                 from xftcfg.c:28:
Xft.h:89: error: syntax error before "XftType"
Xft.h:89: error: ISO C forbids data definition with no type or storage class
Xft.h:91: error: syntax error before "XftMatrix"
Xft.h:91: error: ISO C forbids data definition with no type or storage class
Xft.h:95: error: syntax error before "XftResult"
Xft.h:95: error: ISO C forbids data definition with no type or storage class
Xft.h:109: error: syntax error before "XftValue"
Xft.h:109: error: ISO C forbids data definition with no type or storage class
Xft.h:112: error: syntax error before "XftPattern"
Xft.h:112: error: ISO C forbids data definition with no type or storage class
Xft.h:114: error: syntax error before "XftFontSet"
Xft.h:114: error: ISO C forbids data definition with no type or storage class
Xft.h:124: error: syntax error before "XftPattern"
Xft.h:133: error: syntax error before '}' token
Xft.h:133: error: ISO C forbids data definition with no type or storage class
Xft.h:142: error: syntax error before "XftObjectSet"
Xft.h:142: error: ISO C forbids data definition with no type or storage class
Xft.h:148: error: syntax error before '*' token
Xft.h:175: error: syntax error before "v"
Xft.h:178: error: syntax error before '*' token
Xft.h:181: error: syntax error before '*' token
Xft.h:189: error: syntax error before "XftPattern"
Xft.h:192: error: syntax error before "XftPattern"
Xft.h:216: error: syntax error before "XftFont"
Xft.h:225: error: syntax error before "XftFont"
Xft.h:234: error: syntax error before "XftFont"
Xft.h:243: error: syntax error before "XftFont"
Xft.h:266: error: syntax error before "XftFont"
Xft.h:273: error: syntax error before "XftFont"
Xft.h:280: error: syntax error before "XftFont"
Xft.h:287: error: syntax error before "XftFont"
Xft.h:293: error: syntax error before '*' token
Xft.h:294: error: syntax error before "XftPattern"
Xft.h:294: error: ISO C forbids data definition with no type or storage class
Xft.h:296: error: syntax error before '*' token
Xft.h:297: error: syntax error before "XftPattern"
Xft.h:297: error: ISO C forbids data definition with no type or storage class
Xft.h:299: error: syntax error before '*' token
Xft.h:300: error: ISO C forbids data definition with no type or storage class
Xft.h:302: error: syntax error before '*' token
Xft.h:303: error: ISO C forbids data definition with no type or storage class
Xft.h:305: error: syntax error before '*' token
Xft.h:306: error: ISO C forbids data definition with no type or storage class
Xft.h:309: error: syntax error before "XftFont"
Xft.h:312: error: syntax error before "XftFont"
Xft.h:317: error: syntax error before '*' token
Xft.h:318: error: ISO C forbids data definition with no type or storage class
Xft.h:321: error: syntax error before '*' token
Xft.h:324: error: syntax error before '*' token
Xft.h:338: error: syntax error before '*' token
Xft.h:339: error: ISO C forbids data definition with no type or storage class
Xft.h:342: error: syntax error before '*' token
Xft.h:345: error: syntax error before '*' token
Xft.h:347: error: syntax error before '*' token
Xft.h:348: error: ISO C forbids data definition with no type or storage class
Xft.h:350: error: syntax error before '*' token
Xft.h:351: error: ISO C forbids data definition with no type or storage class
Xft.h:353: error: syntax error before '*' token
Xft.h:354: error: syntax error before '*' token
Xft.h:357: error: ISO C forbids data definition with no type or storage class
Xft.h:359: error: syntax error before '*' token
Xft.h:362: error: syntax error before "XftPattern"
Xft.h:363: error: ISO C forbids data definition with no type or storage class
Xft.h:365: error: syntax error before '*' token
Xft.h:368: error: ISO C forbids data definition with no type or storage class
Xft.h:371: error: syntax error before '*' token
Xft.h:372: error: syntax error before '*' token
Xft.h:375: error: ISO C forbids data definition with no type or storage class
Xft.h:379: error: syntax error before '*' token
Xft.h:382: error: syntax error before '*' token
Xft.h:385: error: syntax error before '*' token
Xft.h:388: error: syntax error before '*' token
Xft.h:391: error: syntax error before '*' token
Xft.h:394: error: syntax error before '*' token
Xft.h:395: error: ISO C forbids data definition with no type or storage class
Xft.h:398: error: syntax error before '*' token
Xft.h:401: error: syntax error before '*' token
Xft.h:402: error: ISO C forbids data definition with no type or storage class
Xft.h:404: error: syntax error before '*' token
Xft.h:405: error: syntax error before '*' token
Xft.h:405: error: ISO C forbids data definition with no type or storage class
Xft.h:408: error: syntax error before "v"
Xft.h:411: error: syntax error before '*' token
Xft.h:414: error: syntax error before '*' token
Xft.h:417: error: syntax error before "XftPatternGet"
Xft.h:417: error: syntax error before '*' token
Xft.h:417: error: ISO C forbids data definition with no type or storage class
Xft.h:420: error: syntax error before '*' token
Xft.h:423: error: syntax error before '*' token
Xft.h:426: error: syntax error before '*' token
Xft.h:429: error: syntax error before '*' token
Xft.h:432: error: syntax error before '*' token
Xft.h:435: error: syntax error before '*' token
Xft.h:438: error: syntax error before "XftPatternGetInteger"
Xft.h:438: error: syntax error before '*' token
Xft.h:438: error: ISO C forbids data definition with no type or storage class
Xft.h:441: error: syntax error before "XftPatternGetDouble"
Xft.h:441: error: syntax error before '*' token
Xft.h:441: error: ISO C forbids data definition with no type or storage class
Xft.h:444: error: syntax error before "XftPatternGetString"
Xft.h:444: error: syntax error before '*' token
Xft.h:444: error: ISO C forbids data definition with no type or storage class
Xft.h:447: error: syntax error before "XftPatternGetMatrix"
Xft.h:447: error: syntax error before '*' token
Xft.h:447: error: ISO C forbids data definition with no type or storage class
Xft.h:450: error: syntax error before "XftPatternGetBool"
Xft.h:450: error: syntax error before '*' token
Xft.h:450: error: ISO C forbids data definition with no type or storage class
Xft.h:452: error: syntax error before '*' token
Xft.h:453: error: syntax error before '*' token
Xft.h:453: error: ISO C forbids data definition with no type or storage class
Xft.h:455: error: syntax error before '*' token
Xft.h:456: error: syntax error before '*' token
Xft.h:456: error: ISO C forbids data definition with no type or storage class
Xft.h:475: error: syntax error before '*' token
Xft.h:476: error: ISO C forbids data definition with no type or storage class
Xft.h:479: error: syntax error before "XftPattern"
In file included from xftint.h:31,
                 from xftcfg.c:28:
XftFreetype.h:29:22: ft2build.h: No such file or directory
XftFreetype.h:30:10: #include expects "FILENAME" or <FILENAME>
In file included from xftint.h:31,
                 from xftcfg.c:28:
XftFreetype.h:35: error: syntax error before "_XftFTlibrary"
XftFreetype.h:35: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:38: error: syntax error before "FT_Face"
XftFreetype.h:42: error: syntax error before "size"
XftFreetype.h:42: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:55: error: syntax error before "matrix"
XftFreetype.h:55: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:64: error: syntax error before '*' token
XftFreetype.h:67: error: syntax error before '*' token
XftFreetype.h:70: error: syntax error before '*' token
XftFreetype.h:71: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:74: error: syntax error before "face"
XftFreetype.h:77: error: syntax error before "XftPattern"
XftFreetype.h:83: error: syntax error before '*' token
In file included from xftcfg.c:28:
xftint.h:38: error: syntax error before "XftValue"
xftint.h:78: error: syntax error before "XftPattern"
xftint.h:79: error: ISO C forbids data definition with no type or storage class
xftint.h:82: error: syntax error before '}' token
xftint.h:82: error: ISO C forbids data definition with no type or storage class
xftint.h:84: error: syntax error before '*' token
xftint.h:84: error: ISO C forbids data definition with no type or storage class
xftint.h:85: error: syntax error before '*' token
xftint.h:85: error: ISO C forbids data definition with no type or storage class
xftint.h:87: error: syntax error before '*' token
xftint.h:87: error: ISO C forbids data definition with no type or storage class
xftint.h:95: error: syntax error before '*' token
xftint.h:98: error: syntax error before '*' token
xftint.h:138: error: syntax error before "XftMatrix"
xftint.h:144: error: syntax error before '}' token
xftint.h:144: error: conflicting types for `u'
Xft.h:132: error: previous declaration of `u'
xftint.h:144: error: ISO C forbids data definition with no type or storage class
xftint.h:145: error: syntax error before '}' token
xftint.h:145: error: ISO C forbids data definition with no type or storage class
xftint.h:156: error: syntax error before "XftValue"
xftint.h:157: error: ISO C forbids data definition with no type or storage class
xftint.h:163: error: syntax error before "XftExpr"
xftint.h:164: error: ISO C forbids data definition with no type or storage class
xftint.h:168: error: syntax error before "XftTest"
xftint.h:169: error: ISO C forbids data definition with no type or storage class
xftint.h:170: error: syntax error before '}' token
xftint.h:170: error: ISO C forbids data definition with no type or storage class
xftint.h:250: error: syntax error before '*' token
xftint.h:253: error: syntax error before '*' token
xftint.h:266: error: syntax error before '*' token
xftint.h:269: error: syntax error before "m"
xftint.h:331: error: syntax error before '*' token
xftint.h:334: error: syntax error before '*' token
xftint.h:337: error: syntax error before '*' token
xftint.h:340: error: syntax error before '*' token
xftint.h:343: error: syntax error before '*' token
xftint.h:344: error: ISO C forbids data definition with no type or storage class
xftint.h:358: error: syntax error before '*' token
xftint.h:359: error: ISO C forbids data definition with no type or storage class
xftint.h:365: error: syntax error before "XftFont"
xftint.h:371: error: syntax error before "XftFont"
xftint.h:392: error: syntax error before '*' token
xftint.h:393: error: syntax error before "XftValue"
xftint.h:393: error: ISO C forbids data definition with no type or storage class
xftint.h:395: error: syntax error before '*' token
xftint.h:396: error: ISO C forbids data definition with no type or storage class
xftint.h:398: error: syntax error before '*' token
xftint.h:399: error: ISO C forbids data definition with no type or storage class
xftint.h:401: error: syntax error before '*' token
xftint.h:402: error: ISO C forbids data definition with no type or storage class
xftint.h:404: error: syntax error before '*' token
xftint.h:405: error: syntax error before '*' token
xftint.h:405: error: ISO C forbids data definition with no type or storage class
xftint.h:407: error: syntax error before '*' token
xftint.h:408: error: ISO C forbids data definition with no type or storage class
xftint.h:410: error: syntax error before '*' token
xftint.h:411: error: ISO C forbids data definition with no type or storage class
xftint.h:413: error: syntax error before '*' token
xftint.h:414: error: ISO C forbids data definition with no type or storage class
xftint.h:416: error: syntax error before '*' token
xftint.h:417: error: syntax error before '*' token
xftint.h:417: error: ISO C forbids data definition with no type or storage class
xftint.h:420: error: syntax error before '*' token
xftint.h:422: error: syntax error before '*' token
xftint.h:423: error: syntax error before "XftExpr"
xftint.h:423: error: ISO C forbids data definition with no type or storage class
xftint.h:426: error: syntax error before '*' token
xftint.h:445: error: syntax error before "v1"
xftint.h:449: error: syntax error before '*' token
xftint.h:454: error: syntax error before '*' token
xftint.h:468: error: syntax error before '*' token
xftint.h:471: error: syntax error before '*' token
xftint.h:476: error: syntax error before '*' token
xftint.h:477: error: syntax error before '*' token
xftint.h:477: error: ISO C forbids data definition with no type or storage class
xftint.h:506: error: syntax error before '*' token
xftcfg.c:31: error: syntax error before '*' token
xftcfg.c: In function `XftConfigSubstitute':
xftcfg.c:33: error: `p' undeclared (first use in this function)
xftcfg.c:33: error: (Each undeclared identifier is reported only once
xftcfg.c:33: error: for each function it appears in.)
xftcfg.c:33: error: `FcMatchPattern' undeclared (first use in this function)
xftcfg.c:34: error: `FcMatchFont' undeclared (first use in this function)
make[4]: *** [xftcfg.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/lib/Xft1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.0-r3 failed.
!!! Function src_compile, Line 624, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
 

Reproducible: Always
Steps to Reproduce:
1.emerge xorg/x11 and wait the error.
2.
3.
Actual Results:  
Nothing. 
No finalized compilation.

Expected Results:  
the software should be compiled normally ...

My Cflags :
-O2 -march=athlon -pipe -fomit-frame-pointer

My configuration :
Athlon 1ghz, kernel gentoo-dev-source-2-6-9, last version of portage, ati-radeon
9200
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-26 11:13:26 UTC
Which version/revision of fontconfig do you have installed?
Comment 2 Stian Skjelstad 2005-06-27 15:10:46 UTC
No response, please close bug or report requested information
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-27 19:15:42 UTC
Good idea.