Hello! This is the ebuild for the new versioin of subversion 0.30.0. And this ebuild fixes bug 26676 and bug 26998. Please test. Thank you. Reproducible: Always Steps to Reproduce:
Created attachment 18313 [details] subversion-0.30.0.ebuild
Created attachment 18314 [details] 70svn-gentoo.el
I can't emerge it : /usr/lib/libaprutil-0.so: undefined reference to `db_create' /usr/lib/libaprutil-0.so: undefined reference to `db_strerror' collect2: ld returned 1 exit status make: *** [subversion/tests/libsvn_diff/diff-test] Erreur 1 make: *** Attente des t
I can't emerge it : /usr/lib/libaprutil-0.so: undefined reference to `db_create' /usr/lib/libaprutil-0.so: undefined reference to `db_strerror' collect2: ld returned 1 exit status make: *** [subversion/tests/libsvn_diff/diff-test] Erreur 1 make: *** Attente des tâches non terminées.... /usr/lib/libaprutil-0.so: undefined reference to `db_create' /usr/lib/libaprutil-0.so: undefined reference to `db_strerror' collect2: ld returned 1 exit status make: *** [subversion/tests/libsvn_diff/diff3-test] Erreur 1 !!! ERROR: dev-util/subversion-0.30.0 failed. !!! Function src_compile, Line 72, Exitcode 2 !!! make failed
If you set apache2 in your USE flags, and you were emerging apache before Berkeley DB 4.0.14 became the stable version. Please reemerge apache. Or if you did not set berkdb in your USE flags and you were emerging apache then: # ACCEPT_KEYWORDS="~x86" USE="apache2" emerge subversion Please reemerge apache with berkdb USE flag. If my guess is wrong, please ignore.
fine, emerged apache again and subversion compiled, it worked like a charm. so this ebuild is ok for me, as it closes (at least) #26998.
Created attachment 18399 [details] subversion-0.30.0.ebuild Update an ebuild, because SRC_URI was changed to collab.net from tigris.org. And also removed last two lines. (I forgot this) This is a diff: Index: subversion-0.30.0.ebuild =================================================================== --- subversion-0.30.0.ebuild (revision 15) +++ subversion-0.30.0.ebuild (revision 22) @@ -7,7 +7,7 @@ IUSE="ssl apache2 berkdb python emacs" DESCRIPTION="A compelling replacement for CVS" -SRC_URI=" http://subversion.tigris.org/files/documents/15/6494/${P}.tar.gz" +SRC_URI="http://svn.collab.net/tarballs/${P}.tar.gz" HOMEPAGE="http://subversion.tigris.org/" LICENSE="Apache-1.1" @@ -24,15 +24,13 @@ # USE="-berkdb" emerge subversion. # -DEPEND="python? ( >=dev-lang/python-2.0 ) +DEPEND="virtual/glibc + sys-apps/diffutils + python? ( >=dev-lang/python-2.0 ) python? ( >=dev-lang/swig-1.3.16 ) berkdb? ( >=sys-libs/db-4.0.14 ) apache2? ( >=net-www/apache-2.0.47 ) - emacs? ( virtual/emacs ) - sys-apps/diffutils" -RDEPEND="python? ( >=dev-lang/python-2.0 ) - emacs? ( virtual/emacs )
The ebuild from Hattya 2003-09-27 worked fine for me. Client-only build on my machine and server build on the server worked without any problems. Thanks for that ebuild.
I just committed a new ebuild based on this ebuild and the one allready there. It does support the emacs mode etc. and has the internal db removed as db-4.0 is now in stable
tried to compile from the portage's ebuild, i got this at the beggining: >>> Unpacking subversion-0.30.0.tar.gz to /var/tmp/portage/subversion-0.30.0/work patching file configure.in Hunk #1 succeeded at 250 (offset -11 lines). sed: -e expression #1, char 1: Unknown command: `-' >>> Source unpacked. seems that the sed command isn't good ? this may be the cause of the error i get at the end : /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsvn_repos-1 collect2: ld returned 1 exit status libtool: install: error: relink `mod_dav_svn.la' with the above command before installing it libtool: install: warning: remember to run `libtool --finish /usr/lib/apache2' grep: /var/tmp/portage/subversion-0.30.0/image//usr/lib/apache2/mod_dav_svn.la: No such file or directory grep: /var/tmp/portage/subversion-0.30.0/image//usr/lib/apache2/mod_dav_svn.la: No such file or directory Warning! dlname not found in /var/tmp/portage/subversion-0.30.0/image//usr/lib/apache2/mod_dav_svn.la. Assuming installing a .so rather than a libtool archive. chmod 755 /var/tmp/portage/subversion-0.30.0/image//usr/lib/apache2/mod_dav_svn.so chmod: failed to get attributes of `/var/tmp/portage/subversion-0.30.0/image//usr/lib/apache2/mod_dav_svn.so': No such file or directory apxs:Error: Command failed with rc=65536 . make: *** [install-mods-shared] Error 1 !!! ERROR: dev-util/subversion-0.30.0 failed. !!! Function src_install, Line 115, Exitcode 2 !!! Installation of subversion failed
The sed command has nothing to do with these bugs. It seems that for some reason the configure assumes that apache 2 is installed fully while it is not. Please open a new bug (assign it to me) and attach the full output of emerge to it.