Closed Rauldg closed 7 years ago
Adding the 'ignore' for ruby23 is the right fix. It's already present in 1.13.7. Generally speaking, use bootstrap script from the v1 branch instead of a specific tag.
Other than that, I don't know what
ERROR: While executing gem ... (Gem::Requirement::BadRequirementError) Illformed requirement ["/home/dfki.uni-bremen.de/rdominguez"]
Means. It looks like some configuration / arguments are passed to 'gem2.3' that contain a path of yours and that is confusing it.
Actually, there's been a bugfix between 1.13.3 and 1.13.7 to fix handling of spaces when running the gem in autoproj_bootstrap ... would you by any chance have spaces in your path ?
Alright, I checked out the branch v1 autoproj_boostrap script and started again.
Now the errors from before don't trigger. But I have a new one:
Which flavor of Rock do you want to use ?
Use 'stable' to use the a released version of Rock that gets updated with bugfixes
'master' for the development branch
If you want to use a released version of rock, choose 'stable' and then call 'rock-release switch' after the initial bootstrap
See http://rock-robotics.org/stable/documentation/installation.html for more information [stable] master
whether C++11 should be enabled for Rock packages [no] yes
init.rb(package_set=rock.core):81: uninitialized constant Autoproj::OSPackageResolver
in /home/dfki.uni-bremen.de/rdominguez/rock/entern/02/.remotes/github__rock_core_package_set_git/rock/cxx11.rb:3:in `default_loader_is_castxml?'
in /home/dfki.uni-bremen.de/rdominguez/rock/entern/02/.remotes/github__rock_core_package_set_git/rock/cxx11.rb:24:in `setup_cxx11_support'
in /home/dfki.uni-bremen.de/rdominguez/rock/entern/02/autoproj/remotes/rock.core/init.rb:81:in `<top (required)>'
It doesn't matter what I choose in the two questions. The error triggers anyway.
Already reported by @2maz and should be fixed by https://github.com/rock-core/package_set/pull/122
This worked. Thanks!
:+1:
These are the steps I have followed so far:
wget https://raw.githubusercontent.com/rock-core/autoproj/v1.13.3/bin/autoproj_bootstrap
ruby autoproj_bootstrap git git@github.com:rock-core/buildconf.git
This is the response:
autoproj: installing a proper Ruby environment (this can take a long time) failed: there is no osdeps definition for ruby23 (search tree: ruby->ruby23)
I guess that some entry like the ones for ruby20 at line 2918 of the bootstrap script is missing for ruby23 so I tried with these lines (I am using Ubuntu 16.04)
That takes me to the following error:
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 ~>1.9.0 ERROR: While executing gem ... (Gem::Requirement::BadRequirementError) Illformed requirement ["/home/dfki.uni-bremen.de/rdominguez"] ERROR: failed to run /usr/bin/ruby2.3 -S gem2.3 install --no-user-install --no-format-executable --no-rdoc --no-ri autobuild -v ~>1.9.0 ERROR: command output is: