Bug 1767

Summary: Build bustage in xc/programs/bdftopcf/ due missing `FT_STREAM_SEEK'/`FT_STREAM_POS' symbols
Product: xorg Reporter: Roland Mainz <roland.mainz>
Component: Lib/XfontAssignee: Roland Mainz <roland.mainz>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: high CC: carl, eich
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Bustage fix, patch for 2004-11-03-trunk none

Description Roland Mainz 2004-11-02 18:13:20 UTC
Looking 2004-11-03-trunk, the build fails like (the log below is from the
tinderbox) this on SuSE8.2 with |#define HasFreetype NO|
-- snip --
/usr/include/unistd.h:148: warning: redundant redeclaration of `ftruncate' in
same scope
/usr/include/sys/types.h:142: warning: previous declaration of `ftruncate'
/usr/include/unistd.h:224: warning: redundant redeclaration of `truncate' in
same scope
/usr/include/sys/types.h:143: warning: previous declaration of `truncate'
rm -f bdftopcf
cc -o bdftopcf -O2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Wundef     -L../../exports/lib   bdftopcf.o -lXfont -lfntstubs -lfreetype   -lz
-lm   -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath-link,../../exports/lib
../../exports/lib/libXfont.so.3.0: undefined reference to `FT_STREAM_SEEK'
../../exports/lib/libXfont.so.3.0: undefined reference to `FT_STREAM_POS'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /home/tinderclient/XMonolithic/xc/programs/bdftopcf (line 1048 of
Makefile).
*** Error code 1

Stop in /home/tinderclient/XMonolithic/xc/programs (line 1117 of Makefile).
*** Error code 1

Stop in /home/tinderclient/XMonolithic/xc (line 1054 of xmakefile).
*** Error code 1

Stop in /home/tinderclient/XMonolithic/xc (line 1131 of xmakefile).
*** Error code 1

Stop in /home/tinderclient/XMonolithic/xc (line 45 of Makefile).
<--- TINDERBOX FINISHED (FAILURE: 256) RUNNING 'make World' Tue, 02 Nov 2004
22:50:26 GMT
Build failed with result 200
-- snip --

It seems Egbert Eich commented something out which caused this bugstage (see
https://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/xorg/xc/lib/font/FreeType/ftfuncs.c?r1=1.7&r2=1.8&makepatch=1&diff_format=h)
...
Comment 1 Roland Mainz 2004-11-02 18:15:17 UTC
s/Looking 2004-11-03-trunk/Xorg CVS 2004-11-03-trunk/ 
Comment 2 Alexander Gottwald 2004-11-03 05:27:02 UTC
*** Bug 1772 has been marked as a duplicate of this bug. ***
Comment 3 Roland Mainz 2004-11-03 10:51:12 UTC
Taking bug myself. Right now there is tons of bustage and I'd like to fix all
these problems today, even via wallpapering until tinderbox is GREEN again...
Comment 4 Roland Mainz 2004-11-03 11:42:19 UTC
Created attachment 1213 [details] [review]
Bustage fix, patch for 2004-11-03-trunk
Comment 5 Roland Mainz 2004-11-03 11:45:54 UTC
Patch checked-in...

/cvs/xorg/xc/ChangeLog,v  <--  ChangeLog
new revision: 1.502; previous revision: 1.501
/cvs/xorg/xc/lib/font/FreeType/ftfuncs.c,v  <--  ftfuncs.c
new revision: 1.9; previous revision: 1.8
Mailing the commit message to xorg-commit@pdx.freedesktop.org...

... marking bug as FIXED.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.