Opened 15 years ago

Closed 15 years ago

#20459 closed defect (fixed)

php5-intl 1.0.2 doesn't build with php 5.3.0: error: duplicate 'static'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: php5-intl

Description

php5-intl 1.0.2 doesn't build with php5 5.3.0:

--->  Building php5-intl
DEBUG: Executing org.macports.build (php5-intl)
DEBUG: port allows a parallel build
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2" && nice -n 10 make all'
/bin/sh /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/libtool --mode=compile /usr/bin/gcc-4.0 -I/mp/include  -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -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  -I/mp/include -DHAVE_CONFIG_H  -O2   -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/php_intl.c -o php_intl.lo 
mkdir .libs
 /usr/bin/gcc-4.0 -I/mp/include -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -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 -I/mp/include -DHAVE_CONFIG_H -O2 -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/php_intl.c  -fno-common -DPIC -o .libs/php_intl.o
/bin/sh /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/libtool --mode=compile /usr/bin/gcc-4.0 -I/mp/include  -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -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  -I/mp/include -DHAVE_CONFIG_H  -O2   -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/intl_error.c -o intl_error.lo 
 /usr/bin/gcc-4.0 -I/mp/include -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -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 -I/mp/include -DHAVE_CONFIG_H -O2 -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/intl_error.c  -fno-common -DPIC -o .libs/intl_error.o
/bin/sh /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/libtool --mode=compile /usr/bin/gcc-4.0 -I/mp/include  -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -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  -I/mp/include -DHAVE_CONFIG_H  -O2   -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/intl_convert.c -o intl_convert.lo 
 /usr/bin/gcc-4.0 -I/mp/include -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -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 -I/mp/include -DHAVE_CONFIG_H -O2 -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/intl_convert.c  -fno-common -DPIC -o .libs/intl_convert.o
/bin/sh /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/libtool --mode=compile /usr/bin/gcc-4.0 -I/mp/include  -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -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  -I/mp/include -DHAVE_CONFIG_H  -O2   -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/collator/collator.c -o collator/collator.lo 
mkdir collator/.libs
 /usr/bin/gcc-4.0 -I/mp/include -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -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 -I/mp/include -DHAVE_CONFIG_H -O2 -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/collator/collator.c  -fno-common -DPIC -o collator/.libs/collator.o
/bin/sh /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/libtool --mode=compile /usr/bin/gcc-4.0 -I/mp/include  -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -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  -I/mp/include -DHAVE_CONFIG_H  -O2   -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/collator/collator_class.c -o collator/collator_class.lo 
 /usr/bin/gcc-4.0 -I/mp/include -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2 -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 -I/mp/include -DHAVE_CONFIG_H -O2 -c /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/collator/collator_class.c  -fno-common -DPIC -o collator/.libs/collator_class.o
/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/collator/collator_class.c:92: error: duplicate 'static'
/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/collator/collator_class.c:96: error: duplicate 'static'
/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/collator/collator_class.c:101: error: duplicate 'static'
/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-intl/work/intl-1.0.2/collator/collator_class.c:107: error: duplicate 'static'
make: *** [collator/collator_class.lo] Error 1

Change History (2)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: php5-intl doesn't build: error: duplicate 'static'php5-intl 1.0.2 doesn't build with php 5.3.0: error: duplicate 'static'

Similar errors are occurring with php5-sqlite3 and php5-gtk.

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

The intl extension is now part of the php source; switched php5-intl to use that in r56338.

Note: See TracTickets for help on using tickets.