[Rock-dev] Error in autoproj

Sylvain Joyeux bir.sylvain at gmail.com
Mon Feb 5 17:32:46 CET 2018


Hi Martin

Apologies for this one, I mistakenly released a commit that shouldn't
have as autobuild 1.12.2

The just released 1.12.3 should fix the bug. Just run `autoproj update
--autoproj` to update.

On Mon, Feb 5, 2018 at 1:51 PM,  <Martin.Azkarate at esa.int> wrote:
> Hi there,
>
> I did something that "broke" my rock installation. I know what exactly broke
> it but I don't know why and I don't understand neither what is the error
> that is now telling me.
> So, I wanted to install a c++ library (call it X), that has a dependency on
> the grid-map-core library which can be installed directly from the debian
> package called ros-kinetic-grid-map-core.
> So I added the grid-map-core library to the .osdeps file of my custom remote
> package set by adding in *.osdeps:
>
> - grid-map-core:
>       debian, ubutun: ros-kinetic-grid-map-core
>
> Then I autoproj update. Now everytime I do aup or amake in any package I get
> the following error:
>
> /usr/lib/ruby/2.3.0/shellwords.rb:81:in `shellsplit': undefined method
> `scan' for nil:NilClass (NoMethodError)
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autobuild-1.12.2/lib/autobuild/packages/autotools.rb:176:in
> `prepare'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autoproj-2.4.0/lib/autoproj/ops/import.rb:374:in
> `finalize_package_load'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autoproj-2.4.0/lib/autoproj/ops/import.rb:408:in
> `import_packages'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autoproj-2.4.0/lib/autoproj/cli/update.rb:190:in
> `update_packages'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autoproj-2.4.0/lib/autoproj/cli/update.rb:110:in
> `run'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autoproj-2.4.0/lib/autoproj/cli/build.rb:30:in
> `run'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autoproj-2.4.0/lib/autoproj/cli/main.rb:57:in
> `block in run_autoproj_cli'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autoproj-2.4.0/lib/autoproj/reporter.rb:68:in
> `block in report'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autobuild-1.12.2/lib/autobuild/reporting.rb:285:in
> `report'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autoproj-2.4.0/lib/autoproj/reporter.rb:66:in
> `report'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autoproj-2.4.0/lib/autoproj/cli/main.rb:47:in
> `run_autoproj_cli'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autoproj-2.4.0/lib/autoproj/cli/main.rb:198:in
> `build'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/thor-0.19.4/lib/thor/command.rb:27:in
> `run'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in
> `invoke_command'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/thor-0.19.4/lib/thor.rb:369:in
> `dispatch'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/thor-0.19.4/lib/thor/base.rb:444:in
> `start'
>     from
> /home/marta/.autoproj/gems/ruby/2.3.0/gems/autoproj-2.4.0/bin/autoproj:12:in
> `<top (required)>'
>     from /home/marta/rock/.autoproj/bin/autoproj:15:in `load'
>     from /home/marta/rock/.autoproj/bin/autoproj:15:in `<main>'
>
> I have even removed the the changes to the .osdeps file but still the error
> persist.
>
> I then tried installing the X library in another rock installation (still in
> the same machine, just in another bootstrap directory) but omitted the step
> of updating the .osdeps file and actually installed the grid-map-core
> library manually with apt-get. and that worked fine.
>
> 1. How should the dependency be properly added to the .osdeps file?
> 2. If possible, how can I fix my original rock installation? Any ideas?
>
> I am using 16.04 rock_master.
> Martin
> _
>
>
> Martin Azkarate
> ESA - European Space Agency
> TEC-MMA - Automation and Robotics Section
>
> ESTEC - European Space research and TEchnology Centre
> Keplerlaan 1, PO Box 299
> NL-2200 AG Noordwijk, The Netherlands
> Martin.Azkarate at esa.int | www.esa.int
> Tel +31 71 565 6057 | Mob +31 650 62 55 64
>
> This message and any attachments are intended for the use of the addressee
> or addressees only.
> The unauthorised disclosure, use, dissemination or copying (either in whole
> or in part) of its
> content is not permitted.
> If you received this message in error, please notify the sender and delete
> it from your system.
> Emails can be altered and their integrity cannot be guaranteed by the
> sender.
>
> Please consider the environment before printing this email.
>
>
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>


More information about the Rock-dev mailing list