From nobody@FreeBSD.org  Sun Feb  8 02:46:42 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5861316A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  8 Feb 2004 02:46:42 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3D58743D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  8 Feb 2004 02:46:42 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i18Akf72009541
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 8 Feb 2004 02:46:41 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i18AkfRc009537;
	Sun, 8 Feb 2004 02:46:41 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200402081046.i18AkfRc009537@www.freebsd.org>
Date: Sun, 8 Feb 2004 02:46:41 -0800 (PST)
From: Neil Hoggarth <neil@hoggarth.me.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Port p5-Tk-TableMatrix-0.9 does not build
X-Send-Pr-Version: www-2.0

>Number:         62521
>Category:       ports
>Synopsis:       Port p5-Tk-TableMatrix-0.9 does not build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lioux
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 08 02:50:22 PST 2004
>Closed-Date:    Fri Mar 19 19:04:24 PST 2004
>Last-Modified:  Fri Mar 19 19:04:24 PST 2004
>Originator:     Neil Hoggarth
>Release:        4.9-STABLE
>Organization:
>Environment:
FreeBSD shadowfax.localdomain 4.9-STABLE FreeBSD 4.9-STABLE #3: Wed Jan 21 14:19:53 GMT 2004   njh@shadowfax.localdomain:/scratch/obj/usr/src/sys/SHADOWFAX  i386
>Description:
Building the p5-Tk-TableMatrix port fails with compilation errors in the file "cmd.c". My system has the perl-5.8.2_4 port installed and is set 
up to "use.perl port". The following is a transcript of the build errors 
that I get when trying to build:

===>  Building for p5-Tk-TableMatrix-0.9
cp TableMatrix.pm blib/lib/Tk/TableMatrix.pm
AutoSplitting blib/lib/Tk/TableMatrix.pm (blib/lib/auto/Tk/TableMatrix)
cp TableMatrix/Spreadsheet.pm blib/lib/Tk/TableMatrix/Spreadsheet.pm
cp TableMatrix/SpreadsheetHideRows.pm blib/lib/Tk/TableMatrix/SpreadsheetHideRows.pm
cd pTk && make
cp mm.h ../blib/arch/Tk/pTk/mm.h
cp tkTable.h ../blib/arch/Tk/pTk/tkTable.h
cp tkTableversion.h ../blib/arch/Tk/pTk/tkTableversion.h
cc -c  -I/usr/local/lib/perl5/site_perl/5.8.2/mach/Tk -I/usr/X11R6/include -I/usr/local/lib/perl5/site_perl/5.8.2/mach/Tk/pTk -I. -Ibitmaps -I/usr/X11R6/include  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.2/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O -pipe    -DVERSION=\"0.9\"  -DXS_VERSION=\"0.9\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.2/mach/CORE"   -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ cmd.c
In file included from cmd.c:13:
mm.h:91: syntax error before `Arg'
mm.h:94: syntax error before `Arg'
mm.h:100: syntax error before `Arg'
mm.h:102: syntax error before `Cmd_OptionGet'
mm.h:105: warning: data definition has no type or storage class
mm.h:108: syntax error before `Arg'
cmd.c:25: syntax error before `Arg'
cmd.c: In function `Cmd_OptionSet':
cmd.c:27: `clientData' undeclared (first use in this function)
cmd.c:27: (Each undeclared identifier is reported only once
cmd.c:27: for each function it appears in.)
cmd.c:28: `value' undeclared (first use in this function)
cmd.c:30: `interp' undeclared (first use in this function)
cmd.c:33: `widgRec' undeclared (first use in this function)
cmd.c:33: `offset' undeclared (first use in this function)
cmd.c: At top level:
cmd.c:38: syntax error before `Cmd_OptionGet'
cmd.c:40: warning: return-type defaults to `int'
cmd.c: In function `Cmd_OptionGet':
cmd.c:43: warning: return makes integer from pointer without a cast
cmd.c: At top level:
cmd.c:53: syntax error before `Arg'
cmd.c: In function `Cmd_BitSet':
cmd.c:56: `interp' undeclared (first use in this function)
cmd.c:56: `value' undeclared (first use in this function)
cmd.c:60: `widgRec' undeclared (first use in this function)
cmd.c:60: `offset' undeclared (first use in this function)
cmd.c:60: `clientData' undeclared (first use in this function)
cmd.c: At top level:
cmd.c:89: syntax error before `Arg'
cmd.c: In function `Cmd_GetValue':
cmd.c:91: warning: implicit declaration of function `LangString'
cmd.c:91: `arg' undeclared (first use in this function)
cmd.c:91: warning: initialization makes pointer from integer without a cast
cmd.c:93: `cmds' undeclared (first use in this function)
cmd.c: At top level:
cmd.c:100: syntax error before `Arg'
cmd.c: In function `Cmd_GetError':
cmd.c:103: `arg' undeclared (first use in this function)
cmd.c:103: warning: initialization makes pointer from integer without a cast
cmd.c:104: `interp' undeclared (first use in this function)
cmd.c:105: `cmds' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/x11-toolkits/p5-Tk-TableMatrix/work/Tk-TableMatrix-0.9/pTk.
*** Error code 1

Stop in /usr/ports/x11-toolkits/p5-Tk-TableMatrix/work/Tk-TableMatrix-0.9.
*** Error code 1

Stop in /usr/ports/x11-toolkits/p5-Tk-TableMatrix.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall9661.0 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped / !:failed)
        ! x11-toolkits/p5-Tk-TableMatrix        (compiler error)

>How-To-Repeat:
portinstall p5-Tk-TableMatrix

>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lioux 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Feb 8 11:26:43 PST 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62521 
State-Changed-From-To: open->closed 
State-Changed-By: lioux 
State-Changed-When: Fri Mar 19 19:04:03 PST 2004 
State-Changed-Why:  
Fixed by recent update to version 1.1 

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