ports/112419: x11-fonts/fontconfig make fails

maya maya at negeta.com
Fri May 4 15:10:11 UTC 2007


>Number:         112419
>Category:       ports
>Synopsis:       x11-fonts/fontconfig make fails
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 04 15:10:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     maya
>Release:        
>Organization:
>Environment:
FreeBSD 6.2-RELEASE-p4 i386
>Description:
Building fontconfig fails with error.
>How-To-Repeat:
/usr/ports/x11-fonts/fontconfig# make
...
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DFONTCONFIG_PATH=\"/usr/X11R6/etc/fonts\" -I.. -I../src -O2 -pipe -march=c3-2 -MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c  -fPIC -DPIC -o .libs/fcfreetype.o
fcfreetype.c:53:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:58:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:59:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:60:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c: In function `FcGetPixelSize':
fcfreetype.c:958: error: dereferencing pointer to incomplete type
fcfreetype.c: In function `FcFreeTypeQuery':
fcfreetype.c:1435: error: dereferencing pointer to incomplete type
fcfreetype.c:1442: error: dereferencing pointer to incomplete type
fcfreetype.c:1465: error: dereferencing pointer to incomplete type
fcfreetype.c:1545: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: warning: implicit declaration of function `FT_MODULE_CLASS'
fcfreetype.c:1562: warning: nested extern declaration of `FT_MODULE_CLASS'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of `->'
fcfreetype.c:1599: error: dereferencing pointer to incomplete type
fcfreetype.c:1609: error: dereferencing pointer to incomplete type
fcfreetype.c: In function `GetScriptTags':
fcfreetype.c:2710: error: syntax error before "tt_face"
fcfreetype.c:2719: error: `tt_face' undeclared (first use in this function)
fcfreetype.c:2719: error: (Each undeclared identifier is reported only once
fcfreetype.c:2719: error: for each function it appears in.)
fcfreetype.c:2722: warning: implicit declaration of function `FT_STREAM_POS'
fcfreetype.c:2722: warning: nested extern declaration of `FT_STREAM_POS'
fcfreetype.c:2726: warning: implicit declaration of function `FT_STREAM_SEEK'
fcfreetype.c:2726: warning: nested extern declaration of `FT_STREAM_SEEK'
fcfreetype.c:2726: warning: implicit declaration of function `FT_FRAME_ENTER'
fcfreetype.c:2726: warning: nested extern declaration of `FT_FRAME_ENTER'
fcfreetype.c:2729: warning: implicit declaration of function `FT_GET_USHORT'
fcfreetype.c:2729: warning: nested extern declaration of `FT_GET_USHORT'
fcfreetype.c:2731: warning: implicit declaration of function `FT_FRAME_EXIT'
fcfreetype.c:2731: warning: nested extern declaration of `FT_FRAME_EXIT'
fcfreetype.c:2747: warning: implicit declaration of function `FT_SET_ERROR'
fcfreetype.c:2747: warning: nested extern declaration of `FT_SET_ERROR'
fcfreetype.c:2747: warning: implicit declaration of function `FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2747: warning: nested extern declaration of `FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2747: error: syntax error before "FT_ULong"
fcfreetype.c:2756: warning: implicit declaration of function `FT_GET_ULONG'
fcfreetype.c:2756: warning: nested extern declaration of `FT_GET_ULONG'
fcfreetype.c:2787: warning: implicit declaration of function `FT_FREE'
fcfreetype.c:2787: warning: nested extern declaration of `FT_FREE'
fcfreetype.c:2714: warning: unused variable `memory'
fcfreetype.c: In function `FcFontCapabilities':
fcfreetype.c:2844: warning: nested extern declaration of `FT_FREE'
fcfreetype.c:2800: warning: unused variable `memory'
gmake[2]: *** [fcfreetype.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.3.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.3.2'
gmake: *** [all] Error 2
*** Error code 2
>Fix:
http://mail.gnome.org/archives/gtk-list/2006-August/msg00242.html
I extracted this patch for ports.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list