Bug 97121

Summary: Build failure devel/php5-pcre
Product: Ports & Packages Reporter: Beech Rintoul <beech>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Beech Rintoul 2006-05-11 06:10:15 UTC
	Build of devel/php5-pcre fails on both 6x and current with the following:

cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c  -fPIC -DPIC -o .libs/php_pcre.o
/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 element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2].arg_info')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2]')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3].arg_info')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3]')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: (near initialization for `pcre_functions[4]')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: (near initialization for `pcre_functions[5]')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: (near initialization for `pcre_functions[6]')
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: (near initialization for `pcre_functions[7]')
*** Error code 1

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

How-To-Repeat: 	make clean && make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-11 06:12:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2006-05-11 06:57:09 UTC
State Changed
From-To: open->closed

Read freebsd-ports, this bogus bug has been already discussed and fixed. 
You should remove and rebuild php(-pcre).