Bug 97149

Summary: devel/php5-pcre fails compilation
Product: Ports & Packages Reporter: Andreas Ravnestad <andreas.ravnestad>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Andreas Ravnestad 2006-05-11 20:50:18 UTC
[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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-11 20:56:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2006-05-11 21:46:51 UTC
State Changed
From-To: open->closed

Duplicated of PR 97121.