[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 1.4.x ruby bindings + swig 1.3.33 problem



Hi,

Can someone from the debian-ruby list help? Due this bug debian/armel
port remains without a subversion built from pristine debian sources..
The moment we got java for armel swig/ruby on subversion broke in
general :(

On Fri, Dec 28, 2007 at 12:30:00AM -0600, Peter Samuelson 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.
> 
> 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.)


-- 
"rm -rf" only sounds scary if you don't have backups


Reply to: