Subject: pkg/10755: pkgsrc freetype doesn't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 08/04/2000 10:08:15
>Number:         10755
>Category:       pkg
>Synopsis:       freetype-libs don't compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 04 10:09:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Release:        -current Fri Aug  4 10:04:23 PDT 2000
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Environment:
	
System: NetBSD capsicum.wsrcc.com 1.5C NetBSD 1.5C (WSRCC) #0: Sun Jul 30 11:47:17 PDT 2000 root@capsicum.wsrcc.com:/v/src/netbsd/NetBSD-current/usr/src/sys/arch/i386/compile/WSRCC i386


>Description:
	pkgsrc freetype-lib don't compile.  Serious/medium only because 
	it breaks a ghostscript compile *after* the pkgsrc build engine 
	insists that you pkg_delete the old working ghostscript.

	this leaves one with no working ghostscript and no way of getting 
	the old one back without going to backup tape.  

>How-To-Repeat:

	cd /usr/pkgsrc/graphics/freetype-lib/
	make

rm -f .libs/ftxsbit.lo
cc -c -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wuninitialized -I/usr/pkg/include -I/usr/pkg/include -I. -I.. -I/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../.. -I/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend /v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c  -fPIC -DPIC -o .libs/ftxsbit.lo
In file included from /v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:22:
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.h:229: syntax error before `TT_Int'
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c: In function `Load_TrueType_Eblc':
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:572: structure has no member named `num_ranges'
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:620: structure has no member named `num_ranges'
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:625: structure has no member named `num_ranges'
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:628: structure has no member named `num_ranges'
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:642: structure has no member named `num_ranges'
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c: In function `Free_TrueType_Eblc':
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:682: structure has no member named `num_ranges'
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:689: structure has no member named `num_ranges'
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:679: warning: `n' might be used uninitialized in this function
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c: In function `Load_SBit_Image':
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:826: structure has no member named `num_ranges'
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c: In function `TT_Get_SBit_Strike':
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:1195: syntax error before `x_ppem'
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:1214: `x_ppem' undeclared (first use in this function)
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:1214: (Each undeclared identifier is reported only once
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:1214: for each function it appears in.)
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:1215: `y_ppem' undeclared (first use in this function)
/v/obj/pkgsrc/graphics/freetype-lib/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxsbit.c:1228: structure has no member named `num_ranges'
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: