[Rock-dev] [Orocos-Dev] Build server script for autoproj-based installs
Peter Soetens
peter at thesourceworks.com
Thu Dec 16 14:00:42 CET 2010
On Thursday 16 December 2010 13:54:19 Peter Soetens wrote:
> 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-serve
> > r
> >
> > 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[0m
> checking out autoproj main configuration[0m
> [1mAccess method to gitorious (git, http or ssh)[0m
> 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]
> [31m[1m/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[0m
> [31m[1m in /home/kaltan/vbox/hudson/jobs/bootstrap-
> toolchain/workspace/CORBA_IMPL/TAO/TARGET/gnulinux/arch/amd64/branch/master
> /orocos- toolchain/autoproj/init.rb:66[0m
> 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.
>
Something else strange. This is my own written config.yml file which I pass to
the script:
---
GITORIOUS_ROOT: "git at gitorious.com:"
rtt_corba_implementation: TAO
manifest_source:
branch: master
url: git at gitorious.org:/orocos-toolchain/build.git
type: git
GITORIOUS: git
automatic_osdeps: true
osdeps_mode: ruby
rtt_target: gnulinux
But this is the one in the autoproj directory after the failed attempt:
---
operating_system:
- - ubuntu
- debian
- - - lucid
- "10.04"
- default
manifest_source:
url: /home/kaltan/vbox/hudson/jobs/bootstrap-
toolchain/workspace/CORBA_IMPL/TAO/TARGET/gnulinux/arch/amd64/branch/master/buildconf
type: git
osdeps_mode: ruby
Doesn't look right to me...
Peter
More information about the Rock-dev
mailing list