[xorg-bugzilla-noise] [Bug 925] New: Using Freetype 2.1.8+ symbols
breaks build on many systems
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 26 09:45:32 PDT 2004
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://freedesktop.org/bugzilla/show_bug.cgi?id=925
Summary: Using Freetype 2.1.8+ symbols breaks build on many
systems
Product: xorg
Version: CVS_head
Platform: PC
OS/Version: All
Status: NEW
Severity: critical
Priority: P2
Component: Lib/font
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: anholt at FreeBSD.org
OtherBugsDependingO 351
nThis:
Recent changes to use Freetype 2.1.8 (and higher)-only symbols has broken the
build on many platforms, including FreeBSD and most peoples' Linux. We can't
just use the 2.1.9 shipped with xorg due to conflicts with the local packaging
system. At least FreeBSD is not updating to 2.1.9 because of concerns about
rendering quality suffering 2.1.8+.
The best solution would seem to be having a HasFreetype218 flag that defaults to
off, and only use these symbols when that gets set.
making all in lib/font/FreeType...
make[5]: Entering directory `/home/carl/src/tinderclient/Test/xc/lib/font/FreeType'
rm -f xttcap.o unshared/xttcap.o
gcc -m32 -c -ansi -pedantic -Wall -Wpointer-arith -Wundef
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I.
-I../../../include/fonts -I../include -I../../../exports/include/X11
-I../../../programs/Xserver/include -I../../../exports/include
-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
-DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA
-DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE
-DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) +
((7) * 100000) + ((0) * 1000) + 0)" -DXFREE86_FT2 -O2
-fno-strength-reduce -fno-strict-aliasing xttcap.c -o unshared/xttcap.o
rm -f xttcap.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall
-Wpointer-arith -Wundef -I/usr/include/freetype2
-I/usr/include/freetype2/config -I. -I../../../include/fonts -I../include
-I../../../exports/include/X11 -I../../../programs/Xserver/include
-I../../../exports/include -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 -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV
-DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER
-DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE
-DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((7) * 100000) + ((0) * 1000) +
0)" -DXFREE86_FT2 -fPIC xttcap.c
rm -f ftfuncs.o unshared/ftfuncs.o
gcc -m32 -c -ansi -pedantic -Wall -Wpointer-arith -Wundef
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I.
-I../../../include/fonts -I../include -I../../../exports/include/X11
-I../../../programs/Xserver/include -I../../../exports/include
-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
-DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA
-DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE
-DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) +
((7) * 100000) + ((0) * 1000) + 0)" -DXFREE86_FT2 -O2
-fno-strength-reduce -fno-strict-aliasing ftfuncs.c -o unshared/ftfuncs.o
ftfuncs.c: In function `FT_Do_SBit_Metrics':
ftfuncs.c:931: error: structure has no member named `find_sbit_image'
ftfuncs.c:955: error: structure has no member named `load_sbit_metrics'
make[5]: *** [ftfuncs.o] Error 1
make[5]: Leaving directory `/home/carl/src/tinderclient/Test/xc/lib/font/FreeType'
make[4]: *** [FreeType] Error 2
make[4]: Leaving directory `/home/carl/src/tinderclient/Test/xc/lib/font'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/carl/src/tinderclient/Test/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/carl/src/tinderclient/Test/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/carl/src/tinderclient/Test/xc'
make: *** [World] Error 2
--
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list