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

Re: Swig-rb binding build broken

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 23 Dec 2008 22:02:15 +0100

On Tue, Dec 23, 2008 at 01:31:39PM -0600, Hyrum K. Wright wrote:
> Can anybody else replicate this?

Yes, me (see below).

I've reported the problem before:
http://subversion.tigris.org/ds/viewMessage.do?dsMessageId=979063&dsForumId=462
(You need to download the "attachment" which was really the
body of my message:
http://subversion.tigris.org/ds/getDSMessageAttachment.do/attachment-1270284?dsForumId=462&dsMessageId=979063&dsAttachmentId=1270284&dsAttachmentMime=message/rfc822
)

> Is it easily solvable?

No idea :(

Below is the error I'm currently seeing, with svn trunk WC uniformly at r34903,
and:
$ ruby --version
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-openbsd4.4]
$ swig -version
SWIG Version 1.3.36

/bin/sh /home/stsp/svn/svn-trunk/libtool --tag=CC --silent --mode=compile cc -O2 -pipe -fPIC -D_POSIX_THREADS -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/apr/include/apr-1 -I/usr/local/include -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 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -DSVN_DEBUG -DAP_DEBUG -I/home/stsp/svn/svn-trunk/subversion -I/home/stsp/svn/svn-trunk/subversion/include -I/home/stsp/svn/svn-trunk/subversion/bindings/swig -I/home/stsp/svn/svn-trunk/subversion/bindings/swig/include -I/home/stsp/svn/svn-trunk/subversion/bindings/swig/proxy -I/home/stsp/svn/svn-trunk/subversion/bindings/swig/proxy -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/apr/include/apr-1 -I/usr/local/include -I. -I/usr/local/lib
/ruby/1.8/i386-openbsd4.4 -I/home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby -I./subversion/include -I./subversion -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/apr/include/apr-1 -I/usr/local/include -I/home/stsp/svn/prefix/neon/include/neon -I/usr/local/include -I/home/stsp/svn/prefix/serf/include/serf-0 -I/home/stsp/svn/prefix/sqlite/include -o subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.lo -c /home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
In file included from /home/stsp/svn/svn-trunk/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:720,
                 from /home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:5:
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:56: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:66: warning: redundant redeclaration of `rb_uint2inum' in same s
cope
/usr/local/lib/ruby/1.8/i386-openbsd4.4/ruby.h:146: warning: previous declaration of `rb_uint2inum'
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:67: warning: redundant redeclaration of `rb_int2inum' in same sc
ope
/usr/local/lib/ruby/1.8/i386-openbsd4.4/ruby.h:142: warning: previous declaration of `rb_int2inum'
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:79: warning: redundant redeclaration of `rb_ll2inum' in same sco
pe
/usr/local/lib/ruby/1.8/i386-openbsd4.4/ruby.h:152: warning: previous declaration of `rb_ll2inum'
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:80: warning: redundant redeclaration of `rb_ull2inum' in same sc
ope
/usr/local/lib/ruby/1.8/i386-openbsd4.4/ruby.h:154: warning: previous declaration of `rb_ull2inum'
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:120: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:123: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:124: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:125: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:188: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:214: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:258: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:259: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:480: warning: redundant redeclaration of `rb_iv_set' in same scope
/usr/local/lib/ruby/1.8/i386-openbsd4.4/ruby.h:548: warning: previous declaration of `rb_iv_set'
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:481: warning: redundant redeclaration of `rb_iv_get' in same scope
/usr/local/lib/ruby/1.8/i386-openbsd4.4/ruby.h:547: warning: previous declaration of `rb_iv_get'
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:497: warning: redundant redeclaration of `rb_mod_constants' in same scope
/usr/local/lib/ruby/1.8/i386-openbsd4.4/intern.h:488: warning: previous declaration of `rb_mod_constants'
In file included from /home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:7:
/usr/local/lib/ruby/1.8/i386-openbsd4.4/st.h:22: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/st.h:23: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/st.h:58: warning: function declaration isn't a prototype
/usr/local/lib/ruby/1.8/i386-openbsd4.4/st.h:70: warning: function declaration isn't a prototype
/home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function `svn_swig_rb_initialize':
/home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:508: warning: unused variable `pool'
/home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function `c2r_client_proplist_item_dup':
/home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1171: warning: `svn_client_proplist_item_dup' is deprecated (declared at /home/stsp/svn/svn-trunk/subversion/include/svn_client.h:375)
/home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: At top level:
/home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1297: warning: no previous prototype for `c2r_merge_range_array'
/home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1426: warning: no previous prototype for `c2r_hash'
/home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1476: warning: no previous prototype for `c2r_revnum'
/home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:2064: warning: no previous prototype for `svn_swig_rb_from_baton'
/home/stsp/svn/svn-trunk/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:310: warning: `resolve_constant' defined but not used
*** Error code 1

Stop in /home/stsp/svn/svn-trunk (line 1751 of ./build-outputs.mk).

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=990944
Received on 2008-12-23 22:03:49 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.