From turutani@scphys.kyoto-u.ac.jp  Sat Jul 26 09:28:13 2008
Return-Path: <turutani@scphys.kyoto-u.ac.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1FDC7106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Jul 2008 09:28:13 +0000 (UTC)
	(envelope-from turutani@scphys.kyoto-u.ac.jp)
Received: from proxy2.aams.jp (proxy2.aams.jp [202.189.147.98])
	by mx1.freebsd.org (Postfix) with ESMTP id B054E8FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Jul 2008 09:28:11 +0000 (UTC)
	(envelope-from turutani@scphys.kyoto-u.ac.jp)
Received: from h120.65.226.10.32118.vlan.kuins.net (softbank218183189199.bbtec.net [218.183.189.199])
	(authenticated bits=0)
	by proxy2.aams.jp (Switch-3.2.7/Switch-3.1.7) with ESMTP id m6Q9S9MP014620
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sat, 26 Jul 2008 18:28:09 +0900
Received: from h120.65.226.10.32118.vlan.kuins.net (localhost [127.0.0.1])
	by h120.65.226.10.32118.vlan.kuins.net (8.14.2/8.14.2/20071004-1) with ESMTP id m6Q9S826009906;
	Sat, 26 Jul 2008 18:28:08 +0900 (JST)
	(envelope-from turutani@h120.65.226.10.32118.vlan.kuins.net)
Received: (from turutani@localhost)
	by h120.65.226.10.32118.vlan.kuins.net (8.14.2/8.14.2/Submit) id m6Q9S8Ri009905;
	Sat, 26 Jul 2008 18:28:08 +0900 (JST)
	(envelope-from turutani)
Message-Id: <200807260928.m6Q9S8Ri009905@h120.65.226.10.32118.vlan.kuins.net>
Date: Sat, 26 Jul 2008 18:28:08 +0900 (JST)
From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Reply-To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: turutani@scphys.kyoto-u.ac.jp
Subject: building print/perlftlib fails
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         125971
>Category:       ports
>Synopsis:       building print/perlftlib fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    vs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 26 09:30:00 UTC 2008
>Closed-Date:    Wed Jul 30 03:17:29 UTC 2008
>Last-Modified:  Wed Jul 30 03:17:29 UTC 2008
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 7.0-STABLE FreeBSD 7.0-STABLE #15: Sun Jul 20 21:06:33 JST 2008 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	building print/perlftlib fails.
	
