Opened 15 years ago
Closed 15 years ago
#20458 closed defect (fixed)
php5-sqlite3 0.6 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-sqlite3, php5-sqlite |
Description
php5-sqlite3 0.6 doesn't install with php5 5.3.0:
---> Building php5-sqlite3 DEBUG: Executing org.macports.build (php5-sqlite3) 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-sqlite3/work/sqlite3-0.6" && nice -n 10 make all' /bin/sh /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/libtool --mode=compile /usr/bin/gcc-4.0 -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/libsqlite -I./libsqlite -DSQLITE_ENABLE_FTS3=1 -DSQLITE_CORE=1 -DSQLITE_THREADSAFE=0 -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6 -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-sqlite3/work/sqlite3-0.6/sqlite3.c -o sqlite3.lo mkdir .libs /usr/bin/gcc-4.0 -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/libsqlite -I./libsqlite -DSQLITE_ENABLE_FTS3=1 -DSQLITE_CORE=1 -DSQLITE_THREADSAFE=0 -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6 -DPHP_ATOM_INC -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/include -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/main -I/mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6 -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-sqlite3/work/sqlite3-0.6/sqlite3.c -fno-common -DPIC -o .libs/sqlite3.o /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c: In function 'sqlite3_do_callback': /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:607: error: 'zend_fcall_info' has no member named 'object_pp' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c: At top level: /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1446: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1453: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1457: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1462: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1466: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1470: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1474: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1478: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1483: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1487: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1492: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1497: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1502: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1508: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1515: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1523: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1527: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1531: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1535: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1539: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1543: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1550: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1557: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1561: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1566: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1571: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1576: error: duplicate 'static' /mp/var/macports/build/_Users_rschmidt_macports_dports_php_php5-sqlite3/work/sqlite3-0.6/sqlite3.c:1586: error: duplicate 'static' make: *** [sqlite3.lo] Error 1
Attachments (2)
Change History (6)
comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | php5-sqlite3 doesn't install → php5-sqlite3 0.6 doesn't build with php 5.3.0: error: duplicate 'static' |
---|
Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | Portfile-php5-sqlite.diff added |
---|
Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | Portfile-php5-sqlite3 added |
---|
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
It appears that the sqlite3 extension has been moved from PECL into the PHP source code:
"This extension was briefly a PECL extension but that version is only recommended for experimental use."
So I think that the php5-sqlite port should be changed to also install the sqlite3 extension as provided by the PHP core source code, and the php5-sqlite3 port should be changed into a stub port that does nothing. Is this ok with you, Anthony? I'd rather have all SQLite-related extensions in a single php5-sqlite port, just like I have all MySQL-related extensions in the php5-mysql port.
comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | php5-sqlite added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Thanks, committed in r56336.
Note: See
TracTickets for help on using
tickets.
Similar errors are occurring with php5-intl and php5-gtk.