php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58697 does not build with php-5.3.x
Submitted: 2009-05-19 12:11 UTC Modified: 2009-08-14 13:31 UTC
From: oeriksson at mandriva dot com Assigned:
Status: Closed Package: svn (PECL)
PHP Version: 5.3.0RC2 OS: Mandriva Cooker
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: oeriksson at mandriva dot com
New email:
PHP Version: OS:

 

 [2009-05-19 12:11 UTC] oeriksson at mandriva dot com
Description:
------------
svn does not build with php-5.3.x

Reproduce code:
---------------
as done usually

Expected result:
----------------
should build

Actual result:
--------------
[...]
libtool: compile:  cc -I/usr/include/subversion-1 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I. -I/home/oden/RPM/BUILD/svn-0.5.0 -DPHP_ATOM_INC -I/home/oden/RPM/BUILD/svn-0.5.0/include -I/home/oden/RPM/BUILD/svn-0.5.0/main -I/home/oden/RPM/BUILD/svn-0.5.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/subversion-1 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/php -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -c /home/oden/RPM/BUILD/svn-0.5.0/svn.c  -fPIC -DPIC -o .libs/svn.o                                                                                                                            
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'init_svn_client':                                                         
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:350: warning: 'svn_client_get_simple_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:160)                                                                                                
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:353: warning: 'svn_client_get_username_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:207)                                                                                              
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:356: warning: 'svn_client_get_ssl_server_trust_prompt_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:274)                                                                               
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:360: warning: 'svn_client_get_ssl_server_trust_file_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:223)                                                                                 
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:363: warning: 'svn_client_get_ssl_client_cert_file_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:240)                                                                                  
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:366: warning: 'svn_client_get_ssl_client_cert_pw_file_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:257)                                                                               
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_import':                                                          
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:493: warning: 'svn_client_import' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1649)                                                                                                            
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zm_startup_svn':                                                          
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:601: error: 'SVN_PROP_REVISION_DATE' undeclared (first use in this function)            
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:601: error: (Each undeclared identifier is reported only once                           
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:601: error: for each function it appears in.)                                           
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:602: error: 'SVN_PROP_REVISION_ORIG_DATE' undeclared (first use in this function)       
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:603: error: 'SVN_PROP_REVISION_AUTHOR' undeclared (first use in this function)          
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:604: error: 'SVN_PROP_REVISION_LOG' undeclared (first use in this function)             
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_checkout':                                                        
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:733: warning: 'svn_client_checkout2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1072)                                                                                                         
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_ls':                                                              
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:870: warning: 'svn_client_ls' is deprecated (declared at /usr/include/subversion-1/svn_client.h:4077)                                                                                                                
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_log':                                                             
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:1078: warning: 'svn_client_log2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:2028)                                                                                                             
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_diff':                                                            
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:1223: warning: 'svn_client_diff3' is deprecated (declared at /usr/include/subversion-1/svn_client.h:2286)                                                                                                            
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_revert':                                                          
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:1329: warning: 'svn_client_revert' is deprecated (declared at /usr/include/subversion-1/svn_client.h:2999)                                                                                                           
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_resolved':                                                        
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:1371: warning: 'svn_client_resolved' is deprecated (declared at /usr/include/subversion-1/svn_client.h:3022)                                                                                                         
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_info':                                                            
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:1964: warning: 'svn_client_info' is deprecated (declared at /usr/include/subversion-1/svn_client.h:4533)                                                                                                             
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_export':                                                          
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2014: warning: 'svn_client_export3' is deprecated (declared at /usr/include/subversion-1/svn_client.h:3882)                                                                                                          
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_switch':                                                          
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2063: warning: 'svn_client_switch' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1284)                                                                                                           
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_copy':                                                            
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2116: warning: 'svn_client_copy2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:3214)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_blame':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2224: warning: 'svn_client_blame2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:2153)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_delete':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2272: warning: 'svn_client_delete2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1533)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_mkdir':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2328: warning: 'svn_client_mkdir2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1448)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_move':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2385: warning: 'svn_client_move3' is deprecated (declared at /usr/include/subversion-1/svn_client.h:3362)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_proplist':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2441: warning: 'svn_client_proplist2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:3754)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_propget':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2508: warning: 'svn_client_propget2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:3648)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_repos_recover':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2613: warning: 'svn_repos_recover2' is deprecated (declared at /usr/include/subversion-1/svn_repos.h:372)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_commit':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2736: warning: 'svn_client_commit3' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1739)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_add':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2893: warning: 'svn_client_add2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1373)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_status':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:2996: warning: 'svn_client_status2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1867)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_update':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:3055: warning: 'svn_client_update' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1200)
/home/oden/RPM/BUILD/svn-0.5.0/svn.c: In function 'zif_svn_repos_fs_begin_txn_for_commit':
/home/oden/RPM/BUILD/svn-0.5.0/svn.c:3122: warning: 'svn_repos_fs_begin_txn_for_commit' is deprecated (declared at /usr/include/subversion-1/svn_repos.h:1659)
[...]

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-28 06:19 UTC] nirav at mehtanirav dot com
It's actually Subversion's version that the package is not building with. 

I tried with Subversion 1.6 today and got same set of errors. PHP was 5.2.

Is there a solution to this?
 [2009-07-19 10:25 UTC] busbyjon at gmail dot com
Agreed - attempted a build on a CentOS system with standard centos packages and the build could not complete
 [2009-08-02 23:56 UTC] stumpy at unity-linux dot org
diff -Naur thunar-svn-plugin-0.0.3-old/tsp-svn-helper/tsh-common.c thunar-svn-plugin-0.0.3/tsp-svn-helper/tsh-common.c
--- thunar-svn-plugin-0.0.3-old/tsp-svn-helper/tsh-common.c	2009-03-14 16:54:06.000000000 -0400
+++ thunar-svn-plugin-0.0.3/tsp-svn-helper/tsh-common.c	2009-08-02 23:45:37.000000000 -0400
@@ -34,6 +34,7 @@
 #include <subversion-1/svn_pools.h>
 #include <subversion-1/svn_fs.h>
 #include <subversion-1/svn_time.h>
+#include <subversion-1/svn_props.h>
 
 #include "tsh-dialog-common.h"
 #include "tsh-login-dialog.h"
diff -Naur thunar-svn-plugin-0.0.3-old/tsp-svn-helper/tsh-properties-dialog.c thunar-svn-plugin-0.0.3/tsp-svn-helper/tsh-properties-dialog.c
--- thunar-svn-plugin-0.0.3-old/tsp-svn-helper/tsh-properties-dialog.c	2009-03-14 16:54:06.000000000 -0400
+++ thunar-svn-plugin-0.0.3/tsp-svn-helper/tsh-properties-dialog.c	2009-08-02 23:46:39.000000000 -0400
@@ -25,6 +25,7 @@
 #include <gtk/gtk.h>
 
 #include <subversion-1/svn_client.h>
+#include <subversion-1/svn_props.h>
 
 #include "tsh-common.h"
 #include "tsh-properties-dialog.h"
 [2009-08-03 06:31 UTC] oeriksson at mandriva dot com
Yeah, I did that yesterday with mod_svn_view (an apache module) and that worked. Was just about to do it with this one too :)
 [2009-08-14 13:31 UTC] indeyets at gmail dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 03:03:16 2021 UTC