x11/XFree86-4-libraries compile broken

Joe Marcus Clarke marcus at marcuscom.com
Tue Oct 17 01:55:43 UTC 2006


On Mon, 2006-10-16 at 20:47 -0500, Scott Allendorf wrote:
> Recent changes to print/freetype2 appear to have broken the 
> x11/XFree86-4-libraries build on a recent RELENG_4.  It looks like some 
> needed headers were removed from the freetype2 port.  The end of the 
> make output:

I thought I had fixed all of the X ports, but this one must have slipped
through.  Try copying the three patch-lib_font_FreeType* patches from
x11-servers/XFree86-4-Server/files to x11/XFree86-4-libraries/files, and
see if that fixes the build.

Joe

> 
> =========================================================================
> cc -c -ansi  -Dasm=__asm -Wall -Wpointer-arith -Wundef 
> -I/usr/local/include -I/usr/local/include/freetype2 -I. 
> -I/home/sca/usr/ports/x11/XFree86-4-libraries/work/xc/include/fonts 
> -I../include 
> -I/home/sca/usr/ports/x11/XFree86-4-libraries/work/xc/exports/include/X11 
>  
> -I/home/sca/usr/ports/x11/XFree86-4-libraries/work/xc/programs/Xserver/include 
> -I/home/sca/usr/ports/x11/XFree86-4-libraries/work/xc/extras/freetype2/src/truetype 
>  
> -I/home/sca/usr/ports/x11/XFree86-4-libraries/work/xc/exports/include 
> -I/home/sca/usr/ports/x11/XFree86-4-libraries/work/xc 
> -I/home/sca/usr/ports/x11/XFree86-4-libraries/work/xc/exports/include 
> -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DGCCUSESGAS 
> -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension 
> -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension 
> -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension 
> -DX_BYTE_ORDER=X_LITTLE_ENDIAN         -DXFREE86_FT2  -O -pipe 
> -march=pentiumpro   ftfuncs.c -o unshared/ftfuncs.o
> ftfuncs.c:53: `#include' expects "FILENAME" or <FILENAME>
> ftfuncs.c:55: `#include' expects "FILENAME" or <FILENAME>
> ftfuncs.c:56: `#include' expects "FILENAME" or <FILENAME>
> ftfuncs.c: In function `FreeTypeOpenInstance':
> ftfuncs.c:463: syntax error before `tt_face'
> ftfuncs.c:467: syntax error before `sfnt'
> ftfuncs.c:468: `tt_face' undeclared (first use in this function)
> ftfuncs.c:468: (Each undeclared identifier is reported only once
> ftfuncs.c:468: for each function it appears in.)
> ftfuncs.c:468: `TT_Face' undeclared (first use in this function)
> ftfuncs.c:468: syntax error before `face'
> ftfuncs.c:482: `sfnt' undeclared (first use in this function)
> ftfuncs.c:482: `SFNT_Service' undeclared (first use in this function)
> ftfuncs.c:482: syntax error before `tt_face'
> ftfuncs.c:462: warning: `err' might be used uninitialized in this function
> ftfuncs.c: In function `tt_get_metrics':
> ftfuncs.c:811: syntax error before `longs_m'
> ftfuncs.c:820: `longs_m' undeclared (first use in this function)
> ftfuncs.c:820: `TT_LongMetrics' undeclared (first use in this function)
> ftfuncs.c:820: syntax error before `header'
> ftfuncs.c:825: `TT_ShortMetrics' undeclared (first use in this function)
> ftfuncs.c:825: syntax error before `)'
> ftfuncs.c:826: syntax error before `header'
> ftfuncs.c: In function `ft_get_very_lazy_bbox':
> ftfuncs.c:841: syntax error before `ttface'
> ftfuncs.c:848: `ttface' undeclared (first use in this function)
> ftfuncs.c: In function `FT_Do_SBit_Metrics':
> ftfuncs.c:908: syntax error before `sfnt'
> ftfuncs.c:912: syntax error before `strike'
> ftfuncs.c:925: `face' undeclared (first use in this function)
> ftfuncs.c:925: `TT_Face' undeclared (first use in this function)
> ftfuncs.c:925: syntax error before `ft_face'
> ftfuncs.c:926: `sfnt' undeclared (first use in this function)
> ftfuncs.c:926: `SFNT_Service' undeclared (first use in this function)
> ftfuncs.c:926: syntax error before `face'
> ftfuncs.c:931: `range' undeclared (first use in this function)
> ftfuncs.c:931: `strike' undeclared (first use in this function)
> ftfuncs.c:948: warning: implicit declaration of function `FT_STREAM_POS'
> ftfuncs.c:951: warning: implicit declaration of function `FT_STREAM_SEEK'
> ftfuncs.c:954: `elem_metrics' undeclared (first use in this function)
> ftfuncs.c:910: warning: `error' might be used uninitialized in this function
> *** Error code 1
> 
> Stop in 
> /home/sca/usr/ports/x11/XFree86-4-libraries/work/xc/lib/font/FreeType.
> *** Error code 1
> 
> Stop in /home/sca/usr/ports/x11/XFree86-4-libraries/work/xc/lib/font.
> *** Error code 1
> 
> Stop in /home/sca/usr/ports/x11/XFree86-4-libraries/work/xc/lib.
> *** Error code 1
> 
> Stop in /usr/ports/x11/XFree86-4-libraries.
> =========================================================================
> 
> Thank you for your efforts.  Please let me know if more information is 
> needed.
> 
> Cheers,
> 
> Scott
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20061017/38e040e1/attachment.pgp


More information about the freebsd-gnome mailing list