Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29586 - dev-util/subversion 0.30.0 (New version)
Summary: dev-util/subversion 0.30.0 (New version)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Paul de Vrieze (RETIRED)
URL: http://subversion.tigris.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 26676 26998
  Show dependency tree
 
Reported: 2003-09-25 07:23 UTC by Akinori Hattori
Modified: 2003-09-29 02:08 UTC (History)
3 users (show)

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


Attachments
subversion-0.30.0.ebuild (subversion-0.30.0.ebuild,5.86 KB, text/plain)
2003-09-25 07:24 UTC, Akinori Hattori
Details
70svn-gentoo.el (70svn-gentoo.el,136 bytes, text/plain)
2003-09-25 07:27 UTC, Akinori Hattori
Details
subversion-0.30.0.ebuild (subversion-0.30.0.ebuild,5.70 KB, text/plain)
2003-09-27 09:20 UTC, Akinori Hattori
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Akinori Hattori gentoo-dev 2003-09-25 07:23:36 UTC
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:
Comment 1 Akinori Hattori gentoo-dev 2003-09-25 07:24:47 UTC
Created attachment 18313 [details]
subversion-0.30.0.ebuild
Comment 2 Akinori Hattori gentoo-dev 2003-09-25 07:27:16 UTC
Created attachment 18314 [details]
70svn-gentoo.el
Comment 3 Julien Allanos (RETIRED) gentoo-dev 2003-09-26 05:27:30 UTC
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
Comment 4 Julien Allanos (RETIRED) gentoo-dev 2003-09-26 05:27:30 UTC
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
Comment 5 Akinori Hattori gentoo-dev 2003-09-26 08:42:31 UTC
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.
Comment 6 Julien Allanos (RETIRED) gentoo-dev 2003-09-26 10:03:53 UTC
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.
Comment 7 Akinori Hattori gentoo-dev 2003-09-27 09:20:56 UTC
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 )
Comment 8 Michael Kefeder 2003-09-28 01:38:07 UTC
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.
Comment 9 Paul de Vrieze (RETIRED) gentoo-dev 2003-09-28 04:30:41 UTC
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
Comment 10 Julien Allanos (RETIRED) gentoo-dev 2003-09-28 14:34:11 UTC
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
Comment 11 Paul de Vrieze (RETIRED) gentoo-dev 2003-09-29 02:08:56 UTC
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.