[Rock-dev] [Orocos-Dev] Build server script for autoproj-based installs

Peter Soetens peter at thesourceworks.com
Thu Dec 16 13:54:19 CET 2010


On Tuesday 14 December 2010 17:13:50 Sylvain Joyeux wrote:
> Here it is
> 
> http://gitorious.com/rock/admin_scripts/blobs/master/bin/rock-build-server
> 
> I hope the usage message is self-explanatory. If in doubt, ask !
> 
> Sylvain

I had to modify this script for my hudson build. Now for some reason, I get 
this error:

+ ruby autoproj_bootstrap git /home/kaltan/vbox/hudson/jobs/bootstrap-
toolchain/workspace/CORBA_IMPL/TAO/TARGET/gnulinux/arch/amd64/branch/master/buildconf 
branch=master
    autodetecting the operating system
autoproj: installing a proper Ruby environment (this can take a long time)
autoproj: installing autoproj and its dependencies (this can take a long time)
  installing/updating RubyGems dependencies: autobuild, rdoc
Enclosing class/module 'mUtilrb' for class WeakRef not known
Enclosing class/module 'cWeakRef' for class RefError not known
Enclosing class/module 'mUtilrb' for class WeakRef not known
Enclosing class/module 'cWeakRef' for class RefError not known
  installing/updating RubyGems dependencies: autoproj
  autodetecting the operating system
  checking out autoproj main configuration
  Access method to gitorious (git, http or ssh)
    Use 'ssh' only if you have a gitorious account and have commit rights
    on the Orocos projects. Otherwise, we advise you to use 'git' [git] 
/home/kaltan/vbox/hudson/jobs/bootstrap-
toolchain/workspace/CORBA_IMPL/TAO/TARGET/gnulinux/arch/amd64/branch/master/orocos-
toolchain/autoproj/init.rb:66: end of file reached
  in /home/kaltan/vbox/hudson/jobs/bootstrap-
toolchain/workspace/CORBA_IMPL/TAO/TARGET/gnulinux/arch/amd64/branch/master/orocos-
toolchain/autoproj/init.rb:66
ERROR: failed to run autoproj bootstrap git, 
/home/kaltan/vbox/hudson/jobs/bootstrap-
toolchain/workspace/CORBA_IMPL/TAO/TARGET/gnulinux/arch/amd64/branch/master/buildconf, 
branch=master

I have no idea where this comes from, the init.rb file looks fine to me... 
ideas?

I also had to remove the comitting of the config.yml file since autoproj refused 
to merge the upstream master branch with that local commit. I just removed the 
git add/commit for config.yml.

Peter


More information about the Rock-dev mailing list