From twelch@pluto.thepentagon.org  Sun Jun 18 15:56:26 2006
Return-Path: <twelch@pluto.thepentagon.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D90BC16A479
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Jun 2006 15:56:26 +0000 (UTC)
	(envelope-from twelch@pluto.thepentagon.org)
Received: from pluto.thepentagon.org (mail.thepentagon.org [66.100.170.35])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 58B1F43D53
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Jun 2006 15:56:26 +0000 (GMT)
	(envelope-from twelch@pluto.thepentagon.org)
Received: from pluto.thepentagon.org (localhost [127.0.0.1])
	by pluto.thepentagon.org (8.13.6/8.13.4) with ESMTP id k5IFtOhA067145
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Jun 2006 10:55:24 -0500 (CDT)
	(envelope-from twelch@pluto.thepentagon.org)
Received: (from twelch@localhost)
	by pluto.thepentagon.org (8.13.6/8.13.4/Submit) id k5IFtO3u067144;
	Sun, 18 Jun 2006 10:55:24 -0500 (CDT)
	(envelope-from twelch)
Message-Id: <200606181555.k5IFtO3u067144@pluto.thepentagon.org>
Date: Sun, 18 Jun 2006 10:55:24 -0500 (CDT)
From: Tim Welch <ports@thepentagon.org>
Reply-To: Tim Welch <ports@thepentagon.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: editors/nvi-perl broken
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         99100
>Category:       ports
>Synopsis:       editors/nvi-perl broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    shaun
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 18 16:00:34 GMT 2006
>Closed-Date:    Wed Jul 05 23:22:23 GMT 2006
>Last-Modified:  Wed Jul 05 23:22:23 GMT 2006
>Originator:     Tim Welch
>Release:        FreeBSD 6.1-RELEASE-p1 i386
>Organization:
>Environment:


>Description:
	editors/nvi-perl does not compile against perl 5.8.8. Considering
	that the last update to this port was in 2004, perhaps it should be 
	deprecated and/or expired.

>How-To-Repeat:

usual make results in:

 -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -fno-strict-aliasing -pipe -march=pentium4 -DPERL_POLLUTE -I. -I./../include -I./../regex -I./../db/include -I./../curses  -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  -I/usr/local/lib/perl5/5.8.8/mach/CORE perl.c
perl.xs: In function `perl_init':
perl.xs:137: warning: passing arg 2 of `perl_parse' from incompatible pointer type
perl.xs: In function `newVIrv':
perl.xs:203: warning: cast from pointer to integer of different size
perl.xs: In function `xs_init':
perl.xs:426: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type
perl.xs:427: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type
perl.c: In function `XS_VI_Msg':
perl.c:460: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_EndScreen':
perl.c:490: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_Edit':
perl.c:526: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_AppendLine':
perl.c:587: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_DelLine':
perl.c:621: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_GetLine':
perl.c:659: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_SetLine':
perl.c:698: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_InsertLine':
perl.c:734: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_LastLine':
perl.c:770: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_GetMark':
perl.c:808: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_SetMark':
perl.c:849: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_GetCursor':
perl.c:885: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_SetCursor':
perl.c:925: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_SwitchScreen':
perl.c:960: warning: cast to pointer from integer of different size
perl.c:969: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_MapKey':
perl.c:1006: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_UnmapKey':
perl.c:1042: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_SetOpt':
perl.c:1076: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_GetOpt':
perl.c:1113: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_Run':
perl.c:1151: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_DESTROY':
perl.c:1178: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_Opt':
perl.c:1233: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_Map':
perl.c:1264: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI_Mark':
perl.c:1295: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI__OPT_DESTROY':
perl.c:1322: warning: cast to pointer from integer of different size
perl.c:1323: warning: cast to pointer from integer of different size
perl.c:1323: warning: cast to pointer from integer of different size
perl.c:1323: warning: cast to pointer from integer of different size
perl.c:1324: warning: cast to pointer from integer of different size
perl.xs:956: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI__OPT_FETCH':
perl.c:1361: warning: cast to pointer from integer of different size
perl.c:1362: warning: cast to pointer from integer of different size
perl.c:1362: warning: cast to pointer from integer of different size
perl.c:1362: warning: cast to pointer from integer of different size
perl.c:1363: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI__OPT_STORE':
perl.c:1408: warning: cast to pointer from integer of different size
perl.c:1409: warning: cast to pointer from integer of different size
perl.c:1409: warning: cast to pointer from integer of different size
perl.c:1409: warning: cast to pointer from integer of different size
perl.c:1410: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI__MAP_DESTROY':
perl.c:1441: warning: cast to pointer from integer of different size
perl.c:1442: warning: cast to pointer from integer of different size
perl.c:1442: warning: cast to pointer from integer of different size
perl.c:1442: warning: cast to pointer from integer of different size
perl.c:1443: warning: cast to pointer from integer of different size
perl.xs:1005: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI__MAP_STORE':
perl.c:1481: warning: cast to pointer from integer of different size
perl.c:1482: warning: cast to pointer from integer of different size
perl.c:1482: warning: cast to pointer from integer of different size
perl.c:1482: warning: cast to pointer from integer of different size
perl.c:1483: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI__MAP_DELETE':
perl.c:1522: warning: cast to pointer from integer of different size
perl.c:1523: warning: cast to pointer from integer of different size
perl.c:1523: warning: cast to pointer from integer of different size
perl.c:1523: warning: cast to pointer from integer of different size
perl.c:1524: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI__MARK_DESTROY':
perl.c:1554: warning: cast to pointer from integer of different size
perl.c:1555: warning: cast to pointer from integer of different size
perl.c:1555: warning: cast to pointer from integer of different size
perl.c:1555: warning: cast to pointer from integer of different size
perl.c:1556: warning: cast to pointer from integer of different size
perl.xs:1050: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI__MARK_FETCH':
perl.c:1592: warning: cast to pointer from integer of different size
perl.c:1593: warning: cast to pointer from integer of different size
perl.c:1593: warning: cast to pointer from integer of different size
perl.c:1593: warning: cast to pointer from integer of different size
perl.c:1594: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI__MARK_STORE':
perl.c:1638: warning: cast to pointer from integer of different size
perl.c:1639: warning: cast to pointer from integer of different size
perl.c:1639: warning: cast to pointer from integer of different size
perl.c:1639: warning: cast to pointer from integer of different size
perl.c:1640: warning: cast to pointer from integer of different size
perl.c: In function `XS_VI__MARK_FIRSTKEY':
perl.c:1688: warning: cast to pointer from integer of different size
perl.c:1689: warning: cast to pointer from integer of different size
perl.c:1689: warning: cast to pointer from integer of different size
perl.c:1689: warning: cast to pointer from integer of different size
perl.c:1690: warning: cast to pointer from integer of different size
perl.c: At top level:
perl.c:1717: error: conflicting types for 'boot_VI'
perl.xs:416: error: previous declaration of 'boot_VI' was here
perl.c:1717: error: conflicting types for 'boot_VI'
perl.xs:416: error: previous declaration of 'boot_VI' was here
*** Error code 1

