bootstrap.sh fails compiling OCL

Hi,

I'm trying to take a look at Roby/Syskit to understand how we could
cooperate towards a common real-time safe configurator (and to
demonstrate my good will towards our friends of the ROCK
project...). I ran the bootstrap script, but it bailed out compiling
OCL (I selected the legacy option). I'm using debian/testing. Log file
below. Any ideas?

<ERRMSG>
building rtt (92%) | installing drivers/aggregator
building rtt (92%) | configuring CMake build system for image_processing/frame_helper
building rtt (92%) | configuring CMake build system for drivers/transformer
building rtt (95%) | building image_processing/frame_helper (100%)
building rtt (100%) | building drivers/transformer (66%)
building drivers/transformer (66%) | installing image_processing/frame_helper
building drivers/transformer (66%) | installing rtt
building drivers/transformer (100%) | configuring CMake build system for gui/rock_widget_collection
configuring CMake build system for gui/rock_widget_collection | configuring CMake build system for ocl
configuring CMake build system for gui/rock_widget_collection
got an error doing parallel processing, waiting for pending jobs to end
Build failed
ocl(/home/mk/src/rock-robotics/tools/ocl): failed in configure phase
'cmake -DCMAKE_INSTALL_PREFIX=/home/mk/src/rock-robotics/install -DCMAKE_MODULE_PATH=/home/mk/src/rock-robotics/base/types/cmake -DOROCOS_TARGET=gnulinux -DCMAKE_BUILD_TYPE=Debug /home/mk/src/rock-robotics/tools/ocl' returned status 1
see /home/mk/src/rock-robotics/install/log/ocl-configure.log for details
last 10 lines are:

CMake Error at CMakeLists.txt:160 (find_package):
Found package configuration file:

/home/mk/src/rock-robotics/install/lib/cmake/orocos-rtt/orocos-rtt-config.cmake

but it set OROCOS-RTT_FOUND to FALSE so package "OROCOS-RTT" is considered
to be NOT FOUND.

-- Configuring incomplete, errors occurred!

</ERRMSG>

Some extra questions

- Where is exactly is syskit in the sources?

- I find a lot of documentation on the higher level composition and
configuration DSL, but nothing on the Configurator aspects. Pointers
appreciated.

- Should I better post this on rock-dev?

I also noticed the link to github on this page

http://www.rock-robotics.org/master/api/tools/orocos.rb/Orocos/RobyPlugi...

is dead.

Best Regards
Markus

