php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58762 make failing for svn-0.5.0 on SUSE Linux
Submitted: 2009-07-14 07:01 UTC Modified: 2009-09-22 00:08 UTC
From: symphony dot group at yahoo dot com Assigned:
Status: Closed Package: svn (PECL)
PHP Version: 5.2.9 OS: SUSE Linux (x86_64)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
23 - 21 = ?
Subscribe to this entry?

 
 [2009-07-14 07:01 UTC] symphony dot group at yahoo dot com
Description:
------------
This is on SUSE Linux Enterprise Server version 10 SP1 (x86_64)

we're getting an error with svn.lo when running make

checking previous incarnations of the similar faults this seemed to relate to either an old version of SVN or the GCC compiler however:

the version of svn we're using is: 1.6.2 (r37639)
the version of gcc we're using is: 4.1.2 20070115 (SUSE Linux)

the svn.lo file doesn't seem to be being created, however a svn.loT file is created which only contains comments relating to svn.lo

I've tried copying the svn.loT file to svn.lo however despite a successful make && make install after this the module will not load correctly in php

I've tried version 0.4.1 aswell however the same result occurred.

the same problem occurs with PECL (we've got version 1.8.1 installed)

Reproduce code:
---------------
cd /usr/local/src
wget http://pecl.php.net/get/svn-0.5.0.tgz
tar xfz svn-0.5.0.tgz
cd svn-0.5.0
phpize
./configure --with-svn-apr=/usr/local/apr
make

Expected result:
----------------
make to work without errors

Actual result:
--------------
./configure --with-svn-apr=/usr/local/apr produces:


checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking whether gcc and cc understand -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/local/zend
checking for PHP includes... -I/usr/local/zend/include/php -I/usr/local/zend/include/php/main -I/usr/local/zend/include/php/TSRM -I/usr/local/zend/include/php/Zend -I/usr/local/zend/include/php/ext -I/usr/local/zend/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/zend/lib/php_extensions
checking for PHP installed headers prefix... /usr/local/zend/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
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.6.2
checking for apr and apr-util... Found apr 1.3.3
libsvn includes: "-I/usr/local/include/subversion-1 -I/usr/local/apr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
libsvn ldflags: "-lsvn_client-1 -lsvn_fs-1 -lsvn_repos-1 -lsvn_subr-1 -L/usr/lib64 -lapr-1"
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/x86_64-suse-linux/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

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h


make produces:


/bin/sh /usr/local/src/svn-0.5.0/libtool --mode=compile gcc -I/usr/local/include/subversion-1  -I/usr/local/apr/include/apr-1  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/local/src/svn-0.5.0 -DPHP_ATOM_INC -I/usr/local/src/svn-0.5.0/include -I/usr/local/src/svn-0.5.0/main -I/usr/local/src/svn-0.5.0 -I/usr/local/zend/include/php -I/usr/local/zend/include/php/main -I/usr/local/zend/include/php/TSRM -I/usr/local/zend/include/php/Zend -I/usr/local/zend/include/php/ext -I/usr/local/zend/include/php/ext/date/lib -I/usr/local/include/subversion-1 -I/usr/local/apr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE  -I/usr/local/zend/include/php -DHAVE_CONFIG_H  -g -O2   -c /usr/local/src/svn-0.5.0/svn.c -o svn.lo
 gcc -I/usr/local/include/subversion-1 -I/usr/local/apr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/local/src/svn-0.5.0 -DPHP_ATOM_INC -I/usr/local/src/svn-0.5.0/include -I/usr/local/src/svn-0.5.0/main -I/usr/local/src/svn-0.5.0 -I/usr/local/zend/include/php -I/usr/local/zend/include/php/main -I/usr/local/zend/include/php/TSRM -I/usr/local/zend/include/php/Zend -I/usr/local/zend/include/php/ext -I/usr/local/zend/include/php/ext/date/lib -I/usr/local/include/subversion-1 -I/usr/local/apr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/local/zend/include/php -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/svn-0.5.0/svn.c  -fPIC -DPIC -o .libs/svn.o
/usr/local/src/svn-0.5.0/svn.c: In function ?init_svn_client?:
/usr/local/src/svn-0.5.0/svn.c:350: warning: ?svn_client_get_simple_provider? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:161)
/usr/local/src/svn-0.5.0/svn.c:353: warning: ?svn_client_get_username_provider? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:208)
/usr/local/src/svn-0.5.0/svn.c:356: warning: ?svn_client_get_ssl_server_trust_prompt_provider? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:278)
/usr/local/src/svn-0.5.0/svn.c:360: warning: ?svn_client_get_ssl_server_trust_file_provider? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:225)
/usr/local/src/svn-0.5.0/svn.c:363: warning: ?svn_client_get_ssl_client_cert_file_provider? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:242)
/usr/local/src/svn-0.5.0/svn.c:366: warning: ?svn_client_get_ssl_client_cert_pw_file_provider? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:259)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_import?:
/usr/local/src/svn-0.5.0/svn.c:493: warning: ?svn_client_import? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:1654)
/usr/local/src/svn-0.5.0/svn.c: In function ?zm_startup_svn?:
/usr/local/src/svn-0.5.0/svn.c:601: error: ?SVN_PROP_REVISION_DATE? undeclared (first use in this function)
/usr/local/src/svn-0.5.0/svn.c:601: error: (Each undeclared identifier is reported only once
/usr/local/src/svn-0.5.0/svn.c:601: error: for each function it appears in.)
/usr/local/src/svn-0.5.0/svn.c:602: error: ?SVN_PROP_REVISION_ORIG_DATE? undeclared (first use in this function)
/usr/local/src/svn-0.5.0/svn.c:603: error: ?SVN_PROP_REVISION_AUTHOR? undeclared (first use in this function)
/usr/local/src/svn-0.5.0/svn.c:604: error: ?SVN_PROP_REVISION_LOG? undeclared (first use in this function)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_checkout?:
/usr/local/src/svn-0.5.0/svn.c:733: warning: ?svn_client_checkout2? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:1080)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_ls?:
/usr/local/src/svn-0.5.0/svn.c:870: warning: ?svn_client_ls? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:4082)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_log?:
/usr/local/src/svn-0.5.0/svn.c:1078: warning: ?svn_client_log2? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:2037)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_diff?:
/usr/local/src/svn-0.5.0/svn.c:1223: warning: ?svn_client_diff3? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:2299)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_revert?:
/usr/local/src/svn-0.5.0/svn.c:1329: warning: ?svn_client_revert? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:3002)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_resolved?:
/usr/local/src/svn-0.5.0/svn.c:1371: warning: ?svn_client_resolved? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:3025)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_info?:
/usr/local/src/svn-0.5.0/svn.c:1964: warning: ?svn_client_info? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:4540)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_export?:
/usr/local/src/svn-0.5.0/svn.c:2014: warning: ?svn_client_export3? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:3892)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_switch?:
/usr/local/src/svn-0.5.0/svn.c:2063: warning: ?svn_client_switch? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:1290)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_copy?:
/usr/local/src/svn-0.5.0/svn.c:2116: warning: ?svn_client_copy2? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:3219)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_blame?:
/usr/local/src/svn-0.5.0/svn.c:2224: warning: ?svn_client_blame2? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:2160)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_delete?:
/usr/local/src/svn-0.5.0/svn.c:2272: warning: ?svn_client_delete2? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:1537)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_mkdir?:
/usr/local/src/svn-0.5.0/svn.c:2328: warning: ?svn_client_mkdir2? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:1451)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_move?:
/usr/local/src/svn-0.5.0/svn.c:2385: warning: ?svn_client_move3? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:3367)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_proplist?:
/usr/local/src/svn-0.5.0/svn.c:2441: warning: ?svn_client_proplist2? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:3760)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_propget?:
/usr/local/src/svn-0.5.0/svn.c:2508: warning: ?svn_client_propget2? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:3655)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_repos_recover?:
/usr/local/src/svn-0.5.0/svn.c:2613: warning: ?svn_repos_recover2? is deprecated (declared at /usr/local/include/subversion-1/svn_repos.h:376)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_commit?:
/usr/local/src/svn-0.5.0/svn.c:2736: warning: ?svn_client_commit3? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:1744)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_add?:
/usr/local/src/svn-0.5.0/svn.c:2893: warning: ?svn_client_add2? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:1377)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_status?:
/usr/local/src/svn-0.5.0/svn.c:2996: warning: ?svn_client_status2? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:1878)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_update?:
/usr/local/src/svn-0.5.0/svn.c:3055: warning: ?svn_client_update? is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:1205)
/usr/local/src/svn-0.5.0/svn.c: In function ?zif_svn_repos_fs_begin_txn_for_commit?:
/usr/local/src/svn-0.5.0/svn.c:3122: warning: ?svn_repos_fs_begin_txn_for_commit? is deprecated (declared at /usr/local/include/subversion-1/svn_repos.h:1664)
make: *** [svn.lo] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-22 00:08 UTC] alan at akbkhome 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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC