Subject: pkg/31057: www/php4 build failure on Solaris
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <neil.hoggarth@physiol.ox.ac.uk>
List: pkgsrc-bugs
Date: 08/24/2005 11:05:00
>Number:         31057
>Category:       pkg
>Synopsis:       www/php4 build failure on Solaris
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 24 11:05:00 +0000 2005
>Originator:     Neil Hoggarth
>Release:        Solaris 9
>Organization:
Univ Lab of Physiology
>Environment:
SunOS saros 5.9 Generic_118558-10 sun4u sparc SUNW,Ultra-30
>Description:
I need to upgrade my php4 package in response to an audit-packages
warning, but the package fails to build. Transcript of compilation
failure follows:

gcc  -Iext/standard/ -I/export/scratch/pkgsrc/www/php4/work/php-4.4.0/ext/standard/ -DPHP_ATOM_INC -I/export/scratch/pkgsrc/www/php4/work/php-4.4.0/include -I/export/scratch/pkgsrc/www/php4/work/php-4.4.0/main -I/export/scratch/pkgsrc/www/php4/work/php-4.4.0 -I/export/scratch/pkgsrc/www/php4/work/php-4.4.0/ext/xml/expat -I/export/scratch/pkgsrc/www/php4/work/php-4.4.0/TSRM -I/export/scratch/pkgsrc/www/php4/work/php-4.4.0/Zend  -I/usr/pkg/include -D_POSIX_PTHREAD_SEMANTICS -I/usr/pkg/include  -O -I/usr/pkg/include  -c /export/scratch/pkgsrc/www/php4/work/php-4.4.0/ext/standard/reg.c -o ext/standard/reg.o  && echo > ext/standard/reg.lo
/export/scratch/pkgsrc/www/php4/work/php-4.4.0/ext/standard/reg.c: In function `_php_regcomp':
/export/scratch/pkgsrc/www/php4/work/php-4.4.0/ext/standard/reg.c:53: error: structure has no member named `re_magic'
/export/scratch/pkgsrc/www/php4/work/php-4.4.0/ext/standard/reg.c:72: error: structure has no member named `re_magic'
gmake: *** [ext/standard/reg.lo] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/www/php4

>How-To-Repeat:

>Fix: