Opened 14 years ago

Closed 14 years ago

#21551 closed defect (worksforme)

php5-syck build failed

Reported by: james.applemac@… Owned by: emory.smith@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: php5-syck

Description

Hi,

I try to build php5-syck under OS X 10.6.1 with Xcode 3.1 by using "sudo port install php5-syck build.jobs=1".

But it show me the following error message

sudo port install php5-syck build.jobs=1
--->  Computing dependencies for php5-syck
--->  Fetching php5-syck
--->  Verifying checksum(s) for php5-syck
--->  Extracting php5-syck
--->  Applying patches to php5-syck
--->  Configuring php5-syck
--->  Building php5-syck
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php" && /usr/bin/make -j1 all " returned error 2
Command output: /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/libtool --mode=compile /usr/bin/gcc-4.2  -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php -DPHP_ATOM_INC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/main -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php -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 -DHAVE_CONFIG_H  -O2 -arch x86_64   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c -o phpext.lo 
mkdir .libs
 /usr/bin/gcc-4.2 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php -DPHP_ATOM_INC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/main -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php -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 -DHAVE_CONFIG_H -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c  -fno-common -DPIC -o .libs/phpext.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c: In function 'php_syck_handler':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c:236: error: 'tsrm_ls' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c:236: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c:236: error: for each function it appears in.)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c:249: warning: passing argument 3 of 'syck_lookup_sym' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c:259: warning: passing argument 3 of 'syck_lookup_sym' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c:261: warning: passing argument 3 of 'syck_lookup_sym' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c:269: warning: passing argument 2 of 'syck_add_sym' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c: In function 'zif_syck_load':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-syck/work/syck-0.55/ext/php/phpext.c:294: warning: passing argument 3 of 'syck_lookup_sym' from incompatible pointer type
make: *** [phpext.lo] Error 1

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 14 years ago by james.applemac@…

Cc: james.applemac@… added

Cc Me!

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Cc: james.applemac@… removed
Owner: changed from macports-tickets@… to emory.smith@…

Do you really mean you have Xcode 3.1?

comment:3 Changed 14 years ago by james.applemac@…

Sorry..It should be Xcode 3.2

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

Cc: ryandesign@… added

It builds for me on Snow Leopard, and the output you showed isn't enough to know what went wrong. Could you please clean and try again with debug output?

sudo port clean php5-syck
sudo port -d install php5-syck build.jobs=1 2>&1 | tee ~/Desktop/php5-syck.txt

Then attach php5-syck.txt from your desktop to this ticket.

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

What version of php5 do you have installed?

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

Resolution: worksforme
Status: newclosed

Closing due to lack of response. php5 and php5-syck have been updated since this ticket was filed. Please "sudo port selfupdate" and try again with the current versions and let us know if you still see this issue.

Note: See TracTickets for help on using tickets.