[Rock-dev] [rock] #258: syntax error in autoproj 1.9.2 breaks autoproj update

rock noreply at opendfki.de
Mon Apr 8 11:20:49 CEST 2013


#258: syntax error in autoproj 1.9.2 breaks autoproj update
-----------------------+-----------------------------------
 Reporter:  alco01     |      Owner:  rock-dev-mailing-list
     Type:  defect     |     Status:  new
 Priority:  major      |  Milestone:
Component:  toolchain  |   Keywords:  autoproj
-----------------------+-----------------------------------
 Hey,

 this error seems to be fixed in the 1.9.3 rc3 prerelease but there should
 be a hotfix in the 1.9.2 release as well.
 See commit d4824a6c1808bba9047769352df967f04daccb6b in autoproj.


 {{{
 autoproj: loading ...
 run 'autoproj reconfigure' to change configuration options
 and use 'autoproj switch-config' to change the remote source for
 autoproj's main build configuration
   Which flavor of Rock do you want to use ? master
   Do you need compatibility with OCL ? (yes or no): false
 /home/conquest/dev/virgo/.gems/gems/autoproj-1.9.2/lib/autoproj/manifest.rb:1843:in
 `rescue in layout_packages': undefined method `sel' for
 #<Autoproj::Manifest::ExcludedSelection:0xbbd1220> (NoMethodError)
         from
 /home/conquest/dev/virgo/.gems/gems/autoproj-1.9.2/lib/autoproj/manifest.rb:1839:in
 `layout_packages'
         from
 /home/conquest/dev/virgo/.gems/gems/autoproj-1.9.2/lib/autoproj/manifest.rb:1926:in
 `default_packages'
         from
 /home/conquest/dev/virgo/.gems/gems/autoproj-1.9.2/lib/autoproj/cmdline.rb:590:in
 `resolve_user_selection'
         from
 /home/conquest/dev/virgo/.gems/gems/autoproj-1.9.2/bin/autoproj:127:in
 `block (2 levels) in <top (required)>'
         from
 /home/conquest/dev/virgo/.gems/gems/autobuild-1.7.2/lib/autobuild/reporting.rb:31:in
 `silent'
         from
 /home/conquest/dev/virgo/.gems/gems/autoproj-1.9.2/lib/autoproj/cmdline.rb:23:in
 `silent'
         from
 /home/conquest/dev/virgo/.gems/gems/autoproj-1.9.2/bin/autoproj:125:in
 `block in <top (required)>'
         from
 /home/conquest/dev/virgo/.gems/gems/autoproj-1.9.2/lib/autoproj/cmdline.rb:1895:in
 `block in report'
         from
 /home/conquest/dev/virgo/.gems/gems/autobuild-1.7.2/lib/autobuild/reporting.rb:288:in
 `report'
         from
 /home/conquest/dev/virgo/.gems/gems/autoproj-1.9.2/lib/autoproj/cmdline.rb:1894:in
 `report'
         from
 /home/conquest/dev/virgo/.gems/gems/autoproj-1.9.2/bin/autoproj:41:in
 `<top (required)>'
         from /home/conquest/dev/virgo/.gems/bin/autoproj:23:in `load'
         from /home/conquest/dev/virgo/.gems/bin/autoproj:23:in `<main>'

 }}}

 There seems to be no 'e.sel' but 'e.selection' works.
 Changing line 1843 in the gem works for me:
 Line 1843:
 {{{
 raise e, "#{e.selection}, which is selected in the layout, cannot be
 built: #{e.message}", e.backtrace
 }}}


 This is the correct output:

 {{{
 drivers/orogen/camera_ids, which is selected on the command line, cannot
 be built: drivers/orogen/camera_ids, which is selected in the layout,
 cannot be built: it is excluded from the build: the uEye Linux SDK needed
 for camera_ids is not installed!. Install it manually: http://www.ids-
 imaging.de/drivers.php
 }}}

-- 
Ticket URL: <https://rock.opendfki.de/ticket/258>
rock <https://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list