Stop in /usr/ports/editors/nvi-perl/work/nvi-1.79/build.
*** Error code 1


>Fix:

	Mark broken and deprecate.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->shaun 
Responsible-Changed-By: shaun 
Responsible-Changed-When: Fri Jun 23 01:18:30 UTC 2006 
Responsible-Changed-Why:  
Take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99100 
State-Changed-From-To: open->feedback 
State-Changed-By: shaun 
State-Changed-When: Sun Jun 25 21:30:09 UTC 2006 
State-Changed-Why:  
It builds and executes fine for me. Could you try it using a non-custom 
CFLAGS value? 

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

From: "Tim Welch" <ports@thepentagon.org>
To: bug-followup@freebsd.org
Cc: ports@thepentagon.org, shaun@freebsd.org
Subject: Re: ports/99100: editors/nvi-perl broken
Date: Wed, 5 Jul 2006 06:10:51 -0500 (CDT)

 I apologize for taking so long to get back to this.
 
 I set up a clean environment and built perl without threads, then tried to
 build this port again, and it compiles fine. Compiling against a threaded
 perl (-DWITH_THREADS as the only option on the perl port) however will
 fail with the error message reported.
 
 I'm not sure how to check for perl-threaded vs normal perl with the
 nvi-perl port Makefile, or if it's even possible.
 

From: "Tim Welch" <ports@thepentagon.org>
To: bug-followup@freebsd.org
Cc: ports@thepentagon.org, shaun@freebsd.org
Subject: Re: ports/99100: editors/nvi-perl broken
Date: Wed, 5 Jul 2006 06:26:42 -0500 (CDT)

 I apologize for taking so long to get back to this.
 
 I set up a clean environment and built perl without threads, then tried to
 build this port again, and it compiles fine. Compiling against a threaded
 perl (-DWITH_THREADS as the only option on the perl port) however will
 fail with the error message reported.
 
 I'm not sure how to check for perl-threaded vs normal perl with the
 nvi-perl port Makefile, or if it's even possible.
 
 

From: "Tim Welch" <ports@thepentagon.org>
To: bug-followup@freebsd.org
Cc: ports@thepentagon.org, shaun@freebsd.org
Subject: Re: ports/99100: editors/nvi-perl broken
Date: Wed, 5 Jul 2006 06:43:45 -0500 (CDT)

 I apologize for taking so long to get back to this.
 
 I set up a clean environment and built perl without threads, then tried to
 build this port again, and it compiles fine. Compiling against a threaded
 perl (-DWITH_THREADS as the only option on the perl port) however will
 fail with the error message reported.
 
 I'm not sure how to check for perl-threaded vs normal perl with the
 nvi-perl port Makefile, or if it's even possible.
 
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: shaun 
State-Changed-When: Wed Jul 5 23:12:29 UTC 2006 
State-Changed-Why:  
Thank you for investigating this. I have modified the port to detect 
if the installed Perl was built with threads enabled. 

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