From nobody@FreeBSD.org  Thu May 11 19:43:07 2006
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 7768916A638
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 May 2006 19:43:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9E3344492E
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 May 2006 19:40:05 +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 k4BJe538022212
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 May 2006 19:40:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k4BJe5HF022211;
	Thu, 11 May 2006 19:40:05 GMT
	(envelope-from nobody)
Message-Id: <200605111940.k4BJe5HF022211@www.freebsd.org>
Date: Thu, 11 May 2006 19:40:05 GMT
From: Andreas Ravnestad <andreas.ravnestad@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/php5-pcre fails compilation
X-Send-Pr-Version: www-2.3

>Number:         97149
>Category:       ports
>Synopsis:       devel/php5-pcre fails compilation
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 11 19:50:18 GMT 2006
>Closed-Date:    Thu May 11 20:47:13 GMT 2006
>Last-Modified:  Thu May 11 20:47:13 GMT 2006
>Originator:     Andreas Ravnestad
>Release:        6.1-RC
>Organization:
>Environment:
FreeBSD xjws.net 6.1-RC FreeBSD 6.1-RC #0: Tue Apr 25 00:30:47 CEST 2006     andreas@xjws.net:/usr/obj/usr/src/sys/EDGE  i386
>Description:
[lots of compilation garble]

/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: `fifth_arg_force_                                                                  ref' undeclared here (not in a function)
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: initializer eleme                                                                  nt is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initializat                                                                  ion for `pcre_functions[2].arg_info')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: initializer eleme                                                                  nt is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initializat                                                                  ion for `pcre_functions[2]')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer eleme                                                                  nt is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initializat                                                                  ion for `pcre_functions[3].arg_info')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer eleme                                                                  nt is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initializat                                                                  ion for `pcre_functions[3]')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: initializer eleme                                                                  nt is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: (near initializat                                                                  ion for `pcre_functions[4]')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: initializer eleme                                                                  nt is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: (near initializat                                                                  ion for `pcre_functions[5]')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: initializer eleme                                                                  nt is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: (near initializat                                                                  ion for `pcre_functions[6]')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: initializer eleme                                                                  nt is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: (near initializat                                                                  ion for `pcre_functions[7]')
*** Error code 1

Stop in /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre.
*** Error code 1

Stop in /usr/ports/devel/php5-pcre.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade60914.11 make
** Fix the problem and try again.
--->  Skipping 'lang/php5-extensions' (php5-extensions-1.0) because a requisite package 'php                                                                  5-pcre-5.1.2_1' (devel/php5-pcre) failed (specify -k to force)
** Listing the failed packages (*:skipped / !:failed)
        ! devel/php5-pcre (php5-pcre-5.1.2_1)   (stdio compatibility)
        * lang/php5-extensions (php5-extensions-1.0)
--->  Packages processed: 0 done, 280 ignored, 1 skipped and 1 failed
root@xjws:/usr/ports/devel/php5-pcre $
>How-To-Repeat:
cd /usr/ports/devel/php5-pcre
make deinstall && make reinstall

-or-

portupgrade -ar

-or-

Anything else that implies compiling php5-pcre
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu May 11 19:56:07 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97149 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Thu May 11 20:46:51 UTC 2006 
State-Changed-Why:  
Duplicated of PR 97121. 

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