Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2005 09:07:19 GMT
From:      Gianpaolo Del Matto <delmatto@genotec.ch>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/78980: mod_php4 build problem
Message-ID:  <200503180907.j2I97JOF014880@www.freebsd.org>
Resent-Message-ID: <200503180910.j2I9A557025672@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         78980
>Category:       ports
>Synopsis:       mod_php4 build problem
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 18 09:10:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Gianpaolo Del Matto
>Release:        FreeBSD 5.3-RELEASE
>Organization:
>Environment:
FreeBSD gic-web-bsd-013.genotec.ch 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Wed Mar 16 16:21:17 UTC 2005     root@jumpstart.genotec.ch:/usr/obj/usr/src/sys/SM6013P_T  i386
>Description:
mod_php4 port won't build as seen from the following error messages:

---- begin of log ----
===>  Building for mod_php4-4.3.10_2,1
/bin/sh /usr/ports/www/mod_php4/work/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile
 cc  -I/usr/local/include/apache2  -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/apache2   -I/us
r/local/include/apache2 -I/usr/local/include -Isapi/apache2handler/ -I/usr/ports/www/mod_php4/work/
php-4.3.10/sapi/apache2handler/ -DPHP_ATOM_INC -I/usr/ports/www/mod_php4/work/php-4.3.10/include -I
/usr/ports/www/mod_php4/work/php-4.3.10/main -I/usr/ports/www/mod_php4/work/php-4.3.10 -I/usr/ports
/www/mod_php4/work/php-4.3.10/Zend  -I/usr/ports/www/mod_php4/work/php-4.3.10/TSRM  -O -pipe -march
=pentium4  -prefer-pic -c /usr/ports/www/mod_php4/work/php-4.3.10/sapi/apache2handler/sapi_apache2.
c -o sapi/apache2handler/sapi_apache2.lo
In file included from /usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_globals.h:27,
                 from /usr/ports/www/mod_php4/work/php-4.3.10/main/php_main.h:27,
                 from /usr/ports/www/mod_php4/work/php-4.3.10/sapi/apache2handler/sapi_apache2.c:26
:
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_globals_macros.h:37: error: syntax error before "
struct"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_globals_macros.h:47: error: syntax error before "
zend_executor_globals"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_globals_macros.h:56: error: syntax error before "
zend_alloc_globals"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_globals_macros.h:66: error: syntax error before "
zend_scanner_globals"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_globals_macros.h:76: error: syntax error before "
zend_scanner_globals"
In file included from /usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_globals.h:29,
                 from /usr/ports/www/mod_php4/work/php-4.3.10/main/php_main.h:27,
                 from /usr/ports/www/mod_php4/work/php-4.3.10/sapi/apache2handler/sapi_apache2.c:26
:
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_stack.h:32: error: syntax error before "int"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_stack.h:33: error: syntax error before "int"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_stack.h:34: error: syntax error before "int"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_stack.h:35: error: syntax error before "int"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_stack.h:36: error: syntax error before "int"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_stack.h:37: error: syntax error before "int"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_stack.h:38: error: syntax error before "int"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_stack.h:39: error: syntax error before "void"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_stack.h:40: error: syntax error before "int"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_stack.h:41: error: syntax error before "void"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_stack.h:42: error: syntax error before "void"
In file included from /usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_globals.h:30,
                 from /usr/ports/www/mod_php4/work/php-4.3.10/main/php_main.h:27,
                 from /usr/ports/www/mod_php4/work/php-4.3.10/sapi/apache2handler/sapi_apache2.c:26
:
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_ptr_stack.h:33: error: syntax error before "void"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_ptr_stack.h:34: error: syntax error before "void"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_ptr_stack.h:35: error: syntax error before "void"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_ptr_stack.h:36: error: syntax error before "void"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_ptr_stack.h:37: error: syntax error before "void"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_ptr_stack.h:38: error: syntax error before "void"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_ptr_stack.h:38: error: syntax error before "zend_
bool"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_ptr_stack.h:39: error: syntax error before "int"
In file included from /usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_globals.h:31,
                 from /usr/ports/www/mod_php4/work/php-4.3.10/main/php_main.h:27,
                 from /usr/ports/www/mod_php4/work/php-4.3.10/sapi/apache2handler/sapi_apache2.c:26
:
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_hash.h:36: error: syntax error before '*' token
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_hash.h:45: error: syntax error before "ulong"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_hash.h:60: error: syntax error before "ulong"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_hash.h:66: error: syntax error before "zend_bool"
/usr/ports/www/mod_php4/work/php-4.3.10/Zend/zend_hash.h:68: error: syntax error before "zend_bool"
---- end of log (truncated) ----
>How-To-Repeat:
installation of freeBSD 5.3, csvup to p5 and building new kernel and world, then installing ports.
reproduced on two individual machines (setup is done semi-automatically trough a shell script, so everytime the same steps are repeated in the same order).

currently installed ports as of pkg_info are:

