php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73745 make: *** [svn.lo] Error 1
Submitted: 2016-12-15 04:47 UTC Modified: 2016-12-20 08:52 UTC
From: syslogic23 at gmail dot com Assigned:
Status: Open Package: svn (PECL)
PHP Version: 5.6.29 OS: CentOS 7
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: syslogic23 at gmail dot com
New email:
PHP Version: OS:

 

 [2016-12-15 04:47 UTC] syslogic23 at gmail dot com
Description:
------------
cannot compile svn 1.0.3 against libsvn 1.9.4 (while I'm possibly not the only one, who is facing facing this issue); have attached the whole log from phpize / make.

Test script:
---------------
phpize && ./configure && make

Actual result:
--------------
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -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
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.14.3 (ok)
checking for gawk... gawk
checking for svn support... yes, shared
checking for specifying the location of apr for svn... yes, shared
checking for svn includes... Found libsvn 1.9.4
checking for apr and apr-util... Found apr 1.4.8
libsvn includes: "-I/usr/include/subversion-1 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE"
libsvn ldflags: "-lsvn_client-1 -lsvn_fs-1 -lsvn_repos-1 -lsvn_subr-1 -lapr-1"
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands
/bin/sh /home/github/svn-1.0.3/libtool --mode=compile cc -I/usr/include/subversion-1  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/home/github/svn-1.0.3 -DPHP_ATOM_INC -I/home/github/svn-1.0.3/include -I/home/github/svn-1.0.3/main -I/home/github/svn-1.0.3 -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 -D_REENTRANT -D_GNU_SOURCE  -DHAVE_CONFIG_H  -g -O2   -c /home/github/svn-1.0.3/svn.c -o svn.lo 
libtool: compile:  cc -I/usr/include/subversion-1 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/home/github/svn-1.0.3 -DPHP_ATOM_INC -I/home/github/svn-1.0.3/include -I/home/github/svn-1.0.3/main -I/home/github/svn-1.0.3 -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 -D_REENTRANT -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -c /home/github/svn-1.0.3/svn.c  -fPIC -DPIC -o .libs/svn.o
/home/github/svn-1.0.3/svn.c: In function 'init_svn_client':
/home/github/svn-1.0.3/svn.c:379:2: warning: 'svn_client_create_context' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1079) [-Wdeprecated-declarations]
  if ((err = svn_client_create_context (&SVN_G(ctx), SVN_G(pool)))) {
  ^
/home/github/svn-1.0.3/svn.c:406:2: warning: 'svn_client_get_simple_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:151) [-Wdeprecated-declarations]
  svn_client_get_simple_provider (&provider, SVN_G(pool));
  ^
/home/github/svn-1.0.3/svn.c:409:2: warning: 'svn_client_get_username_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:198) [-Wdeprecated-declarations]
  svn_client_get_username_provider (&provider, SVN_G(pool));
  ^
/home/github/svn-1.0.3/svn.c:412:2: warning: 'svn_client_get_ssl_server_trust_prompt_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:265) [-Wdeprecated-declarations]
  svn_client_get_ssl_server_trust_prompt_provider (&provider, php_svn_auth_ssl_client_server_trust_prompter, NULL, SVN_G(pool));
  ^
/home/github/svn-1.0.3/svn.c:416:2: warning: 'svn_client_get_ssl_server_trust_file_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:214) [-Wdeprecated-declarations]
  svn_client_get_ssl_server_trust_file_provider (&provider, SVN_G(pool));
  ^
/home/github/svn-1.0.3/svn.c:419:2: warning: 'svn_client_get_ssl_client_cert_file_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:231) [-Wdeprecated-declarations]
  svn_client_get_ssl_client_cert_file_provider (&provider, SVN_G(pool));
  ^
/home/github/svn-1.0.3/svn.c:422:2: warning: 'svn_client_get_ssl_client_cert_pw_file_provider' is deprecated (declared at /usr/include/subversion-1/svn_client.h:248) [-Wdeprecated-declarations]
  svn_client_get_ssl_client_cert_pw_file_provider (&provider, SVN_G(pool));
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_config_ensure':
/home/github/svn-1.0.3/svn.c:513:3: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
   config_path = svn_path_canonicalize(utf8_path, subpool);
   ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_import':
/home/github/svn-1.0.3/svn.c:562:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:564:2: warning: 'svn_client_import' is deprecated (declared at /usr/include/subversion-1/svn_client.h:2074) [-Wdeprecated-declarations]
  err = svn_client_import(&commit_info_p, path, url, nonrecursive,
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_checkout':
/home/github/svn-1.0.3/svn.c:820:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  can_repos_url= svn_path_canonicalize(utf8_repos_url, subpool);
  ^
/home/github/svn-1.0.3/svn.c:821:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  can_target_path = svn_path_canonicalize(utf8_target_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_cat':
/home/github/svn-1.0.3/svn.c:923:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  url = svn_path_canonicalize(utf8_url, subpool);
  ^
/home/github/svn-1.0.3/svn.c:931:2: warning: 'svn_client_cat2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:5909) [-Wdeprecated-declarations]
  err = svn_client_cat2(out, true_path, &peg_revision, &revision, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c:940:2: warning: 'svn_stream_read' is deprecated (declared at /usr/include/subversion-1/svn_io.h:1271) [-Wdeprecated-declarations]
  err = svn_stream_read(out, retdata, &size);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_ls':
/home/github/svn-1.0.3/svn.c:998:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  repos_url = svn_path_canonicalize(utf8_repos_url, subpool);
  ^
/home/github/svn-1.0.3/svn.c:1009:2: warning: 'svn_client_ls2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:5827) [-Wdeprecated-declarations]
  err = svn_client_ls2 (&dirents,
  ^
/home/github/svn-1.0.3/svn.c:1024:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (apr_hash_index_t *hi = apr_hash_first(subpool, dirents); hi; hi = apr_hash_next(hi)) {
  ^
/home/github/svn-1.0.3/svn.c:1024:2: note: use option -std=c99 or -std=gnu99 to compile your code
/home/github/svn-1.0.3/svn.c: In function 'php_svn_log_receiver':
/home/github/svn-1.0.3/svn.c:1130:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (apr_hash_index_t *hi = apr_hash_first(pool, changed_paths); hi; hi = apr_hash_next(hi)) {
   ^
/home/github/svn-1.0.3/svn.c:1142:4: warning: passing argument 4 of 'add_assoc_string_ex' discards 'const' qualifier from pointer target type [enabled by default]
    add_assoc_string(zpaths, "path", path, 1);
    ^
In file included from /usr/include/php/main/php.h:39:0,
                 from /home/github/svn-1.0.3/svn.c:30:
/usr/include/php/Zend/zend_API.h:385:14: note: expected 'char *' but argument is of type 'const char *'
 ZEND_API int add_assoc_string_ex(zval *arg, const char *key, uint key_len, char *str, int duplicate);
              ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_log':
/home/github/svn-1.0.3/svn.c:1219:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  url = svn_path_canonicalize(utf8_url, subpool);
  ^
/home/github/svn-1.0.3/svn.c:1235:2: warning: 'svn_client_log3' is deprecated (declared at /usr/include/subversion-1/svn_client.h:2787) [-Wdeprecated-declarations]
  err = svn_client_log3(
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_diff':
/home/github/svn-1.0.3/svn.c:1392:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  can_path1= svn_path_canonicalize(utf8_path1, subpool);
  ^
/home/github/svn-1.0.3/svn.c:1393:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  can_path2= svn_path_canonicalize(utf8_path2, subpool);
  ^
/home/github/svn-1.0.3/svn.c:1395:2: warning: 'svn_client_diff3' is deprecated (declared at /usr/include/subversion-1/svn_client.h:3185) [-Wdeprecated-declarations]
  err = svn_client_diff3(&diff_options,
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_cleanup':
/home/github/svn-1.0.3/svn.c:1465:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  workingdir = svn_path_canonicalize(utf8_workingdir, subpool);
  ^
/home/github/svn-1.0.3/svn.c:1467:2: warning: 'svn_client_cleanup' is deprecated (declared at /usr/include/subversion-1/svn_client.h:4191) [-Wdeprecated-declarations]
  err = svn_client_cleanup(workingdir, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_revert':
/home/github/svn-1.0.3/svn.c:1513:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  APR_ARRAY_PUSH(targets, const char *) = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:1515:2: warning: 'svn_client_revert' is deprecated (declared at /usr/include/subversion-1/svn_client.h:4350) [-Wdeprecated-declarations]
  err = svn_client_revert(
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_resolved':
/home/github/svn-1.0.3/svn.c:1563:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:1565:2: warning: 'svn_client_resolved' is deprecated (declared at /usr/include/subversion-1/svn_client.h:4374) [-Wdeprecated-declarations]
  err = svn_client_resolved(
  ^
/home/github/svn-1.0.3/svn.c: In function 'php_svn_stream_read':
/home/github/svn-1.0.3/svn.c:1728:2: warning: 'svn_stream_read' is deprecated (declared at /usr/include/subversion-1/svn_io.h:1271) [-Wdeprecated-declarations]
  svn_stream_read(thefile, buf, &nbytes);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_file_contents':
/home/github/svn-1.0.3/svn.c:1792:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_file_length':
/home/github/svn-1.0.3/svn.c:1842:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_node_prop':
/home/github/svn-1.0.3/svn.c:1892:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_node_created_rev':
/home/github/svn-1.0.3/svn.c:1945:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_dir_entries':
/home/github/svn-1.0.3/svn.c:1998:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_check_path':
/home/github/svn-1.0.3/svn.c:2051:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_repos_open':
/home/github/svn-1.0.3/svn.c:2121:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2123:2: warning: 'svn_repos_open' is deprecated (declared at /usr/include/subversion-1/svn_repos.h:440) [-Wdeprecated-declarations]
  err = svn_repos_open(&repos, path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_info':
/home/github/svn-1.0.3/svn.c:2215:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2236:2: warning: 'svn_client_info' is deprecated (declared at /usr/include/subversion-1/svn_client.h:6451) [-Wdeprecated-declarations]
  err = svn_client_info(true_path, &peg_revision, &revision, info_func, return_value, recurse, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_export':
/home/github/svn-1.0.3/svn.c:2289:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  from = svn_path_canonicalize(utf8_from_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2290:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  to = svn_path_canonicalize(utf8_to_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2301:2: warning: 'svn_client_export3' is deprecated (declared at /usr/include/subversion-1/svn_client.h:5581) [-Wdeprecated-declarations]
  err = svn_client_export3(NULL, from, to, &peg_revision, &revision, TRUE, FALSE, TRUE, NULL, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_switch':
/home/github/svn-1.0.3/svn.c:2353:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2354:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  url = svn_path_canonicalize(utf8_url, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2362:2: warning: 'svn_client_switch' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1540) [-Wdeprecated-declarations]
  err = svn_client_switch(NULL, path, url, &revision, TRUE, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_copy':
/home/github/svn-1.0.3/svn.c:2418:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  src_path = svn_path_canonicalize(utf8_src_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2419:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  dst_path = svn_path_canonicalize(utf8_dst_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2431:2: warning: 'svn_client_copy2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:4661) [-Wdeprecated-declarations]
  err = svn_client_copy2(&info, (const char*)src_path, &revision, (const char*)dst_path, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_blame':
/home/github/svn-1.0.3/svn.c:2533:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  repos_url = svn_path_canonicalize(utf8_repos_url, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2554:2: warning: 'svn_client_blame2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:2969) [-Wdeprecated-declarations]
  err = svn_client_blame2(
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_delete':
/home/github/svn-1.0.3/svn.c:2607:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  APR_ARRAY_PUSH(targets, const char *) = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2609:28: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
  SVN_G(ctx)->log_msg_baton = logmsg; 
                            ^
/home/github/svn-1.0.3/svn.c:2610:2: warning: 'svn_client_delete2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1865) [-Wdeprecated-declarations]
  err = svn_client_delete2(&info, targets, force, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_mkdir':
/home/github/svn-1.0.3/svn.c:2678:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  APR_ARRAY_PUSH(targets, const char *) = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2680:2: warning: 'svn_client_mkdir2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1757) [-Wdeprecated-declarations]
  err = svn_client_mkdir2(&info, targets, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_move':
/home/github/svn-1.0.3/svn.c:2757:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  src_path = svn_path_canonicalize(utf8_src_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2758:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  dst_path = svn_path_canonicalize(utf8_dst_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2760:2: warning: 'svn_client_move3' is deprecated (declared at /usr/include/subversion-1/svn_client.h:4865) [-Wdeprecated-declarations]
  err = svn_client_move3(&info, src_path, dst_path, force, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_proplist':
/home/github/svn-1.0.3/svn.c:2822:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2833:2: warning: 'svn_client_proplist2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:5421) [-Wdeprecated-declarations]
  err = svn_client_proplist2(&props, true_path, &peg_revision, &revision, recurse, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c:2861:4: warning: 'svn_path_local_style' is deprecated (declared at /usr/include/subversion-1/svn_path.h:82) [-Wdeprecated-declarations]
    add_assoc_zval(return_value, (char *)svn_path_local_style(item->node_name->data, subpool), row);
    ^
/home/github/svn-1.0.3/svn.c:2861:4: warning: 'svn_path_local_style' is deprecated (declared at /usr/include/subversion-1/svn_path.h:82) [-Wdeprecated-declarations]
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_propget':
/home/github/svn-1.0.3/svn.c:2904:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2915:2: warning: 'svn_client_propget2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:5280) [-Wdeprecated-declarations]
  err = svn_client_propget2(&props, propname, true_path, &peg_revision, &revision, recurse, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c:2937:4: warning: 'svn_path_local_style' is deprecated (declared at /usr/include/subversion-1/svn_path.h:82) [-Wdeprecated-declarations]
    add_assoc_zval(return_value, (char *)svn_path_local_style(pname, subpool), row);
    ^
/home/github/svn-1.0.3/svn.c:2937:4: warning: 'svn_path_local_style' is deprecated (declared at /usr/include/subversion-1/svn_path.h:82) [-Wdeprecated-declarations]
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_propset':
/home/github/svn-1.0.3/svn.c:2979:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:2990:2: warning: 'svn_client_propset2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:5050) [-Wdeprecated-declarations]
  err = svn_client_propset2(propname, svn_string_ncreate(propval, propvallen, subpool), true_path, recurse, skip_checks, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_prop_delete':
/home/github/svn-1.0.3/svn.c:3037:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:3048:2: warning: 'svn_client_propset2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:5050) [-Wdeprecated-declarations]
  err = svn_client_propset2(propname, NULL, true_path, recurse, skip_checks, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_revprop_get':
/home/github/svn-1.0.3/svn.c:3101:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  url = svn_path_canonicalize(utf8_url, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_revprop_set':
/home/github/svn-1.0.3/svn.c:3161:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  url = svn_path_canonicalize(utf8_url, subpool);
  ^
/home/github/svn-1.0.3/svn.c:3165:2: warning: 'svn_client_revprop_set' is deprecated (declared at /usr/include/subversion-1/svn_client.h:5136) [-Wdeprecated-declarations]
  err = svn_client_revprop_set (
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_revprop_delete':
/home/github/svn-1.0.3/svn.c:3218:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  url = svn_path_canonicalize(utf8_url, subpool);
  ^
/home/github/svn-1.0.3/svn.c:3222:2: warning: 'svn_client_revprop_set' is deprecated (declared at /usr/include/subversion-1/svn_client.h:5136) [-Wdeprecated-declarations]
  err = svn_client_revprop_set (
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_repos_create':
/home/github/svn-1.0.3/svn.c:3272:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_repos_recover':
/home/github/svn-1.0.3/svn.c:3322:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:3324:2: warning: 'svn_repos_recover2' is deprecated (declared at /usr/include/subversion-1/svn_repos.h:795) [-Wdeprecated-declarations]
  err = svn_repos_recover2(path, 0, NULL, NULL, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_repos_hotcopy':
/home/github/svn-1.0.3/svn.c:3374:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  src_path = svn_path_canonicalize(utf8_src_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:3375:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  dst_path = svn_path_canonicalize(utf8_dst_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:3377:2: warning: 'svn_repos_hotcopy' is deprecated (declared at /usr/include/subversion-1/svn_repos.h:699) [-Wdeprecated-declarations]
  err = svn_repos_hotcopy(src_path, dst_path, cleanlogs, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_commit':
/home/github/svn-1.0.3/svn.c:3457:3: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
   path = svn_path_canonicalize(utf8_path, subpool);
   ^
/home/github/svn-1.0.3/svn.c:3466:2: warning: 'svn_client_commit3' is deprecated (declared at /usr/include/subversion-1/svn_client.h:2246) [-Wdeprecated-declarations]
  err = svn_client_commit3(&info, targets_array, recursive, 1, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_lock':
/home/github/svn-1.0.3/svn.c:3532:3: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
   path = svn_path_canonicalize(utf8_path, subpool);
   ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_unlock':
/home/github/svn-1.0.3/svn.c:3590:3: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
   path = svn_path_canonicalize(utf8_path, subpool);
   ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_add':
/home/github/svn-1.0.3/svn.c:3643:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:3645:2: warning: 'svn_client_add2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1659) [-Wdeprecated-declarations]
  err = svn_client_add2((const char*)path, recurse, force, SVN_G(ctx), subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_status':
/home/github/svn-1.0.3/svn.c:3750:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:3755:2: warning: 'svn_client_status2' is deprecated (declared at /usr/include/subversion-1/svn_client.h:2654) [-Wdeprecated-declarations]
  err = svn_client_status2(
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_update':
/home/github/svn-1.0.3/svn.c:3813:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:3818:2: warning: 'svn_client_update' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1415) [-Wdeprecated-declarations]
  err = svn_client_update(&result_rev, path, &rev, recurse,
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_update2':
/home/github/svn-1.0.3/svn.c:3872:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:3880:2: warning: 'svn_client_update3' is deprecated (declared at /usr/include/subversion-1/svn_client.h:1377) [-Wdeprecated-declarations]
  err = svn_client_update3(
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_repos_fs_begin_txn_for_commit':
/home/github/svn-1.0.3/svn.c:3955:2: warning: 'svn_repos_fs_begin_txn_for_commit' is deprecated (declared at /usr/include/subversion-1/svn_repos.h:2220) [-Wdeprecated-declarations]
  err = svn_repos_fs_begin_txn_for_commit(&txn_p, repos->repos, rev, author, log_msg, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_make_file':
/home/github/svn-1.0.3/svn.c:4067:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_make_dir':
/home/github/svn-1.0.3/svn.c:4112:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_apply_text':
/home/github/svn-1.0.3/svn.c:4160:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_copy':
/home/github/svn-1.0.3/svn.c:4221:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  from_path = svn_path_canonicalize(utf8_from_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c:4222:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  to_path = svn_path_canonicalize(utf8_to_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_delete':
/home/github/svn-1.0.3/svn.c:4268:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_is_file':
/home/github/svn-1.0.3/svn.c:4353:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_is_dir':
/home/github/svn-1.0.3/svn.c:4399:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_change_node_prop':
/home/github/svn-1.0.3/svn.c:4446:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path = svn_path_canonicalize(utf8_path, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_contents_changed':
/home/github/svn-1.0.3/svn.c:4509:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path1 = svn_path_canonicalize(utf8_path1, subpool);
  ^
/home/github/svn-1.0.3/svn.c:4510:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path2 = svn_path_canonicalize(utf8_path2, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_props_changed':
/home/github/svn-1.0.3/svn.c:4569:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path1 = svn_path_canonicalize(utf8_path1, subpool);
  ^
/home/github/svn-1.0.3/svn.c:4570:2: warning: 'svn_path_canonicalize' is deprecated (declared at /usr/include/subversion-1/svn_path.h:284) [-Wdeprecated-declarations]
  path2 = svn_path_canonicalize(utf8_path2, subpool);
  ^
/home/github/svn-1.0.3/svn.c: In function 'zif_svn_fs_open_txn':
/home/github/svn-1.0.3/svn.c:4643:2: warning: passing argument 1 of 'svn_fs_open_txn' from incompatible pointer type [enabled by default]
  err = svn_fs_open_txn (&txn, fs->fs, name, subpool);
  ^
In file included from /home/github/svn-1.0.3/svn.c:41:0:
/usr/include/subversion-1/svn_fs.h:1267:1: note: expected 'struct svn_fs_txn_t **' but argument is of type 'struct php_svn_repos_fs_txn **'
 svn_fs_open_txn(svn_fs_txn_t **txn,
 ^
/home/github/svn-1.0.3/svn.c:4653:16: warning: assignment from incompatible pointer type [enabled by default]
   new_txn->txn = txn;
                ^
make: *** [svn.lo] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-20 05:46 UTC] alan_k@php.net
Looks like -std=c99  is needed in the build

you could try

CFLAGS=-std=c99 make
 [2016-12-20 08:52 UTC] syslogic23 at gmail dot com
you are correct. despite all the warnings, it builds when editing Makefile line 28: "CFLAGS = -g -O2 -std=c99". defining these two variables it complains about just the line before the for() statement possibly would also make it build without adding additional compiler flags.
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Thu Oct 18 13:01:25 2018 UTC