php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59976 [NEEDS PATCH] svn build fails on PHP5.4 (OSX maybe others)
Submitted: 2011-09-29 08:11 UTC Modified: 2011-10-12 21:04 UTC
From: shal at semantic-fidelity dot org Assigned: felipe (profile)
Status: Closed Package: svn (PECL)
PHP Version: 5_4 SVN-2011-09-29 (dev) OS: MacOSX 10.6.8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: shal at semantic-fidelity dot org
New email:
PHP Version: OS:

 

 [2011-09-29 08:11 UTC] 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.)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-29 08:44 UTC] 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 10:27 UTC] 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 14:40 UTC] 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-10-12 21:04 UTC] felipe@php.net
Fixed in svn. 

Thanks.
 [2011-10-12 21:04 UTC] felipe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC