[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Swig-rb binding build broken

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Tue, 23 Dec 2008 13:31:39 -0600

Joe, Kou,
Sorry to be the broken record here, especially given the amount of work you put
in, but the ruby bindings aren't currently building. The error I get is shown
by this ubuntu-x64 buildbot:

========= make swig-rb
+ make swig-rb -j1
/usr/local/bin/swig -I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/include
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/include
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy
-I/usr/local/apr/include/apr-1 -I/usr/local/apr/include/apr-1
-I/usr/local/BerkeleyDB.4.6/include -ruby -o
subversion/bindings/swig/ruby/svn_client.c ./subversion/bindings/swig/svn_client.i
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/include/svn_props.h:482:
Warning(305): Bad constant value (ignored).
/bin/bash /home/hwright/dev/svn-buildbot/x64-ubuntu/build/libtool --tag=CC
--silent --mode=compile cc -fno-strict-aliasing -g -g -O2 -fPIC -DLINUX=2
-D_REENTRANT -D_GNU_SOURCE
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/include
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/include
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy
-I/usr/local/apr/include/apr-1 -I/usr/local/apr/include/apr-1
-I/usr/local/BerkeleyDB.4.6/include -I. -I/usr/lib/ruby/1.8/x86_64-linux
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby
-prefer-pic -c -o subversion/bindings/swig/ruby/svn_client.lo
subversion/bindings/swig/ruby/svn_client.c
cd . && /usr/bin/python build/generator/swig/external_runtime.py build.conf
/usr/local/bin/swig ruby
/bin/bash /home/hwright/dev/svn-buildbot/x64-ubuntu/build/libtool --tag=CC
--silent --mode=compile cc -fno-strict-aliasing -g -g -O2 -fPIC -DLINUX=2
-D_REENTRANT -D_GNU_SOURCE -Wold-style-definition -Wpointer-arith
-Wwrite-strings -Wshadow -ansi -Wall -Wformat=2 -Wunused -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-multichar
-Wredundant-decls -Wnested-externs -Wunreachable-code -Winline -Wno-long-long -g
-g -pthread -DSVN_DEBUG -DAP_DEBUG
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/include
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/include
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy
-I/usr/local/apr/include/apr-1 -I/usr/local/apr/include/apr-1
-I/usr/local/BerkeleyDB.4.6/include -I. -I/usr/lib/ruby/1.8/x86_64-linux
-I/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby
-I./subversion/include -I./subversion -I/usr/local/apr/include/apr-1
-I/usr/local/apr/include/apr-1 -I/usr/local/BerkeleyDB.4.6/include
-I/usr/local/include/neon -I/usr/local/include -o
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.lo -c
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
In file included from
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:720,
                 from
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:5:
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:519: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:519: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:520: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:520: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:528: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:529: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:530: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:587: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:588: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:588: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:589: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:589: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:590: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:590: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:591: warning: function declaration isn’t
a prototype
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:689: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘VALUE’
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:706: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:723: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
In file included from /usr/lib/ruby/1.8/x86_64-linux/ruby.h:736,
                 from
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:720,
                 from
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:5:
/usr/lib/ruby/1.8/x86_64-linux/intern.h:56: warning: function declaration
isn’t a prototype
/usr/lib/ruby/1.8/x86_64-linux/intern.h:66: warning: redundant redeclaration of
‘rb_uint2inum’
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:146: warning: previous declaration of
‘rb_uint2inum’ was here
/usr/lib/ruby/1.8/x86_64-linux/intern.h:67: warning: redundant redeclaration of
‘rb_int2inum’
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:142: warning: previous declaration of
‘rb_int2inum’ was here
/usr/lib/ruby/1.8/x86_64-linux/intern.h:79: warning: redundant redeclaration of
‘rb_ll2inum’
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:152: warning: previous declaration of
‘rb_ll2inum’ was here
/usr/lib/ruby/1.8/x86_64-linux/intern.h:80: warning: redundant redeclaration of
‘rb_ull2inum’
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:154: warning: previous declaration of
‘rb_ull2inum’ was here
/usr/lib/ruby/1.8/x86_64-linux/intern.h:120: warning: function declaration
isn’t a prototype
/usr/lib/ruby/1.8/x86_64-linux/intern.h:123: warning: function declaration
isn’t a prototype
/usr/lib/ruby/1.8/x86_64-linux/intern.h:124: warning: function declaration
isn’t a prototype
/usr/lib/ruby/1.8/x86_64-linux/intern.h:125: warning: function declaration
isn’t a prototype
/usr/lib/ruby/1.8/x86_64-linux/intern.h:131: warning: function declaration
isn’t a prototype
/usr/lib/ruby/1.8/x86_64-linux/intern.h:226: warning: function declaration
isn’t a prototype
/usr/lib/ruby/1.8/x86_64-linux/intern.h:271: warning: function declaration
isn’t a prototype
/usr/lib/ruby/1.8/x86_64-linux/intern.h:272: warning: function declaration
isn’t a prototype
/usr/lib/ruby/1.8/x86_64-linux/intern.h:500: warning: redundant redeclaration of
‘rb_iv_set’
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:561: warning: previous declaration of
‘rb_iv_set’ was here
/usr/lib/ruby/1.8/x86_64-linux/intern.h:501: warning: redundant redeclaration of
‘rb_iv_get’
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:560: warning: previous declaration of
‘rb_iv_get’ was here
/usr/lib/ruby/1.8/x86_64-linux/intern.h:517: warning: redundant redeclaration of
‘rb_mod_constants’
/usr/lib/ruby/1.8/x86_64-linux/intern.h:508: warning: previous declaration of
‘rb_mod_constants’ was here
In file included from
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:5:
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:
In function ‘SWIG_Ruby_AppendOutput’:
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:1186:
warning: implicit declaration of function ‘rb_type’
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:1186:
warning: nested extern declaration of ‘rb_type’
In file included from
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:5:
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:
In function ‘SWIG_Ruby_define_class’:
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:1370:
warning: implicit declaration of function ‘rb_class_of’
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:1370:
warning: nested extern declaration of ‘rb_class_of’
In file included from
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:7:
/usr/lib/ruby/1.8/x86_64-linux/st.h: At top level:
/usr/lib/ruby/1.8/x86_64-linux/st.h:22: warning: function declaration isn’t a
prototype
/usr/lib/ruby/1.8/x86_64-linux/st.h:23: warning: function declaration isn’t a
prototype
/usr/lib/ruby/1.8/x86_64-linux/st.h:58: warning: function declaration isn’t a
prototype
/usr/lib/ruby/1.8/x86_64-linux/st.h:70: warning: function declaration isn’t a
prototype
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:
In function ‘svn_swig_rb_initialize’:
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:508:
warning: unused variable ‘pool’
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:
In function ‘c2r_client_proplist_item_dup’:
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1171:
warning: ‘svn_client_proplist_item_dup’ is deprecated (declared at
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/include/svn_client.h:374)
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:
At top level:
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1296:
warning: no previous prototype for ‘c2r_merge_range_array’
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1423:
warning: no previous prototype for ‘c2r_hash’
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1475:
warning: no previous prototype for ‘c2r_revnum’
/home/hwright/dev/svn-buildbot/x64-ubuntu/build/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:2063:
warning: no previous prototype for ‘svn_swig_rb_from_baton’
make: *** [subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.lo] Error 1

Can anybody else replicate this? Is it easily solvable?

Thanks,
-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=990897

Received on 2008-12-23 20:32:09 CET

This is an archived mail posted to the Subversion Dev mailing list.