>How-To-Repeat:
	% cd /usr/ports/print/perlftlib
	% make
	===>  Vulnerability check disabled, database not found
	===>  Extracting for perlftlib-1.2
	=> MD5 Checksum OK for perlftlib-1.2.tar.gz.
	=> SHA256 Checksum OK for perlftlib-1.2.tar.gz.
	===>   perlftlib-1.2 depends on file: /usr/local/bin/perl5.8.8 - found
	===>  Patching for perlftlib-1.2
	===>   perlftlib-1.2 depends on file: /usr/local/bin/perl5.8.8 - found
	===>  Applying FreeBSD patches for perlftlib-1.2
	===>   perlftlib-1.2 depends on file: /usr/local/bin/perl5.8.8 - found
	===>   perlftlib-1.2 depends on shared library: ttf.4 - found
	===>  Configuring for perlftlib-1.2
	===>  Building for perlftlib-1.2
	cd FreeType; /usr/local/bin/perl5.8.8 Makefile.PL
	Checking if your kit is complete...
	Looks good
	Writing Makefile for FreeType
	cd FreeType; make
	cp FreeType.pm blib/lib/FreeType.pm
	AutoSplitting blib/lib/FreeType.pm (blib/lib/auto/FreeType)
	/usr/local/bin/perl /usr/local/lib/perl5/site_perl/5.8.8/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  FreeType.xs > FreeType.xsc && mv FreeType.xsc FreeType.c
	Please specify prototyping behavior for FreeType.xs (see perlxs manual)
	cc -c  -I/usr/local/include/freetype1/freetype  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -O -pipe    -DVERSION=\"1.2\"  -DXS_VERSION=\"1.2\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"   FreeType.c
	FreeType.c: In function 'XS_FreeType_TT_Get_Glyph_Bitmap':
	FreeType.c:1248: warning: ISO C90 forbids mixed declarations and code
	FreeType.c:1250: error: static declaration of 'XS_FreeType_TT_Get_Glyph_Pixmap' follows non-static declaration
	FreeType.c:1248: error: previous declaration of 'XS_FreeType_TT_Get_Glyph_Pixmap' was here
	FreeType.c: In function 'XS_FreeType_TT_Get_Glyph_Pixmap':
	FreeType.c:1292: warning: ISO C90 forbids mixed declarations and code
	FreeType.c:1294: error: static declaration of 'XS_FreeType_TT_New_Outline' follows non-static declaration
	FreeType.c:1292: error: previous declaration of 'XS_FreeType_TT_New_Outline' was here
	FreeType.c:1322: error: static declaration of 'XS_FreeType_TT_Done_Outline' follows non-static declaration
	FreeType.c:1320: error: previous declaration of 'XS_FreeType_TT_Done_Outline' was here
	FreeType.c:1345: error: static declaration of 'XS_FreeType_TT_Copy_Outline' follows non-static declaration
	FreeType.c:1343: error: previous declaration of 'XS_FreeType_TT_Copy_Outline' was here
	FreeType.c:1379: error: static declaration of 'XS_FreeType_TT_Get_Outline_Bitmap' follows non-static declaration
	FreeType.c:1377: error: previous declaration of 'XS_FreeType_TT_Get_Outline_Bitmap' was here
	FreeType.c: In function 'XS_FreeType_TT_Get_Outline_Bitmap':
	FreeType.c:1427: warning: ISO C90 forbids mixed declarations and code
	FreeType.c:1429: error: static declaration of 'XS_FreeType_TT_Get_Outline_Pixmap' follows non-static declaration
	FreeType.c:1427: error: previous declaration of 'XS_FreeType_TT_Get_Outline_Pixmap' was here
	FreeType.c: In function 'XS_FreeType_TT_Get_Outline_Pixmap':
	FreeType.c:1477: warning: ISO C90 forbids mixed declarations and code
	FreeType.c:1479: error: static declaration of 'XS_FreeType_TT_Get_Outline_BBox' follows non-static declaration
	FreeType.c:1477: error: previous declaration of 'XS_FreeType_TT_Get_Outline_BBox' was here
	FreeType.c:1512: error: static declaration of 'XS_FreeType_TT_Transform_Outline' follows non-static declaration
	FreeType.c:1510: error: previous declaration of 'XS_FreeType_TT_Transform_Outline' was here
	FreeType.c:1553: error: static declaration of 'XS_FreeType_TT_Translate_Outline' follows non-static declaration
	FreeType.c:1551: error: previous declaration of 'XS_FreeType_TT_Translate_Outline' was here
	FreeType.c:1585: error: static declaration of 'XS_FreeType_TT_Transform_Vector' follows non-static declaration
	FreeType.c:1583: error: previous declaration of 'XS_FreeType_TT_Transform_Vector' was here
	FreeType.c:1621: error: static declaration of 'XS_FreeType_TT_Get_CharMap_Count' follows non-static declaration
	FreeType.c:1619: error: previous declaration of 'XS_FreeType_TT_Get_CharMap_Count' was here
	FreeType.c:1654: error: static declaration of 'XS_FreeType_TT_Get_CharMap_ID' follows non-static declaration
	FreeType.c:1652: error: previous declaration of 'XS_FreeType_TT_Get_CharMap_ID' was here
	FreeType.c:1694: error: static declaration of 'XS_FreeType_TT_Get_CharMap' follows non-static declaration
	FreeType.c:1692: error: previous declaration of 'XS_FreeType_TT_Get_CharMap' was here
	FreeType.c:1732: error: static declaration of 'XS_FreeType_TT_Char_Index' follows non-static declaration
	FreeType.c:1730: error: previous declaration of 'XS_FreeType_TT_Char_Index' was here
	FreeType.c:1766: error: static declaration of 'XS_FreeType_TT_Get_Name_Count' follows non-static declaration
	FreeType.c:1764: error: previous declaration of 'XS_FreeType_TT_Get_Name_Count' was here
	FreeType.c:1799: error: static declaration of 'XS_FreeType_TT_Get_Name_ID' follows non-static declaration
	FreeType.c:1797: error: previous declaration of 'XS_FreeType_TT_Get_Name_ID' was here
	FreeType.c:1845: error: static declaration of 'XS_FreeType_TT_Get_Name_String' follows non-static declaration
	FreeType.c:1843: error: previous declaration of 'XS_FreeType_TT_Get_Name_String' was here
	FreeType.c:1892: error: static declaration of 'boot_FreeType' follows non-static declaration
	FreeType.c:1890: error: previous declaration of 'boot_FreeType' was here
	FreeType.c:1945: error: expected declaration or statement at end of input
	FreeType.c: In function 'XS_FreeType_TT_Get_Outline_Bitmap':
	FreeType.c:1945: error: expected declaration or statement at end of input
	FreeType.c: In function 'XS_FreeType_TT_Get_Glyph_Pixmap':
	FreeType.c:1945: error: expected declaration or statement at end of input
	FreeType.c: In function 'XS_FreeType_TT_Get_Glyph_Bitmap':
	FreeType.c:1945: error: expected declaration or statement at end of input
	*** Error code 1

	Stop in /usr/local/work/usr/ports/print/perlftlib/work/perlftlib-1.2/FreeType.
	*** Error code 1

	Stop in /usr/local/work/usr/ports/print/perlftlib/work/perlftlib-1.2.
	*** Error code 1

	Stop in /usr/ports/print/perlftlib.

	
>Fix:
	I have no idea.
	But the messages are something strange, for the function around 1st error
	message is not correct, and the previous function is not closed.
	many functions are not closed....
	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: vs 
State-Changed-When: Sun Jul 27 05:03:18 UTC 2008 
State-Changed-Why:  
Unable to reproduce, also no problems on the automatic builds. 

What's the ouput of cc --version? Do you have an alias to some other compiler? 


Responsible-Changed-From-To: freebsd-ports-bugs->vs 
Responsible-Changed-By: vs 
Responsible-Changed-When: Sun Jul 27 05:03:18 UTC 2008 
Responsible-Changed-Why:  
Unable to reproduce, also no problems on the automatic builds. 

What's the ouput of cc --version? Do you have an alias to some other compiler? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125971 
State-Changed-From-To: feedback->open 
State-Changed-By: vs 
State-Changed-When: Mon Jul 28 11:10:47 UTC 2008 
State-Changed-Why:  
Hm, your output looks right...apart from the generic suggestions of double checking your ports tree I'm at a loss on what could've happened, sorry. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125971 
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Wed Jul 30 03:15:45 UTC 2008 
State-Changed-Why:  
Port now refuses to build if devel/p5-ExtUtils-CBuilder is installed. Thanks for your report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125971 
>Unformatted:
