Bug 97781

Summary: devel/php5-pcre build error
Product: Ports & Packages Reporter: Dmitriy Kirhlarov <dkirhlarov>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Dmitriy Kirhlarov 2006-05-24 11:00:30 UTC
	php5-pcre can't be build.

 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 -march=pentiumpro -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

 Stop in /usr/ports/devel/php5-pcre.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade11980.0 make DEPENDS_TARGET=package
 ** Fix the problem and try again.
 ** Listing the failed packages (*:skipped / !:failed)
         ! devel/php5-pcre (php5-pcre-5.1.2_1)   (stdio compatibility)
	 --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1
	 failed

Fix: 

unknown
How-To-Repeat: 	portupgrade php5-pcre
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-24 11:04:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-24 13:37:33 UTC
State Changed
From-To: open->closed

Duplicate.