Opened 14 years ago

Closed 5 years ago

#24486 closed defect (fixed)

php5-zorba 0.9.9 build fails with zorba 1.0.0

Reported by: daniel.mckay@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: php5-zorba

Description

During the build phase of installation, recieved the errors below.

...
--->  Building php5-zorba
DEBUG: Executing org.macports.build (php5-zorba)
DEBUG: Building in zorba-0.9.9
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9" && /usr/bin/make -j6 all'
/bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9/libtool --mode=compile /usr/bin/g++-4.2  -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9 -DPHP_ATOM_INC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9/main -I/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -I/opt/local/include/zorba  -I/opt/local/include -I/opt/local/include/zorba -DHAVE_CONFIG_H  -O2 -arch x86_64   -c ... -o zorba_api_wrap.lo 
mkdir .libs
 /usr/bin/g++-4.2 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9 -DPHP_ATOM_INC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9/main -I/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -I/opt/local/include/zorba -I/opt/local/include -I/opt/local/include/zorba -DHAVE_CONFIG_H -O2 -arch x86_64 -c ...  -fno-common -DPIC -o .libs/zorba_api_wrap.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9/zorba_api_wrap.cpp:1030: error: 'ResultIterator_t' in namespace 'zorba' does not name a type
...:1036: error: expected `)' before 'aResultIterator'
...: In copy constructor 'ResultIterator::ResultIterator(const ResultIterator&)':
...:1034: error: class 'ResultIterator' does not have any field named 'theResultIterator'
...:1034: error: 'const class ResultIterator' has no member named 'theResultIterator'
...: In member function 'void ResultIterator::open()':
...:1037: error: 'theResultIterator' was not declared in this scope
...: In member function 'bool ResultIterator::next(Item&)':
...:1040: error: 'theResultIterator' was not declared in this scope
...: In member function 'void ResultIterator::close()':
...:1042: error: 'theResultIterator' was not declared in this scope
...: In member function 'void ResultIterator::destroy()':
...:1043: error: 'theResultIterator' was not declared in this scope
...: In member function 'bool XQuery::isUpdateQuery()':
...:1060: error: 'class zorba::XQuery' has no member named 'isUpdateQuery'
...: In member function 'void XQuery::applyUpdates()':
...:1061: error: 'class zorba::XQuery' has no member named 'applyUpdates'
...: In member function 'ResultIterator XQuery::iterator()':
...:1063: error: no matching function for call to 'ResultIterator::ResultIterator(zorba::Iterator_t)'
...:1033: note: candidates are: ResultIterator::ResultIterator(const ResultIterator&)
...:1032: note:                 ResultIterator::ResultIterator()
...: In function 'void _wrap_Item_createEmptyItem(int, zval*, zval**, zval*, int)':
...:1225: warning: format not a string literal and no format arguments
...: In function 'void _wrap_Item_getStringValue(int, zval*, zval**, zval*, int)':
...:1265: warning: format not a string literal and no format arguments
...: In function 'void _wrap_new_Item(int, zval*, zval**, zval*, int)':
...:1297: warning: format not a string literal and no format arguments
...: In function 'void _wrap_ResultIterator_open(int, zval*, zval**, zval*, int)':
...:1365: warning: format not a string literal and no format arguments
...: In function 'void _wrap_ResultIterator_next(int, zval*, zval**, zval*, int)':
...:1411: warning: format not a string literal and no format arguments
...: In function 'void _wrap_ResultIterator_close(int, zval*, zval**, zval*, int)':
...:1448: warning: format not a string literal and no format arguments
...: In function 'void _wrap_ResultIterator_destroy(int, zval*, zval**, zval*, int)':
...:1485: warning: format not a string literal and no format arguments
...: In function 'void _wrap_new_ResultIterator(int, zval*, zval**, zval*, int)':
...:1517: warning: format not a string literal and no format arguments
...: In function 'void _wrap_XQuery_execute(int, zval*, zval**, zval*, int)':
...:1588: warning: format not a string literal and no format arguments
...: In function 'void _wrap_XQuery_isUpdateQuery(int, zval*, zval**, zval*, int)':
...:1628: warning: format not a string literal and no format arguments
...: In function 'void _wrap_XQuery_applyUpdates(int, zval*, zval**, zval*, int)':
...:1665: warning: format not a string literal and no format arguments
...: In function 'void _wrap_XQuery_destroy(int, zval*, zval**, zval*, int)':
...:1702: warning: format not a string literal and no format arguments
...: In function 'void _wrap_XQuery_iterator(int, zval*, zval**, zval*, int)':
...:1743: warning: format not a string literal and no format arguments
...: In function 'void _wrap_new_XQuery(int, zval*, zval**, zval*, int)':
...:1775: warning: format not a string literal and no format arguments
...: In function 'void _wrap_new_Store(int, zval*, zval**, zval*, int)':
...:1838: warning: format not a string literal and no format arguments
...: In function 'void _wrap_InMemoryStore_getInstance(int, zval*, zval**, zval*, int)':
...:1902: warning: format not a string literal and no format arguments
...: In function 'void _wrap_InMemoryStore_shutdown(int, zval*, zval**, zval*, int)':
...:1938: warning: format not a string literal and no format arguments
...: In function 'void _wrap_new_InMemoryStore(int, zval*, zval**, zval*, int)':
...:1970: warning: format not a string literal and no format arguments
...: In function 'void _wrap_XmlDataManager_loadDocument(int, zval*, zval**, zval*, int)':
...:2054: warning: format not a string literal and no format arguments
...: In function 'void _wrap_XmlDataManager_deleteDocument(int, zval*, zval**, zval*, int)':
...:2102: warning: format not a string literal and no format arguments
...: In function 'void _wrap_new_XmlDataManager(int, zval*, zval**, zval*, int)':
...:2134: warning: format not a string literal and no format arguments
...: In function 'void _wrap_Zorba_getInstance(int, zval*, zval**, zval*, int)':
...:2205: warning: format not a string literal and no format arguments
...: In function 'void _wrap_Zorba_compileQuery(int, zval*, zval**, zval*, int)':
...:2254: warning: format not a string literal and no format arguments
...: In function 'void _wrap_Zorba_getXmlDataManager(int, zval*, zval**, zval*, int)':
...:2295: warning: format not a string literal and no format arguments
...: In function 'void _wrap_Zorba_shutdown(int, zval*, zval**, zval*, int)':
...:2332: warning: format not a string literal and no format arguments
...: In function 'void _wrap_new_Zorba(int, zval*, zval**, zval*, int)':
...:2364: warning: format not a string literal and no format arguments
...: At global scope:
...:2479: warning: deprecated conversion from string constant to 'char*'
make: *** [zorba_api_wrap.lo] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9" && /usr/bin/make -j6 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_php_php5-zorba/work/zorba-0.9.9" && /usr/bin/make -j6 all " returned error 2
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for php5-zorba): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (7)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: daniel.mckay@… removed
Keywords: php xquery removed
Owner: changed from macports-tickets@… to nox@…

Please remember to cc the maintainer, and note you do not need to be in cc when you are the reporter.

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

Cc: ryandesign@… added
Summary: php5-zorba, build failphp5-zorba 0.9.9 build fails with zorba 1.0.0

I've emailed the developer of this PECL module for assistance.

comment:3 Changed 14 years ago by nox@…

Owner: changed from nox@… to macports-tickets@…

Maintainership relinquished in r69970.

comment:4 Changed 9 years ago by jmroot (Joshua Root)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:5 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added

I"m not sure where this software is at now - the homepage goes to http://www.zorba.io/home

A quick look didn't show anything about a php extension/wrapper.

comment:6 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

The code in the zorba 0.9.9 pecl extension was generated by swig, so maybe that's what we're supposed to do now, using https://github.com/zorba-processor/zorba/tree/master/swig/php

comment:7 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Resolution: fixed
Status: newclosed

In a0f01ec2915f391df67ac1625c9ba294f71ec1d9/macports-ports (master):

php5-zorba, php5-spidermonkey: delete ports

php5extension-1.0.tcl: delete unused portgroup

Closes: #24486
Closes: #34560
See: #53522
See: #58308
Closes: #58419

Note: See TracTickets for help on using tickets.