Opened 15 years ago
Closed 15 years ago
#20455 closed defect (fixed)
php5-eaccelerator fails with php 5.3
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | alakazam@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | php5-eaccelerator |
Description
Now that php5 has been upgraded to version 5.3.0, I'm afraid php5-eaccelerator no longer builds:
---> Building php5-eaccelerator DEBUG: Executing org.macports.build (php5-eaccelerator) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4' DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3" && nice -n 10 make all' /bin/sh /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/libtool --mode=compile /usr/bin/gcc-4.0 -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3 -I/mp/include/php -I/mp/include/php/main -I/mp/include/php/TSRM -I/mp/include/php/Zend -I/mp/include/php/ext -I/mp/include/php/ext/date/lib -I/mp/include -DHAVE_CONFIG_H -O2 -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/eaccelerator.c -o eaccelerator.lo mkdir .libs /usr/bin/gcc-4.0 -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3 -I/mp/include/php -I/mp/include/php/main -I/mp/include/php/TSRM -I/mp/include/php/Zend -I/mp/include/php/ext -I/mp/include/php/ext/date/lib -I/mp/include -DHAVE_CONFIG_H -O2 -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/eaccelerator.c -fno-common -DPIC -o .libs/eaccelerator.o /bin/sh /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/libtool --mode=compile /usr/bin/gcc-4.0 -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3 -I/mp/include/php -I/mp/include/php/main -I/mp/include/php/TSRM -I/mp/include/php/Zend -I/mp/include/php/ext -I/mp/include/php/ext/date/lib -I/mp/include -DHAVE_CONFIG_H -O2 -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c -o optimize.lo /usr/bin/gcc-4.0 -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3 -I/mp/include/php -I/mp/include/php/main -I/mp/include/php/TSRM -I/mp/include/php/Zend -I/mp/include/php/ext -I/mp/include/php/ext/date/lib -I/mp/include -DHAVE_CONFIG_H -O2 -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c -fno-common -DPIC -o .libs/optimize.o /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:184:57: error: macro "do_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c: In function 'compute_live_var': /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:184: error: 'do_alloca' undeclared (first use in this function) /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:184: error: (Each undeclared identifier is reported only once /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:184: error: for each function it appears in.) /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:237:20: error: macro "free_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:237: error: 'free_alloca' undeclared (first use in this function) /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:240:54: error: macro "do_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:371:21: error: macro "free_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:1507:45: error: macro "do_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c: In function 'opt_get_constant': /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:1507: error: 'do_alloca' undeclared (first use in this function) /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:1528:28: error: macro "free_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:1528: error: 'free_alloca' undeclared (first use in this function) /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c: In function 'opt_function_exists': /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:1547: warning: initialization discards qualifiers from pointer target type /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:1658:56: error: macro "do_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c: In function 'optimize_bb': /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:1658: error: 'do_alloca' undeclared (first use in this function) /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:2692:17: error: macro "free_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:2692: error: 'free_alloca' undeclared (first use in this function) /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3198:54: error: macro "do_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c: In function 'reassign_registers': /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3198: error: 'do_alloca' undeclared (first use in this function) /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3199:56: error: macro "do_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3200:56: error: macro "do_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3309:19: error: macro "free_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3309: error: 'free_alloca' undeclared (first use in this function) /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3310:23: error: macro "free_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3311:23: error: macro "free_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3348:52: error: macro "do_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c: In function 'eaccelerator_optimize': /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3348: error: 'do_alloca' undeclared (first use in this function) /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3353:56: error: macro "do_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3397:23: error: macro "free_alloca" requires 2 arguments, but only 1 given /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3397: error: 'free_alloca' undeclared (first use in this function) /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-eaccelerator/work/eaccelerator-0.9.5.3/optimize.c:3412:17: error: macro "free_alloca" requires 2 arguments, but only 1 given make: *** [optimize.lo] Error 1
At least I assume this is related to the php5 5.3.0 upgrade.
Change History (3)
comment:1 Changed 15 years ago by alakazam@…
Status: | new → assigned |
---|
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
It's ok, I was just building all php5 extension ports to see if they all worked, and discovered that php5-eaccelerator didn't. Three other extensions aren't building with PHP 5.3.0 either. Hopefully new versions will be released soon.
comment:3 Changed 15 years ago by alakazam@…
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Updated the eaccelerator port in r55444, it should now work correctly with PHP 5.3.
Note: See
TracTickets for help on using
tickets.
It is. The current version of eaccelerator is not compatible with php 5.3, the development version is. I was waiting for a production-ready package to upgrade, but will look into the quality of the in-development versions.