You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Reser <be...@reser.org> on 2013/08/16 06:27:40 UTC

Re: buildbot failure in ASF Buildbot on svn-x64-ubuntu-gcc

On Thu Aug 15 21:05:40 2013, buildbot@apache.org wrote:
> The Buildbot has detected a new failure on builder svn-x64-ubuntu-gcc while building ASF Buildbot.
> Full details are available at:
>  http://ci.apache.org/builders/svn-x64-ubuntu-gcc/builds/9201
>
> Buildbot URL: http://ci.apache.org/
>
> Buildslave for this Build: svn-x64-ubuntu
>
> Build Reason: scheduler
> Build Source Stamp: [branch subversion/branches/1.7.x] 1514572
> Blamelist: brane,breser,svn-role
>
> BUILD FAILED: failed Build

Build bot has wrong version of ruby for 1.7.x so ruby bindings are 
failing:

configure: WARNING: The detected Ruby is too new for Subversion to use
configure: WARNING: Only 1.8.x releases are supported at this time

and

+ make swig-rb -j1
/usr/bin/swig 
-I/var/lib/buildbot/svn-buildslave/svn-x64-ubuntu/build/subversion 
-I/var/lib/buildbot/svn-buildslave/svn-x64-ubuntu/build/subversion/include 
-I/var/lib/buildbot/svn-buildslave/svn-x64-ubuntu/build/subversion/bindings/swig 
-I/var/lib/buildbot/svn-buildslave/svn-x64-ubuntu/build/subversion/bindings/swig/include 
-I/var/lib/buildbot/svn-buildslave/svn-x64-ubuntu/build/subversion/bindings/swig/proxy 
-I/var/lib/buildbot/svn-buildslave/svn-x64-ubuntu/build/subversion/bindings/swig/proxy 
-I/usr/include/apr-1.0  -I/usr/include/apr-1.0 -I/usr/include -ruby -o 
subversion/bindings/swig/ruby/svn_client.c 
./subversion/bindings/swig/svn_client.i
/var/lib/buildbot/svn-buildslave/svn-x64-ubuntu/build/subversion/include/svn_props.h:520: 
Warning 305: Bad constant value (ignored).
/bin/bash /var/lib/buildbot/svn-buildslave/svn-x64-ubuntu/build/libtool 
--tag=CC --silent --mode=compile none  -D_REENTRANT -D_GNU_SOURCE  
-I/var/lib/buildbot/svn-buildslave/svn-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
/var/lib/buildbot/svn-buildslave/svn-x64-ubuntu/build/libtool: line 
1125: none: command not found
make: *** [subversion/bindings/swig/ruby/svn_client.lo] Error 1

Probably should fix 1.7.x to not try to use the none command when ruby 
isn't detected and to emit a proper error message.


RUBY=none ./configure && make swig-rb Re: buildbot failure in ASF Buildbot on svn-x64-ubuntu-gcc

Posted by Daniel Shahaf <da...@elego.de>.
Ben Reser wrote on Thu, Aug 15, 2013 at 21:27:40 -0700:
> Probably should fix 1.7.x to not try to use the none command when ruby 
> isn't detected and to emit a proper error message.

FWIW, this is reproducible in trunk,

% RUBY=none ./configure
% make
% make swig-rb

I've looked into a patch.  Attached is what I came up with.  I'm not
sure there isn't a simpler way, so posting here.  The idea of the patch
is to prefix a '.swig_checked-rb' to both instances of the 'swig-rb'
targets and to check $(RUBY) in there, so 'make swig-rb' might generate
swig wrappers (if $(SWIG) != 'none') but will then fail when it gets to
the part that require a 'ruby' binary.

With the patch applied, I get:

% ./autogen.sh >/dev/null && rm -f config.cache && RUBY=none ../*ce -q && make -sj4
% make swig-rb
Ruby not found by configure
make: *** [.swig_checked-rb] Error 1
zsh: exit 2     make swig-rb