---- begin of pkg_info ----
ImageMagick-nox11-6.2.0.5
apache-2.0.53_1
autoconf-2.13.000227_5
autoconf-2.59_2
automake-1.4.6_1
bash-2.05b.007_2
bison-1.75_2
cactid-0.8.6.d
cdialog-1.0.20040729,1
cvsup-without-gui-16.1h
dosunix-1.0.13
expat-1.95.8
freetype2-2.1.9
gd-2.0.33_1,1
gettext-0.13.1_1
ghostscript-gnu-nox11-7.07_12
glib-2.4.6_1
gmake-3.80_2
gnupg-1.4.0_1
gsfonts-8.11_2
help2man-1.35.1
htmldoc-1.8.23
icpcon-2.17.1
jasper-1.701.0
jbigkit-1.6
jhead-2.2
jpeg-6b_3
lcms-1.14,1
libfpx-1.2.0.12
libiconv-1.9.2_1
libltdl-1.5.10
libnss-mysql-1.3
libslang-1.4.9
libtool-1.3.5_2
libtool-1.5.10_1
libxml2-2.6.18
linux_base-rh-7.3
linuxthreads-2.2.3_16
lynx-ssl-2.8.5
m4-1.4.1
mc-4.6.0_13
mod_fastcgi-2.4.2
mod_security-1.8.6
mysql-client-4.1.10a
mysql-server-4.1.10a
nano-1.2.4
net-snmp-5.2.1
p5-gettext-1.03
pcre-5.0
perl-5.6.1_15
perl-5.8.5
pfqueue-0.3.4
pkgconfig-0.15.0_1
png-1.2.8_1
popt-1.7
postfix-2.1.5_1,1
proftpd-1.2.10_1
pstree-2.25
rpm-3.0.6_9
rrdtool-1.0.49
saferpay-1.3.0_1
srcd-1.14.1
stunnel-4.07
tiff-3.7.1_2
unzip-5.51
webalizer-2.1.10_5
wget-1.8.2_6
---- end of pkg_info ----

reference implementation on identically installed system (two weeks ago) worked fine, though there are some differences in the installed port versions.

---- uname -a of reference machine ----
FreeBSD gic-web-bsd-011.genotec.ch 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #1: Wed Mar  2 11:00:24 CET 2005     root@gic-web-bsd-011.genotec.ch:/usr/obj/usr/src/sys/SM6013P_T  i386
---- end of uname output ----

---- begin of pkg_info ----
ImageMagick-nox11-6.1.9.4
apache-2.0.53
autoconf-2.13.000227_5
autoconf-2.59_2
autoconf-2.13.000227_5
automake-1.4.6_1
bash-2.05b.007_2
bison-1.75_2
cactid-0.8.6.d
cdialog-1.0.20040729,1
cvsup-without-gui-16.1h
dosunix-1.0.13
expat-1.95.8
freetype2-2.1.7_4
gd-2.0.33_1,1
gettext-0.13.1_1
ghostscript-gnu-nox11-7.07_12
glib-2.4.6_1
gmake-3.80_2
gnupg-1.4.0_1
gsfonts-8.11_2
help2man-1.34.2
htmldoc-1.8.23
icpcon-2.17.1
jasper-1.701.0
jbigkit-1.6
jhead-2.2
jpeg-6b_3
lcms-1.14,1
libfpx-1.2.0.12
libiconv-1.9.2_1
libltdl-1.5.10
libnss-mysql-1.3
libslang-1.4.9
libtool-1.3.5_2
libtool-1.5.10
libxml2-2.6.17
linux_base-rh-7.3
linuxthreads-2.2.3_16
lynx-ssl-2.8.5
m4-1.4.1
mc-4.6.0_13
mod_fastcgi-2.4.2
mod_security-1.8.6
mysql-client-4.1.10
mysql-server-4.1.10
nano-1.2.4
net-snmp-5.2.1
p5-gettext-1.03
pcre-5.0
php5-pcre-5.0.3_2
bsdpan-libwww-perl-5.803
perl-5.6.1_15
perl-5.8.5
pfqueue-0.3.3
pkgconfig-0.15.0_1
png-1.2.8_1
popt-1.7
postfix-2.1.5_1,1
proftpd-1.2.10_1
pstree-2.25
rpm-3.0.6_9
rrdtool-1.0.49
saferpay-1.3.0_1
srcd-1.14.1
stunnel-4.07
tiff-3.7.1_2
unzip-5.51
webalizer-2.1.10_5
wget-1.8.2_6
---- end of pkg_info ----

notabled changes I saw in the ports (may
vary a little since the older system
completed the setup, other packages may appear
also in there), older version are on the
two week old system, newer on the two system
as of yesterday:

most notable the new revisions of apache2
and libtool.

---- diff on pkg_info ----
1,2c1,2
< ImageMagick-nox11-6.1.9.4
< apache-2.0.53
---
> ImageMagick-nox11-6.2.0.5
> apache-2.0.53_1
5d4
< autoconf-2.13.000227_5
14c13
< freetype2-2.1.7_4
---
> freetype2-2.1.9
22c21
< help2man-1.34.2
---
> help2man-1.35.1
36,37c35,36
< libtool-1.5.10
< libxml2-2.6.17
---
> libtool-1.5.10_1
> libxml2-2.6.18
45,46c44,45
< mysql-client-4.1.10
< mysql-server-4.1.10
---
> mysql-client-4.1.10a
> mysql-server-4.1.10a
51,52d49
< php5-pcre-5.0.3_2
< bsdpan-libwww-perl-5.803
55c52
< pfqueue-0.3.3
---
> pfqueue-0.3.4
---- end diff on pkg_info ----
>Fix:
none as of now. trying to get older port revisions of apache2 and libtool to test building against those.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503180907.j2I97JOF014880>