rock-core / autoproj

Rock (Robot Construction Kit) package-oriented build system
http://rock-robotics.org/rock-and-syskit/workspace
23 stars 22 forks source link

Failing builds with ruby 2.1 on stable and next #24

Closed planthaber closed 10 years ago

planthaber commented 10 years ago

I don't really know if the issue arises from autoproj, but to me it looks like some path issues. If not we can at least start tracking down the issue from here.

Using ruby 2.1, orogen fails in post-install: Orogen "the error is: cannot load such file -- typelib"

Full log (Ubuntu stable, the next log is only missing the information about Hoe, Debian logs are identical):

2014-11-09 23:09:19 +0000: running /usr/bin/ruby2.1 -S rake default with environment: 'AUTOPROJ_BOOTSTRAP_IGNORE_NONEMPTY_DIR'='1' 'AUTOPROJ_CACHE_DIR'='/data/jenkins/autoproj_cache/' 'AUTOPROJ_CURRENT_ROOT'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev' 'AUTOPROJ_OSDEPS_MODE'='all' 'BOOTSTRAP_URL'='https://raw.githubusercontent.com/rock-core/autoproj/master/bin/autoproj_bootstrap' 'BUILD_DISPLAY_NAME'='#698' 'BUILD_ID'='2014-11-09_23-56-16' 'BUILD_NUMBER'='698' 'BUILD_TAG'='jenkins-rock-incremental-Flavor=stable,node=Ubuntu_current-698' 'BUILD_URL'='http://buildsrv01:8080/job/rock-incremental/Flavor=stable,node=Ubuntu_current/698/' 'CCACHE_DIR'='/data/jenkins/ccache' 'CCACHE_PREFIX'='icecc' 'CLEAN_IF_SUCCESSFUL'='false' 'CMAKE_PREFIX_PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install' 'CONFIG_NAME'='rock-incremental/Flavor=stable,node=Ubuntu_current-stable' 'DOCGEN'='false' 'EXECUTOR_NUMBER'='0' 'Flavor'='stable' 'GEM_HOME'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/.gems' 'GEM_PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/.gems:/var/lib/jenkins/.gem/ruby/2.1.0:/var/lib/gems/2.1.0:/usr/share/rubygems-integration/2.1.0:/usr/share/rubygems-integration/2.1:/usr/share/rubygems-integration/all' 'HOME'='/var/lib/jenkins' 'HUDSON_COOKIE'='c04f78cc-2e67-4329-ae29-67144e299bdd' 'HUDSON_HOME'='/data/jenkins' 'HUDSON_SERVER_COOKIE'='5bfb7c75ae1d8325' 'HUDSON_URL'='http://buildsrv01:8080/' 'JENKINS_HOME'='/data/jenkins' 'JENKINS_SERVER_COOKIE'='5bfb7c75ae1d8325' 'JENKINS_URL'='http://buildsrv01:8080/' 'JOB_NAME'='rock-incremental/Flavor=stable,node=Ubuntu_current' 'JOB_URL'='http://buildsrv01:8080/job/rock-incremental/Flavor=stable,node=Ubuntu_current/' 'KEEP_GOING'='true' 'LANG'='en_US.UTF-8' 'LD_LIBRARY_PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/lib' 'LOGNAME'='jenkins' 'MODE'='incremental' 'NODE_LABELS'='Ubuntu_current' 'NODE_NAME'='Ubuntu_current' 'OLDPWD'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current' 'ORBInitRef'='NameService=corbaname::127.0.0.1' 'OROCOS_TARGET'='gnulinux' 'OROGEN_PLUGIN_PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/orogen_ros/lib/orogen_ros/plugin.rb:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/share/orogen/plugins' 'OSG_FILE_PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/share/vizkit' 'PARALLEL'='15' 'PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/metaruby/bin:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/orogen/bin:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/log_tools/bin:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/roby/bin:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/pocolog/bin:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/orocos.rb/bin:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/syskit/bin:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/base/scripts/bin:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/gui/vizkit/bin:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/.gems/bin:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/bin:/usr/lib/ccache:/usr/lib/icecc/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games' 'PKG_CONFIG_PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/lib/pkgconfig:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/lib64/pkgconfig:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/share/pkgconfig' 'PWD'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev' 'PYTHONPATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/lib/python2.7/site-packages' 'PYTHONUSERBASE'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/.pip' 'QT_PLUGIN_PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/lib/qt' 'ROBY_PLUGIN_PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/syskit/lib/syskit/roby_app/register_plugin.rb:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/base/scripts/lib/rock/roby_plugin.rb' 'ROCK_BUNDLE_PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/bundles:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/share/rock:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/bundles/rock_ugv_nav:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/bundles/rock_auv:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/bundles/rock' 'ROCK_PREFIX'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/share/rock' 'ROCK_TEMPLATE_PREFIX'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/base/templates/' 'ROCK_TEMPLATE_SUFFIX'='' 'RUBYLIB'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/metaruby/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/utilrb/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/orogen/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/log_tools/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/roby/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/pocolog/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/orocos.rb/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/syskit/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/base/scripts/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/slam/envire/ruby:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/drivers/transformer/ruby/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/gui/vizkit/build/lib:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/gui/vizkit/ruby/lib' 'RUBYOPT'='-rubygems' 'SCHROOT_COMMAND'='/data/jenkins/build_scripts/jenkins_slave' 'SCHROOT_GID'='499' 'SCHROOT_GROUP'='jenkins' 'SCHROOT_SESSION_ID'='14.10_amd64-8be82f1c-ff0b-4c2d-976d-f68bdaafb835' 'SCHROOT_UID'='498' 'SCHROOT_USER'='jenkins' 'SHELL'='/bin/false' 'SHLVL'='2' 'SKIP_SUCCESSFUL'='false' 'TERM'='xterm' 'TYPELIB_RUBY_PLUGIN_PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/share/typelib/ruby' 'USER'='jenkins' 'VIZKIT_PLUGIN_RUBY_PATH'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/lib/vizkit:/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/install/lib' 'WORKSPACE'='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntucurrent' ''='/data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/.gems/bin/autoproj' 'node'='Ubuntu_current'

