From nobody@FreeBSD.org  Fri Mar 16 02:29:07 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id ABD9C16A401
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 16 Mar 2007 02:29:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 8524313C448
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 16 Mar 2007 02:29:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2G2T70Z066843
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 16 Mar 2007 02:29:07 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2G2T7WI066830;
	Fri, 16 Mar 2007 02:29:07 GMT
	(envelope-from nobody)
Message-Id: <200703160229.l2G2T7WI066830@www.freebsd.org>
Date: Fri, 16 Mar 2007 02:29:07 GMT
From: bf<bf2006a@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ghostscript-afpl-8.54_1,1 cannot be built WITH_FT_BRIDGE=yes on 6.2-STABLE i386
X-Send-Pr-Version: www-3.0

>Number:         110370
>Category:       ports
>Synopsis:       print/ghostscript-afpl: ghostscript-afpl-8.54_1,1 cannot be built WITH_FT_BRIDGE=yes on 6.2-STABLE i386
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 16 02:30:13 GMT 2007
>Closed-Date:    Sun Mar 18 15:31:04 GMT 2007
>Last-Modified:  Sun Mar 18 15:40:03 GMT 2007
>Originator:     bf
>Release:        FreeBSD 6.2-RELEASE-p2
>Organization:
-
>Environment:
FreeBSD 6.2-RELEASE-p2 i386 custom kernel
>Description:
The build of the ghostscript-afpl-8.54_1,1 port WITH_FT_BRIDGE=yes fails at:

./obj/echogs -e .dev -w- -l-obj ./obj/pipe ./obj/gdevpipe.o
./obj/echogs -e .dev -a-  ./obj/pipe -iodev pipe
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -O2 -fno-strict-aliasing -pipe -march=athlon-tbird -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -DUPD_SIGNAL=0 -DHAVE_HYPOT=1 -DSYS_TYPES_HAS_STDINT_TYPES=1 -I/usr/local/include/libpng -I/usr/local/include -DGX_COLOR_INDEX_TYPE='unsigned long long' -I./src -I./obj -I./obj -I./src  -o ./obj/zfapi.o -c ./src/zfapi.c
./obj/echogs -e .dev -w- -l-obj ./obj/fapiu
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -O2 -fno-strict-aliasing -pipe -march=athlon-tbird -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -DUPD_SIGNAL=0 -DHAVE_HYPOT=1 -DSYS_TYPES_HAS_STDINT_TYPES=1 -I/usr/local/include/libpng -I/usr/local/include -DGX_COLOR_INDEX_TYPE='unsigned long long' -I./src -I./obj -I./obj -I./src   -I/usr/tmp/usr/ports/print/ghostscript-afpl/work/ghostscript-8.54/freetype/include -o ./obj/fapi_ft.o -c ./src/fapi_ft.c
./src/fapi_ft.c: In function `free_fapi_glyph_data':
./src/fapi_ft.c:177: warning: cast discards qualifiers from pointer target type
./src/fapi_ft.c: In function `make_rotation':
./src/fapi_ft.c:372: warning: cast discards qualifiers from pointer target type
./src/fapi_ft.c: In function `get_scaled_font':
./src/fapi_ft.c:513: warning: implicit declaration of function `return_error'
./src/fapi_ft.c:513: error: `gs_error_unregistered' undeclared (first use in this function)
./src/fapi_ft.c:513: error: (Each undeclared identifier is reported only once
./src/fapi_ft.c:513: error: for each function it appears in.)
./src/fapi_ft.c: In function `get_char_raster':
./src/fapi_ft.c:724: error: `gs_error_unregistered' undeclared (first use in this function)
./src/fapi_ft.c: At top level:
./src/fapi_ft.c:796: warning: initialization from incompatible pointer type
./src/fapi_ft.c:797: warning: initialization from incompatible pointer type
./src/fapi_ft.c:798: warning: initialization from incompatible pointer type
./src/fapi_ft.c:799: warning: initialization from incompatible pointer type
gmake: *** [obj/fapi_ft.o] Error 1
*** Error code 2

Stop in /usr/ports/print/ghostscript-afpl.


The port can be successfully built with the knobs WITH_SHLIB=yes and WITH_SVGALIB=yes.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Mar 16 02:51:12 UTC 2007 
Responsible-Changed-Why:  
Reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110370 
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Sun Mar 18 15:30:51 UTC 2007 
State-Changed-Why:  
I have committed a fix, thanks for reporting 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110370 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/110370: commit references a PR
Date: Sun, 18 Mar 2007 15:30:38 +0000 (UTC)

 arved       2007-03-18 15:30:31 UTC
 
   FreeBSD ports repository
 
   Modified files:
     print/ghostscript-afpl/files patch-src:fapi_ft.c 
   Log:
   Fix WITH_FT_BRIDGE knob
   
   PR:             110370
   Reported by:    bf<bf2006a@yahoo.com>
   
   Revision  Changes    Path
   1.2       +9 -3      ports/print/ghostscript-afpl/files/patch-src:fapi_ft.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
