Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101871 - subversion 1.2.1 doesn't allow you to build ruby bindings
Summary: subversion 1.2.1 doesn't allow you to build ruby bindings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-09 08:24 UTC by jon
Modified: 2005-10-25 01:15 UTC (History)
1 user (show)

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


Attachments
Patch to subversion-1.2.3-r3.ebuild to add ruby bindings (subversion-1.2.3-r3.ebuild-ruby-bindings.patch,1.62 KB, patch)
2005-10-21 04:55 UTC, Tom Payne (RETIRED)
Details | Diff
Patch to subversion-1.2.3-r3.ebuild to add ruby bindings (subversion-1.2.3-r3.ebuild-ruby-bindings.patch,2.10 KB, patch)
2005-10-21 07:24 UTC, Tom Payne (RETIRED)
Details | Diff
subversion-swig.m4-ruby.patch (subversion-swig.m4-ruby.patch,698 bytes, patch)
2005-10-21 07:24 UTC, Tom Payne (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jon 2005-08-09 08:24:19 UTC
As of SVN 1.2.0 there are ruby bindings in the svn trunk.  In the current 1.2.1
ebuild, there's support for java, python and perl.

It would be great if someone could add in the ruby support to the ebuild.

Reproducible: Always
Steps to Reproduce:
1. emerge subversion 1.2.1 with 'ruby' as a use flag
2.
3.

Actual Results:  
no ruby bindings installed

Expected Results:  
ruby bindings installed
Comment 1 Tom Payne (RETIRED) gentoo-dev 2005-10-21 04:55:48 UTC
Created attachment 71110 [details, diff]
Patch to subversion-1.2.3-r3.ebuild to add ruby bindings
Comment 2 Tom Payne (RETIRED) gentoo-dev 2005-10-21 05:04:20 UTC
This patch modifies the subversion ebuild to compile and install the Ruby
bindings if the user has USE=ruby.

I got the required swing version wrong in the patch. Will fix this now.
Comment 3 Tom Payne (RETIRED) gentoo-dev 2005-10-21 07:24:15 UTC
Created attachment 71118 [details, diff]
Patch to subversion-1.2.3-r3.ebuild to add ruby bindings
Comment 4 Tom Payne (RETIRED) gentoo-dev 2005-10-21 07:24:49 UTC
Created attachment 71119 [details, diff]
subversion-swig.m4-ruby.patch
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2005-10-24 03:05:08 UTC
I've just committed a new version of -r3 (as having most users who don't need
ruby bindings recompile would be kindof pointless).
Comment 6 Jonathan Manning 2005-10-24 15:09:29 UTC
Currently the -r3 ebuild (1.3 2005/10/24 14:35:26 pauldv) causes subversion
compilation to fail with USE="ruby" giving:

/var/tmp/portage/subversion-1.2.3-r3/work/subversion-1.2.3/libtool: line 1238:
none: command not found
make: *** [subversion/bindings/swig/ruby/svn_client.lo] Error 1

Looking at the ebuild, the swig version required is still 1.3.21, not .35 as in
the lastest patch, so perhaps your changes haven't propagated or didn't take.
(or the wrong patch was applied...)

It's been about 12 hours since the commit reported in comment #5, so I'm
reporting this. I'll wait and resync later, but it should be checked. 
Comment 7 Tom Payne (RETIRED) gentoo-dev 2005-10-24 15:22:13 UTC
Please attach the 20 lines of output before "none: command not found".
Comment 8 Paul de Vrieze (RETIRED) gentoo-dev 2005-10-25 01:15:18 UTC
I've just fixed the depend, but I suspect the none coming from an improperly
configured jdk (java-config then reports none instead of the location of javac)