2014-11-09 23:09:19 +0000: running /usr/bin/ruby2.1 -S rake default in directory /data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/orogen WARN: cannot load the Hoe gem, or Hoe fails. Publishing tasks are disabled WARN: error message is: No such file or directory @ rb_sysopen - README.txt cannot load oroGen did you install Typelib's Ruby bindings and update the RUBYLIB environment variable accordingly ? did you add /data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/orogen/lib to RUBYLIB ? the error is: cannot load such file -- typelib /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire' /data/jenkins/workspace/workspace/rock-incremental/Flavor/stable/node/Ubuntu_current/dev/tools/orogen/Rakefile:6:in block in <top (required)>' /usr/lib/ruby/vendor_ruby/rake/task.rb:236:incall' /usr/lib/ruby/vendor_ruby/rake/task.rb:236:in block in execute' /usr/lib/ruby/vendor_ruby/rake/task.rb:231:ineach' /usr/lib/ruby/vendor_ruby/rake/task.rb:231:in execute' /usr/lib/ruby/vendor_ruby/rake/task.rb:175:inblock in invoke_with_call_chain' /usr/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /usr/lib/ruby/vendor_ruby/rake/task.rb:168:ininvoke_with_call_chain' /usr/lib/ruby/vendor_ruby/rake/task.rb:197:in block in invoke_prerequisites' /usr/lib/ruby/vendor_ruby/rake/task.rb:195:ineach' /usr/lib/ruby/vendor_ruby/rake/task.rb:195:in invoke_prerequisites' /usr/lib/ruby/vendor_ruby/rake/task.rb:174:inblock in invoke_with_call_chain' /usr/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /usr/lib/ruby/vendor_ruby/rake/task.rb:168:ininvoke_with_call_chain' /usr/lib/ruby/vendor_ruby/rake/task.rb:161:in invoke' /usr/lib/ruby/vendor_ruby/rake/application.rb:149:ininvoke_task' /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in block (2 levels) in top_level' /usr/lib/ruby/vendor_ruby/rake/application.rb:106:ineach' /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in block in top_level' /usr/lib/ruby/vendor_ruby/rake/application.rb:115:inrun_with_threads' /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in top_level' /usr/lib/ruby/vendor_ruby/rake/application.rb:78:inblock in run' /usr/lib/ruby/vendor_ruby/rake/application.rb:165:in standard_exception_handling' /usr/lib/ruby/vendor_ruby/rake/application.rb:75:inrun' /usr/bin/rake:27:in `

'

doudou commented 10 years ago

I won't support ruby > 1.9 on the current stable/next. Ever.

My guess is that typelib did not build its bindings. Probably the FindRuby script on master/next is not detecting it properly.