2012-11-22 11:50:43 +0100: running
cmake -DCMAKE_INSTALL_PREFIX=/home/mk/src/rock-robotics/install -DCMAKE_MODULE_PATH=/home/mk/src/rock-robotics/base/types/cmake -DOROCOS_TARGET=gnulinux -DCMAKE_BUILD_TYPE=Debug /home/mk/src/rock-robotics/tools/ocl
with environment:
'AUTOPROJ_PROJECT_BASE'='/home/mk/src/rock-robotics'
'CMAKE_PREFIX_PATH'='/home/mk/src/rock-robotics/install'
'COLORFGBG'='default;default;0'
'COLORTERM'='rxvt-xpm'
'DBUS_SESSION_BUS_ADDRESS'='unix:abstract=/tmp/dbus-VQvBdAtn2h,guid=ac026811b4875471b30c94c850ad23dd'
'DESKTOP_SESSION'='wmii'
'DISPLAY'=':0'
'EDITOR'='emacsclient -nw'
'GDK_NATIVE_WINDOWS'='true'
'GDMSESSION'='wmii'
'GEM_HOME'='/home/mk/src/rock-robotics/.gems'
'GNOME_KEYRING_CONTROL'='/home/mk/.cache/keyring-xn6DO7'
'GNOME_KEYRING_PID'='5256'
'HISTCONTROL'='ignoredups'
'HISTIGNORE'='ls:ls -l:fg'
'HISTSIZE'='100000'
'HOME'='/home/mk'
'LANG'='en_US.UTF-8'
'LD_LIBRARY_PATH'='/home/mk/src/rock-robotics/install/lib'
'LESSCLOSE'='/usr/bin/lesspipe %s %s'
'LESSOPEN'='| /usr/bin/lesspipe %s'
'LOGNAME'='mk'
'LS_COLORS'='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01
;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'
'LUA_CPATH'=';;;/home/mk/prog/lua/modules/?.so;/home/mk/src/git/lua/roslua/lib/?.luaso;/home/mk/src/git/lua/lqt/build/lib/?.so;/home/mk/src/git/lua/luse/src/?.so;/home/mk/src/git/lua/luse/?.so'
'LUA_PATH'=';;;/home/mk/prog/lua/modules/?.lua;/home/mk/src/git/lua/roslua/src/?/init.lua;/home/mk/src/git/lua/roslua/src/?.lua;/home/mk/src/git/lua/xavante/src/xavante/?.lua;/home/mk/src/git/lua/xavante/src/?.lua;/home/mk/src/git/lua/ros-actionlib_lua/src/actionlib/?.lua;/home/mk/src/git/lua/ros-actionlib_lua/src/?.lua;/home/mk/src/git/lua/orbiter/?/init.lua;/home/mk/src/git/lua/orbiter/?.lua'
'OLDPWD'='/home/mk/src'
'ORBInitRef'='NameService=corbaname::127.0.0.1'
'OROCOS_TARGET'='gnulinux'
'OROGEN_PLUGIN_PATH'='/home/mk/src/rock-robotics/install/share/orogen/plugins'
'OSG_FILE_PATH'='/home/mk/src/rock-robotics/install/share/vizkit'
'PATH'='/home/mk/src/rock-robotics/tools/orogen/bin:/home/mk/src/rock-robotics/tools/log_tools/bin:/home/mk/src/rock-robotics/tools/roby/bin:/home/mk/src/rock-robotics/tools/pocolog/bin:/home/mk/src/rock-robotics/tools/orocos.rb/bin:/home/mk/src/rock-robotics/base/scripts/bin:/home/mk/src/rock-robotics/gui/vizkit/bin:/home/mk/src/rock-robotics/install/bin:/home/mk/src/rock-robotics/.gems/bin:/home/mk/src/rock-robotics/.gems/bin:/usr/lib/ccache:/sbin/:/usr/sbin/:/home/mk/bin/:/home/mk/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/mk/.gem/ruby/1.8/bin:/var/lib/gems/1.8/gems/giternal-0.1.0/bin/:/var/lib/gems/1.8/bin/:/usr/xenomai/bin:/usr/xenomai/sbin/:/home/mk/src/git/orocos/gitorious/rttlua-tools'
'PKG_CONFIG_PATH'='/home/mk/src/rock-robotics/install/lib/pkgconfig:/home/mk/src/rock-robotics/install/lib64/pkgconfig:/home/mk/src/rock-robotics/install/share/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig'
'PWD'='/home/mk/src/rock-robotics'
'QT_PLUGIN_PATH'='/home/mk/src/rock-robotics/install/lib/qt'
'RFSM_VIEWER'='okular'
'ROBOTPKG_BASE'='/home/mk/src/brocre_brics_software/'
'ROBY_PLUGIN_PATH'='/home/mk/src/rock-robotics/tools/orocos.rb/lib/orocos/roby'
'ROCK_BUNDLE_PATH'='/home/mk/src/rock-robotics/bundles:/home/mk/src/rock-robotics/install/share/rock'
'ROCK_CMAKE_MACROS'='/home/mk/src/rock-robotics/base/types/cmake'
'ROCK_PREFIX'='/home/mk/src/rock-robotics/install/share/rock'
'ROCK_TEMPLATE_PREFIX'='/home/mk/src/rock-robotics/base/templates/'
'ROCK_TEMPLATE_SUFFIX'=''
'RUBYLIB'='/home/mk/src/rock-robotics/install/lib/ruby/1.9.1/x86_64-linux:/home/mk/src/rock-robotics/install/lib/ruby/1.9.1:/home/mk/src/rock-robotics/tools/utilrb/lib:/home/mk/src/rock-robotics/tools/orogen/lib:/home/mk/src/rock-robotics/tools/log_tools/lib:/home/mk/src/rock-robotics/tools/roby/lib:/home/mk/src/rock-robotics/tools/pocolog/lib:/home/mk/src/rock-robotics/tools/orocos.rb/lib:/home/mk/src/rock-robotics/base/types_ruby/lib:/home/mk/src/rock-robotics/base/scripts/lib:/home/mk/src/rock-robotics/gui/vizkit/build/lib:/home/mk/src/rock-robotics/gui/vizkit/ruby/lib:/home/mk/src/rock-robotics/slam/envire/ruby:/home/mk/src/rock-robotics/drivers/transformer/ruby/lib'
'RUBYOPT'='-rubygems'
'SHELL'='/bin/bash'
'SHLVL'='2'
'SSH_AGENT_PID'='5333'
'SSH_AUTH_SOCK'='/tmp/ssh-xd34ObwQDH9D/agent.5274'
'TERM'='rxvt'
'TYPELIB_RUBY_PLUGIN_PATH'='/home/mk/src/rock-robotics/base/types_ruby/lib/base'
'USER'='mk'
'USERNAME'='mk'
'VISUAL'='emacsclient -nw'
'VIZKIT_PLUGIN_RUBY_PATH'='/home/mk/src/rock-robotics/install/lib/vizkit:/home/mk/src/rock-robotics/install/lib'
'WINDOWID'='27262989'
'WINDOWPATH'='7'
'WMII_BACKGROUND'='#333333'
'WMII_CONFPATH'='/home/mk/.wmii:/etc/X11/wmii'
'WMII_FOCUSCOLORS'='#ffffff #285577 #4c7899'
'WMII_FONT'='fixed'
'WMII_NORMCOLORS'='#888888 #222222 #333333'
'WMII_TERM'='urxvt'
'XAUTHORITY'='/var/run/gdm3/auth-for-mk-Qx6OgQ/database'
'XDG_SESSION_COOKIE'='d73d1bc6feeb782d4f25166300000602-1353524187.946117-1527579110'
'_'='/bin/sh'

