Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31181 - dev-util/rapidsvn fails to compile against subversion-0.31.0
Summary: dev-util/rapidsvn fails to compile against subversion-0.31.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Brian Jackson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-15 00:26 UTC by Martin Ehmsen (RETIRED)
Modified: 2003-10-16 13:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A patch to make rapidsvn compile against subversion-0.30.0 (patch-svn-0.30.0.patch,3.10 KB, patch)
2003-10-15 00:28 UTC, Martin Ehmsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ehmsen (RETIRED) gentoo-dev 2003-10-15 00:26:20 UTC
An emerge rapidsvn (version 0.3.0) gives the following error:

client_status.cpp: In function `svn::StatusEntries svn::localStatus(const 
   char*, bool, bool, bool, bool, svn::Context*)':
client_status.cpp:69: error: cannot convert `apr_hash_t**' to `svn_revnum_t*' 
   for argument `1' to `svn_error_t* svn_client_status(svn_revnum_t*, const 
   char*, svn_opt_revision_t*, void (*)(void*, const char*, svn_wc_status_t*), 
   void*, int, int, int, int, svn_client_ctx_t*, apr_pool_t*)'
client_status.cpp: In function `svn::Status svn::localSingleStatus(const char*, 
   svn::Context*)':
client_status.cpp:195: error: cannot convert `apr_hash_t**' to `svn_revnum_t*' 
   for argument `1' to `svn_error_t* svn_client_status(svn_revnum_t*, const 
   char*, svn_opt_revision_t*, void (*)(void*, const char*, svn_wc_status_t*), 
   void*, int, int, int, int, svn_client_ctx_t*, apr_pool_t*)'
make[2]: *** [client_status.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
context.cpp: In constructor `svn::Context::Data::Data()':
context.cpp:74: error: invalid conversion from `svn_error_t*(*)(const char**, 
   const char*, int, void*, apr_pool_t*)' to `
   svn_error_t*(*)(svn_auth_cred_simple_t**, void*, const char*, const char*, 
   apr_pool_t*)'
context.cpp:95: error: invalid conversion from `svn_error_t*(*)(const char**, 
   const char*, int, void*, apr_pool_t*)' to `
   svn_error_t*(*)(svn_auth_cred_server_ssl_t**, void*, int, const 
   svn_auth_ssl_server_cert_info_t*, apr_pool_t*)'
context.cpp:103: error: invalid conversion from `svn_error_t*(*)(const char**, 
   const char*, int, void*, apr_pool_t*)' to `
   svn_error_t*(*)(svn_auth_cred_client_ssl_t**, void*, apr_pool_t*)'
context.cpp:111: error: invalid conversion from `svn_error_t*(*)(const char**, 
   const char*, int, void*, apr_pool_t*)' to `
   svn_error_t*(*)(svn_auth_cred_client_ssl_pass_t**, void*, apr_pool_t*)'
/usr/include/subversion-1/svn_utf.h: In static member function `static 
   svn_error_t* svn::Context::Data::prompt(const char**, const char*, int, 
   void*, apr_pool_t*)':
/usr/include/subversion-1/svn_utf.h:58: error: too many arguments to function `
   svn_error_t* svn_utf_cstring_to_utf8(const char**, const char*, apr_pool_t*)
   '
context.cpp:251: error: at this point in file
/usr/include/subversion-1/svn_utf.h:58: error: too many arguments to function `
   svn_error_t* svn_utf_cstring_to_utf8(const char**, const char*, apr_pool_t*)
   '
context.cpp:257: error: at this point in file
/usr/include/subversion-1/svn_utf.h: In member function `svn_error_t* 
   svn::Context::Data::askQuestion(const char*, const char**, bool, 
   apr_pool_t*)':
/usr/include/subversion-1/svn_utf.h:58: error: too many arguments to function `
   svn_error_t* svn_utf_cstring_to_utf8(const char**, const char*, apr_pool_t*)
   '
context.cpp:375: error: at this point in file
make[2]: *** [context.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/rapidsvn-0.3.0/work/rapidsvn-0.3.0/src/svncpp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rapidsvn-0.3.0/work/rapidsvn-0.3.0/src'
make: *** [all-recursive] Error 1

!!! ERROR: dev-util/rapidsvn-0.3.0 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)

After looking through the rapidsvn homepage bug-tracker I found a patch to make
rapidsvn work against subversion-0.30.0 (but not 0.31.0). See attachment.
I edited the patch and tried it on 0.31.0 but it didn't work.
But it should work against 0.30.0 (I don't have a testbox, so could someone
please test that it is correct).

So a soultion could be to make rapidsvn depend: =dev-util/subversion-0.30.0 and
apply the patch.
Or don't use the patch and make rapidsvn depend on =dev-util/subversion-0.28.0

Reproducible: Always
Steps to Reproduce:




Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(TM) XP1900+
Gentoo Base System version 1.4.3.11
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs notitles"
GENTOO_MIRRORS="http://gentoo.linux.no/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline tetex svga tcltk java guile postgres X sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl mozilla cdr
apache2 doc emacs fbcon flash gtk2 maildir mbox tiff xml -gnome -arts -kde"
Comment 1 Martin Ehmsen (RETIRED) gentoo-dev 2003-10-15 00:28:10 UTC
Created attachment 19262 [details, diff]
A patch to make rapidsvn compile against subversion-0.30.0
Comment 2 Brian Jackson (RETIRED) gentoo-dev 2003-10-16 13:50:19 UTC
You are correct, rapidsvn-0.3.0 should depend on =dev-util/subversion-0.28.0,
I've fixed this in cvs. Thanks for the heads up.