You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Peter Samuelson <pe...@p12n.org> on 2007/12/28 06:30:00 UTC
1.4.x ruby bindings + swig 1.3.33 problem
So, I know swig 1.3.33 is not supported in Subversion 1.4.x (and not in
trunk either?), but it seems to have changed a couple of things that
break the ruby bindings.
The first is removing #include "rubyhead.swg" from the top of
libsvn_swig_ruby/swigutil_rb.c, which has already been dealt with in
trunk. That change fails to support swig 1.3.25, so it can't be
unconditional in 1.4.x.
The second is a repeated failure in 'make check-swig-rb':
TypeError: Expected argument 1 of type svn_auth_baton_t *, but got Array []
in SWIG method 'auth_baton'
{SRC}/subversion/bindings/swig/ruby/svn/client.rb:74:in `auth_baton='
{SRC}/subversion/bindings/swig/ruby/svn/client.rb:74:in `initialize'
{SRC}/subversion/bindings/swig/ruby/svn/client.rb:60:in `__send__'
{SRC}/subversion/bindings/swig/ruby/svn/client.rb:60:in `new'
{SRC}/subversion/bindings/swig/ruby/test/util.rb:208:in `make_context'
{SRC}/subversion/bindings/swig/ruby/test/util.rb:136:in `setup_wc'
{SRC}/subversion/bindings/swig/ruby/test/util.rb:28:in `setup_basic'
{SRC}/subversion/bindings/swig/ruby/test/test_wc.rb:11:in `setup'
Unfortunately I don't know enough about either swig or ruby to figure
out what's wrong here and how to fix it. Roderich Schupp dug further
in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453166#22 - can
anyone figure out the rest of the problem and solution?
Thanks.
(This is preventing me from uploading 1.4.6 to Debian, where largely
for philosophical reasons I build the whole package from source.)
--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Re: 1.4.x ruby bindings + swig 1.3.33 problem
Posted by David Glasser <gl...@davidglasser.net>.
On Dec 27, 2007 10:30 PM, Peter Samuelson <pe...@p12n.org> wrote:
>
> So, I know swig 1.3.33 is not supported in Subversion 1.4.x (and not in
> trunk either?), but it seems to have changed a couple of things that
> break the ruby bindings.
>
> The first is removing #include "rubyhead.swg" from the top of
> libsvn_swig_ruby/swigutil_rb.c, which has already been dealt with in
> trunk. That change fails to support swig 1.3.25, so it can't be
> unconditional in 1.4.x.
For the record, I know very little about Swig, but on my work computer
(which I'm not at right now) with Swig 1.3.27, Ruby bindings build
*only* for 1.4.6 but not for trunk. (As in, I've never been able to
build them on trunk but they do build with 1.4.x.)
--dave
--
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org