2012-11-22 11:50:43 +0100: running
cmake -DCMAKE_INSTALL_PREFIX=/home/mk/src/rock-robotics/install -DCMAKE_MODULE_PATH=/home/mk/src/rock-robotics/base/types/cmake -DOROCOS_TARGET=gnulinux -DCMAKE_BUILD_TYPE=Debug /home/mk/src/rock-robotics/tools/ocl
in directory /home/mk/src/rock-robotics/tools/ocl/build

bootstrap.sh fails compiling OCL

On 11/22/2012 12:14 PM, Markus Klotzbuecher wrote:
> Hi,
>
> I'm trying to take a look at Roby/Syskit to understand how we could
> cooperate towards a common real-time safe configurator (and to
> demonstrate my good will towards our friends of the ROCK
> project...). I ran the bootstrap script, but it bailed out compiling
> OCL (I selected the legacy option). I'm using debian/testing. Log file
> below. Any ideas?
>
I've found out that we were still tracking the toolchain-2.3 branch for
ocl and log4cpp ... I fixed it, and am working about compiling
everything on fresh VMs.

bootstrap.sh fails compiling OCL

On 11/22/2012 12:14 PM, Markus Klotzbuecher wrote:
> Some extra questions
>
> - Where is exactly is syskit in the sources?
Syskit is being extracted out of orocos.rb. It currently lies in
lib/orocos/roby in tools/orocos.rb
> - I find a lot of documentation on the higher level composition and
> configuration DSL, but nothing on the Configurator aspects. Pointers
> appreciated.
A "configuration" is
http://www.rock-robotics.org/master/documentation/system/subsystem_desig...

Basically, a single instance 'instance requirement' is a single
configuration from syskit's point of view. Then, the 'configurator' is

http://www.rock-robotics.org/master/api/tools/orocos.rb/Orocos/RobyPlugi...

It is given a set of configurations (via 'add') and generates the
corresponding component network. If a running system is there, it adapts
it in the process.

bootstrap.sh fails compiling OCL

On Fri, Nov 23, 2012 at 10:15:41AM +0100, Sylvain Joyeux wrote:
> On 11/22/2012 12:14 PM, Markus Klotzbuecher wrote:
> >Some extra questions
> >
> >- Where is exactly is syskit in the sources?
> Syskit is being extracted out of orocos.rb. It currently lies in
> lib/orocos/roby in tools/orocos.rb
> >- I find a lot of documentation on the higher level composition and
> > configuration DSL, but nothing on the Configurator aspects. Pointers
> > appreciated.
> A "configuration" is
> http://www.rock-robotics.org/master/documentation/system/subsystem_desig...
>
> Basically, a single instance 'instance requirement' is a single
> configuration from syskit's point of view. Then, the 'configurator'
> is
>
> http://www.rock-robotics.org/master/api/tools/orocos.rb/Orocos/RobyPlugi...
>
> It is given a set of configurations (via 'add') and generates the
> corresponding component network. If a running system is there, it
> adapts it in the process.

Thanks!
Markus