Edit report at https://bugs.php.net/bug.php?id=59976&edit=1
ID: 59976 Updated by: fel...@php.net Reported by: shal at semantic-fidelity dot org Summary: [NEEDS PATCH] svn build fails on PHP5.4 (OSX maybe others) -Status: Open +Status: Closed Type: Bug Package: svn Operating System: MacOSX 10.6.8 PHP Version: 5_4 SVN-2011-09-29 (dev) -Assigned To: +Assigned To: felipe Block user comment: N Private report: N New Comment: Fixed in svn. Thanks. Previous Comments: ------------------------------------------------------------------------ [2011-09-29 14:40:18] shal at semantic-fidelity dot org The same package works like a charm with PHP 5.3.8 (there are various warning messages about use of deprecated functions but executing `make` produces the actual extension) ------------------------------------------------------------------------ [2011-09-29 10:27:39] shal at semantic-fidelity dot org Apparently, the ZEND API version of PHP 5.4 enables the execution of a snippet of code which might be responsible for raising an error ------------------------------------------------------------------------ [2011-09-29 08:44:20] shal at semantic-fidelity dot org I have Subversion 1.6.16 and I've also tried with 1.6.17 and the output tells there's an error in svn.c (which most likely belongs to the pecl package) ------------------------------------------------------------------------ [2011-09-29 08:11:15] shal at semantic-fidelity dot org Description: ------------ after passing paths to Subversion prefix and APR installation used with Subversion, `make` after `configure` would not succeed Expected result: ---------------- compilation success Actual result: -------------- cc -I/usr/include/subversion-1 - I/opt/subversion/include/apr-1 -DDARWIN - DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I. - I/private/tmp/pear/temp/svn -DPHP_ATOM_INC - I/private/tmp/pear/temp/pear-build-rootU9asYo/svn- 1.0.1/include -I/private/tmp/pear/temp/pear-build- rootU9asYo/svn-1.0.1/main -I/private/tmp/pear/temp/svn - I/opt/local/bin/php-5.4-dev/include/php - I/opt/local/bin/php-5.4-dev/include/php/main - I/opt/local/bin/php-5.4-dev/include/php/TSRM - I/opt/local/bin/php-5.4-dev/include/php/Zend - I/opt/local/bin/php-5.4-dev/include/php/ext - I/opt/local/bin/php-5.4-dev/include/php/ext/date/lib - I/usr/include/subversion-1 -I/opt/subversion/include/apr-1 - DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp - DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/svn/svn.c - fno-common -DPIC -o .libs/svn.o /private/tmp/pear/temp/svn/svn.c:126: error: expected =, ,, ;, asm or __attribute__ before svn_methods /private/tmp/pear/temp/svn/svn.c:137: error: expected =, ,, ;, asm or __attribute__ before svn_functions /private/tmp/pear/temp/svn/svn.c:207: error: svn_functions undeclared here (not in a function) /private/tmp/pear/temp/svn/svn.c: In function php_svn_handle_error: /private/tmp/pear/temp/svn/svn.c:273: warning: format not a string literal and no format arguments /private/tmp/pear/temp/svn/svn.c: In function init_svn_client: /private/tmp/pear/temp/svn/svn.c:350: warning: svn_client_get_simple_provider is deprecated (declared at /usr/include/subversion-1/svn_client.h:161) /private/tmp/pear/temp/svn/svn.c:353: warning: svn_client_get_username_provider is deprecated (declared at /usr/include/subversion-1/svn_client.h:208) /private/tmp/pear/temp/svn/svn.c:356: warning: svn_client_get_ssl_server_trust_prompt_provider is deprecated (declared at /usr/include/subversion- 1/svn_client.h:278) /private/tmp/pear/temp/svn/svn.c:360: warning: svn_client_get_ssl_server_trust_file_provider is deprecated (declared at /usr/include/subversion- 1/svn_client.h:225) /private/tmp/pear/temp/svn/svn.c:363: warning: svn_client_get_ssl_client_cert_file_provider is deprecated (declared at /usr/include/subversion-1/svn_client.h:242) /private/tmp/pear/temp/svn/svn.c:366: warning: svn_client_get_ssl_client_cert_pw_file_provider is deprecated (declared at /usr/include/subversion- 1/svn_client.h:259) /private/tmp/pear/temp/svn/svn.c: In function zif_svn_import: /private/tmp/pear/temp/svn/svn.c:493: warning: svn_client_import is deprecated (declared at /usr/include/subversion-1/svn_client.h:1654) /private/tmp/pear/temp/svn/svn.c: In function zm_startup_svn: /private/tmp/pear/temp/svn/svn.c:527: error: svn_methods undeclared (first use in this function) /private/tmp/pear/temp/svn/svn.c:527: error: (Each undeclared identifier is reported only once /private/tmp/pear/temp/svn/svn.c:527: error: for each function it appears in.) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=59976&edit=1