[Rock-dev] [rock] #281: Crash during 'aup' when there are broken dependencies

rock noreply at opendfki.de
Thu Jun 13 19:20:33 CEST 2013


#281: Crash during 'aup' when there are broken dependencies
-----------------------+-----------------------------------
 Reporter:  anonymous  |      Owner:  rock-dev-mailing-list
     Type:  defect     |     Status:  new
 Priority:  major      |  Milestone:
Component:  toolchain  |   Keywords:
-----------------------+-----------------------------------
 'aup' crashes when called from rock's root directory and there is package
 defined in 'autoproj/manifest' that again has defined a broken dependency
 in its 'manifest.xml'.

 Here is the error I get:


 {{{
 /var/lib/gems/1.9.1/gems/autoproj-1.9.2/lib/autoproj/manifest.rb:1843:in
 `rescue in layout_packages': undefined method `sel' for
 #<Autoproj::Manifest::ExcludedSelection:0x9ba66bc> (NoMethodError)
         from
 /var/lib/gems/1.9.1/gems/autoproj-1.9.2/lib/autoproj/manifest.rb:1839:in
 `layout_packages'
         from
 /var/lib/gems/1.9.1/gems/autoproj-1.9.2/lib/autoproj/manifest.rb:1926:in
 `default_packages'
         from
 /var/lib/gems/1.9.1/gems/autoproj-1.9.2/lib/autoproj/manifest.rb:1915:in
 `all_selected_packages'
         from
 /var/lib/gems/1.9.1/gems/autoproj-1.9.2/lib/autoproj/cmdline.rb:1886:in
 `block in export_installation_manifest'
         from
 /var/lib/gems/1.9.1/gems/autoproj-1.9.2/lib/autoproj/cmdline.rb:1885:in
 `open'
         from
 /var/lib/gems/1.9.1/gems/autoproj-1.9.2/lib/autoproj/cmdline.rb:1885:in
 `export_installation_manifest'
         from /var/lib/gems/1.9.1/gems/autoproj-1.9.2/bin/autoproj:243:in
 `block in <top (required)>'
         from
 /var/lib/gems/1.9.1/gems/autoproj-1.9.2/lib/autoproj/cmdline.rb:1895:in
 `block in report'
         from
 /var/lib/gems/1.9.1/gems/autobuild-1.7.2/lib/autobuild/reporting.rb:288:in
 `report'
         from
 /var/lib/gems/1.9.1/gems/autoproj-1.9.2/lib/autoproj/cmdline.rb:1894:in
 `report'
         from /var/lib/gems/1.9.1/gems/autoproj-1.9.2/bin/autoproj:41:in
 `<top (required)>'
         from /var/lib/gems/1.9.1/gems/autoproj-1.9.2/bin/aup:47:in `load'
         from /var/lib/gems/1.9.1/gems/autoproj-1.9.2/bin/aup:47:in `<top
 (required)>'
         from /usr/local/bin/aup:19:in `load'
         from /usr/local/bin/aup:19:in `<main>'
 }}}


 Steps to reproduce:
 * open 'manifest.xml' from any package within the ROCK installation
 * add not available package dependency. For example: <depend
 package="not_there" />
 * 'acd', 'aup'

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


More information about the Rock-dev mailing list