Date: Sat, 26 Jul 2008 18:28:08 +0900 (JST) From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: turutani@scphys.kyoto-u.ac.jp Subject: ports/125971: building print/perlftlib fails Message-ID: <200807260928.m6Q9S8Ri009905@h120.65.226.10.32118.vlan.kuins.net> Resent-Message-ID: <200807260930.m6Q9U1gD033827@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 125971 >Category: ports >Synopsis: building print/perlftlib fails >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 26 09:30:00 UTC 2008 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807260928.m6Q9S8Ri009905>