From nobody@FreeBSD.org  Sat Apr  9 23:45:09 2005
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 E4B2E16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  9 Apr 2005 23:45:08 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 844D743D39
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  9 Apr 2005 23:45:08 +0000 (GMT)
	(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 j39Nj8nT090611
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 9 Apr 2005 23:45:08 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j39Nj8RR090610;
	Sat, 9 Apr 2005 23:45:08 GMT
	(envelope-from nobody)
Message-Id: <200504092345.j39Nj8RR090610@www.freebsd.org>
Date: Sat, 9 Apr 2005 23:45:08 GMT
From: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ports/devel/p5-ReadLine-Gnu build failed when ports/devel/readline is installed
X-Send-Pr-Version: www-2.3

>Number:         79733
>Category:       ports
>Synopsis:       ports/devel/p5-ReadLine-Gnu build failed when ports/devel/readline is installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mph
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 09 23:50:28 GMT 2005
>Closed-Date:    Tue Apr 26 22:47:01 EDT 2005
>Last-Modified:  Tue Apr 26 22:47:01 EDT 2005
>Originator:     Ying-Chieh Chen
>Release:        4.11-RELEASE-p1
>Organization:
MANA lab, CCU CS
>Environment:
FreeBSD nb.mana.cs.ccu.edu.tw 4.11-RELEASE-p1 FreeBSD 4.11-RELEASE-p1 #3: Sat Apr  2 21:45:26 CST 2005     root@nb.mana.cs.ccu.edu.tw:/usr/obj/usr/src/sys/KERNEL  i386
>Description:
      ports/devel/p5-ReadLine-Gnu fails to build when ports/devel/readline is installed.

      Error message is as the following:

# make
===>  Extracting for p5-ReadLine-Gnu-1.14
=> Checksum OK for Term-ReadLine-Gnu-1.14.tar.gz.
===>   p5-ReadLine-Gnu-1.14 depends on file: /usr/local/bin/perl5.8.6 - found
===>  Patching for p5-ReadLine-Gnu-1.14
===>   p5-ReadLine-Gnu-1.14 depends on file: /usr/local/bin/perl5.8.6 - found
===>   p5-ReadLine-Gnu-1.14 depends on file: /usr/local/bin/perl5.8.6 - found
===>  Configuring for p5-ReadLine-Gnu-1.14
Found `/usr/lib/libtermcap.a'.
cc  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -DHAVE_STRING_H rlver.c -o rlver    -Wl,-E -L/usr/local/lib -lreadline -ltermcap -lcrypt
It seems that you have the GNU Readline Library version 5.0.
Checking if your kit is complete...
Looks good
Writing Makefile for Term::ReadLine::Gnu
===>  Building for p5-ReadLine-Gnu-1.14
cp Gnu.pm blib/lib/Term/ReadLine/Gnu.pm
cp Gnu/euc_jp.pm blib/lib/Term/ReadLine/Gnu/euc_jp.pm
cp Gnu/XS.pm blib/lib/Term/ReadLine/Gnu/XS.pm
AutoSplitting blib/lib/Term/ReadLine/Gnu/XS.pm (blib/lib/auto/Term/ReadLine/Gnu/XS)
/usr/local/bin/perl /usr/local/lib/perl5/5.8.6/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap  Gnu.xs > Gnu.xsc && mv Gnu.xsc Gnu.c
cc -c    -O -pipe -O -pipe    -DVERSION=\"1.14\"  -DXS_VERSION=\"1.14\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.6/mach/CORE"  -DHAVE_STRING_H Gnu.c
Gnu.xs:67: warning: static declaration for `rl_cleanup_after_signal' follows non-static
Gnu.xs:68: warning: static declaration for `rl_free_line_state' follows non-static
Gnu.xs:69: warning: static declaration for `rl_reset_after_signal' follows non-static
Gnu.xs:70: warning: static declaration for `rl_resize_terminal' follows non-static
Gnu.xs:71: warning: static declaration for `rl_prep_terminal' follows non-static
Gnu.xs: In function `rl_prep_terminal':
Gnu.xs:71: number of arguments doesn't match prototype
/usr/include/readline/readline.h:362: prototype declaration
Gnu.xs: At top level:
Gnu.xs:72: warning: static declaration for `rl_deprep_terminal' follows non-static
Gnu.xs:79: warning: static declaration for `rl_save_prompt' follows non-static
Gnu.xs:80: warning: static declaration for `rl_restore_prompt' follows non-static
Gnu.xs:166: `RL_READLINE_VERSION' undeclared here (not in a function)
*** Error code 1

Stop in /usr/ports/devel/p5-ReadLine-Gnu/work/Term-ReadLine-Gnu-1.14.
*** Error code 1

Stop in /usr/ports/devel/p5-ReadLine-Gnu.



>How-To-Repeat:
      cd /usr/ports/devel/readline; make install
      cd /usr/ports/devel/p5-Readline-Gnu; make install
>Fix:
      N/A
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mph 
Responsible-Changed-By: leeym 
Responsible-Changed-When: Sun Apr 10 08:48:48 GMT 2005 
Responsible-Changed-Why:  
Over to the maintainer. 

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

From: "Volker Stolz" <vs@freebsd.org>
To: bug-followup@freebsd.org, yinjieh@csie.nctu.edu.tw
Cc:  
Subject: Re: ports/79733: ports/devel/p5-ReadLine-Gnu build failed when ports/devel/readline is installed
Date: Wed, 20 Apr 2005 15:18:57 +0200

 ------------G3erknwTEBWzmJ2dMdOTwN
 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
 Content-Transfer-Encoding: 8bit
 
 The attached patch should DTRT in the presence of libreadline in  
 $LOCALBASE.
 
 Volker
 ------------G3erknwTEBWzmJ2dMdOTwN
 Content-Disposition: attachment; filename=p5-readline.patch
 Content-Type: application/octet-stream; name=p5-readline.patch
 Content-Transfer-Encoding: Base64
 
 SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC91
 c3IvZnJlZWJzZGN2cy9jdnMtcG9ydHMvcG9ydHMvZGV2ZWwvcDUtUmVhZExpbmUt
 R251L01ha2VmaWxlLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjE3CmRpZmYgLXUg
 LXIxLjE3IE1ha2VmaWxlCi0tLSBNYWtlZmlsZQkxNiBNYXkgMjAwMyAwMDoyNTo0
 MyAtMDAwMAkxLjE3CisrKyBNYWtlZmlsZQkyMCBBcHIgMjAwNSAxMzoxNjo1NCAt
 MDAwMApAQCAtMTgsNiArMTgsMTMgQEAKIAogUEVSTF9DT05GSUdVUkU9CXllcwog
 CisuaW5jbHVkZSA8YnNkLnBvcnQucHJlLm1rPgorCisuaWYgZXhpc3RzKCR7TE9D
 QUxCQVNFfS9saWIvbGlicmVhZGxpbmUuc28pCitDT05GSUdVUkVfQVJHUys9LS1p
 bmNsdWRlZGlyPSR7TE9DQUxCQVNFfS9pbmNsdWRlCitMSUJfREVQRU5EUys9CXJl
 YWRsaW5lLjU6JHtQT1JUU0RJUn0vZGV2ZS9yZWFkbGluZQorLmVuZGlmCisKIE1B
 TjM9CQlUZXJtOjpSZWFkTGluZTo6R251LjMKIAotLmluY2x1ZGUgPGJzZC5wb3J0
 Lm1rPgorLmluY2x1ZGUgPGJzZC5wb3J0LnBvc3QubWs+Cg==
 
 ------------G3erknwTEBWzmJ2dMdOTwN--
 
State-Changed-From-To: open->closed 
State-Changed-By: mph 
State-Changed-When: Tue Apr 26 22:46:41 EDT 2005 
State-Changed-Why:  
Volker's patch committed.  Thanks. 

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