Failed Bootstrap on Ubuntu 12.04 with ROS packages

Hello,

Today, Mar 08, I tried to bootstrap orocos on Ubuntu 12.04, with ROS
already installed from the ubuntu packages on packages.ros.org:

$ cat /etc/apt/sources.list.d/ros-latest.list
deb http://packages.ros.org/ros/ubuntu precise main

I didn't pay proper attention and just selected defaults during the
bootstrap so I may have missed something, but when it completed, the
autogenerated orocos/env.sh was missing the actual pkgconfig directory
in the PKG_CONFIG_PATH variable.

Another machine that was bootstrapped on Jan 28 had an env.sh that had
the full set of paths.

I'm pretty sure it is related to the ROS fuerte packages being
installed on Mar 8 installation machine and not on the Jan 28
(working) one.

When I run autoproj build I get:

autoproj: building and installing packages
configured CMake for rtt
built rtt
installed rtt
ERROR: got an error doing parallel processing, waiting for pending jobs to end
configured CMake for ocl
Build failed
rtt_typelib(/home/awagner/planepower/extern/orocos/rtt_typelib):
failed in configure phase
'cmake -DCMAKE_INSTALL_PREFIX=/home/awagner/planepower/extern/orocos/install
-DCMAKE_MODULE_PATH=
/home/awagner/planepower/extern/orocos/rtt_typelib' returned status 1
see /home/awagner/planepower/extern/orocos/install/log/rtt_typelib-configure.log
for details
last 10 lines are:

include could not find load file:

/opt/ros/fuerte/ros/core/rosbuild/rosbuild.cmake

CMake Error at CMakeLists.txt:12 (rosbuild_init):
Unknown CMake command "rosbuild_init".

-- Configuring incomplete, errors occurred!

Here is the relevant part of the log file
/home/awagner/planepower/extern/orocos/install/log/rtt_typelib-configure.log:

Fri Mar 08 20:46:48 +0100 2013: running
cmake -DCMAKE_INSTALL_PREFIX=/home/awagner/planepower/extern/orocos/install
-DCMAKE_MODULE_PATH=
/home/awagner/planepower/extern/orocos/rtt_typelib
in directory /home/awagner/planepower/extern/orocos/rtt_typelib/build

Failed Bootstrap on Ubuntu 12.04 with ROS packages

Hi Andrew,

I think both issues are unrelated. I've pushed a fix for the
rtt_typelib, by not including ROS files at all. With catkin, this has
become deprecated even for ROS users.

For the PKG_CONFIG_PATH, It needs more investigation why it failed,
since this is generated by code which doesn't care/know about ROS at
all.

Peter

On Fri, Mar 8, 2013 at 11:23 PM, Andrew Wagner
<andrew [dot] wagner [..] ...> wrote:
> Hello,
>
> Today, Mar 08, I tried to bootstrap orocos on Ubuntu 12.04, with ROS
> already installed from the ubuntu packages on packages.ros.org:
>
> $ cat /etc/apt/sources.list.d/ros-latest.list
> deb http://packages.ros.org/ros/ubuntu precise main
>
> I didn't pay proper attention and just selected defaults during the
> bootstrap so I may have missed something, but when it completed, the
> autogenerated orocos/env.sh was missing the actual pkgconfig directory
> in the PKG_CONFIG_PATH variable.
>
> Another machine that was bootstrapped on Jan 28 had an env.sh that had
> the full set of paths.
>
> I'm pretty sure it is related to the ROS fuerte packages being
> installed on Mar 8 installation machine and not on the Jan 28
> (working) one.
>
> When I run autoproj build I get:
>
> autoproj: building and installing packages
> configured CMake for rtt
> built rtt
> installed rtt
> ERROR: got an error doing parallel processing, waiting for pending jobs to end
> configured CMake for ocl
> Build failed
> rtt_typelib(/home/awagner/planepower/extern/orocos/rtt_typelib):
> failed in configure phase
> 'cmake -DCMAKE_INSTALL_PREFIX=/home/awagner/planepower/extern/orocos/install
> -DCMAKE_MODULE_PATH=
> /home/awagner/planepower/extern/orocos/rtt_typelib' returned status 1
> see /home/awagner/planepower/extern/orocos/install/log/rtt_typelib-configure.log
> for details
> last 10 lines are:
>
> include could not find load file:
>
> /opt/ros/fuerte/ros/core/rosbuild/rosbuild.cmake
>
>
> CMake Error at CMakeLists.txt:12 (rosbuild_init):
> Unknown CMake command "rosbuild_init".
>
>
> -- Configuring incomplete, errors occurred!
>
> Here is the relevant part of the log file
> /home/awagner/planepower/extern/orocos/install/log/rtt_typelib-configure.log:
>
> Fri Mar 08 20:46:48 +0100 2013: running
> cmake -DCMAKE_INSTALL_PREFIX=/home/awagner/planepower/extern/orocos/install
> -DCMAKE_MODULE_PATH=
> /home/awagner/planepower/extern/orocos/rtt_typelib
> in directory /home/awagner/planepower/extern/orocos/rtt_typelib/build

Failed Bootstrap on Ubuntu 12.04 with ROS packages

Thanks Peter! I'll try it out, probably within a week.

On Sun, Mar 17, 2013 at 5:08 PM, Peter Soetens <peter [..] ...>wrote:

> Hi Andrew,
>
> I think both issues are unrelated. I've pushed a fix for the
> rtt_typelib, by not including ROS files at all. With catkin, this has
> become deprecated even for ROS users.
>
> For the PKG_CONFIG_PATH, It needs more investigation why it failed,
> since this is generated by code which doesn't care/know about ROS at
> all.
>
> Peter
>
> On Fri, Mar 8, 2013 at 11:23 PM, Andrew Wagner
> <andrew [dot] wagner [..] ...> wrote:
> > Hello,
> >
> > Today, Mar 08, I tried to bootstrap orocos on Ubuntu 12.04, with ROS
> > already installed from the ubuntu packages on packages.ros.org:
> >
> > $ cat /etc/apt/sources.list.d/ros-latest.list
> > deb http://packages.ros.org/ros/ubuntu precise main
> >
> > I didn't pay proper attention and just selected defaults during the
> > bootstrap so I may have missed something, but when it completed, the
> > autogenerated orocos/env.sh was missing the actual pkgconfig directory
> > in the PKG_CONFIG_PATH variable.
> >
> > Another machine that was bootstrapped on Jan 28 had an env.sh that had
> > the full set of paths.
> >
> > I'm pretty sure it is related to the ROS fuerte packages being
> > installed on Mar 8 installation machine and not on the Jan 28
> > (working) one.
> >
> > When I run autoproj build I get:
> >
> > autoproj: building and installing packages
> > configured CMake for rtt
> > built rtt
> > installed rtt
> > ERROR: got an error doing parallel processing, waiting for pending
> jobs to end
> > configured CMake for ocl
> > Build failed
> > rtt_typelib(/home/awagner/planepower/extern/orocos/rtt_typelib):
> > failed in configure phase
> > 'cmake
> -DCMAKE_INSTALL_PREFIX=/home/awagner/planepower/extern/orocos/install
> > -DCMAKE_MODULE_PATH=
> > /home/awagner/planepower/extern/orocos/rtt_typelib' returned status 1
> > see
> /home/awagner/planepower/extern/orocos/install/log/rtt_typelib-configure.log
> > for details
> > last 10 lines are:
> >
> > include could not find load file:
> >
> > /opt/ros/fuerte/ros/core/rosbuild/rosbuild.cmake
> >
> >
> > CMake Error at CMakeLists.txt:12 (rosbuild_init):
> > Unknown CMake command "rosbuild_init".
> >
> >
> > -- Configuring incomplete, errors occurred!
> >
> > Here is the relevant part of the log file
> >
> /home/awagner/planepower/extern/orocos/install/log/rtt_typelib-configure.log:
> >
> > Fri Mar 08 20:46:48 +0100 2013: running
> > cmake
> -DCMAKE_INSTALL_PREFIX=/home/awagner/planepower/extern/orocos/install
> > -DCMAKE_MODULE_PATH=
> > /home/awagner/planepower/extern/orocos/rtt_typelib
> > in directory /home/awagner/planepower/extern/orocos/rtt_typelib/build
> > -- The C compiler identification is GNU
> > -- The CXX compiler identification is GNU
> > -- Check for working C compiler: /usr/bin/gcc
> > -- Check for working C compiler: /usr/bin/gcc -- works
> > -- Detecting C compiler ABI info
> > -- Detecting C compiler ABI info - done
> > -- Check for working CXX compiler: /usr/bin/c++
> > -- Check for working CXX compiler: /usr/bin/c++ -- works
> > -- Detecting CXX compiler ABI info
> > -- Detecting CXX compiler ABI info - done
> > CMake Error at CMakeLists.txt:11 (include):
> > include could not find load file:
> >
> > /opt/ros/fuerte/ros/core/rosbuild/rosbuild.cmake
> >
> > CMake Error at CMakeLists.txt:12 (rosbuild_init):
> > Unknown CMake command "rosbuild_init".
> >
> > $ locate rosbuild.cmake
> > /opt/ros/fuerte/share/ros/core/rosbuild/rosbuild.cmake
> > /opt/ros/fuerte/stacks/driver_common/driver_base/rosbuild.cmake
> > /opt/ros/fuerte/stacks/driver_common/timestamp_tools/rosbuild.cmake
> > /opt/ros/fuerte/stacks/dynamic_reconfigure/rosbuild.cmake
> >
> > I suppose that first path is what the broken one should be changed to...
> >
> > $ rgrep /opt/ros/fuerte/ros/core/rosbuild/rosbuild.cmake .
> > ./rtt/install/log/rtt_typelib-configure.log:
> > /opt/ros/fuerte/ros/core/rosbuild/rosbuild.cmake
> > ./install/log/rtt_typelib-configure.log:
> > /opt/ros/fuerte/ros/core/rosbuild/rosbuild.cmake
> >
> > Anyone know what's going on here? Is the incomplete orocos/env.sh
> > related to the broken rtt_typelib build, or due to some other change
> > in orocos?
> > --
> > Orocos-Users mailing list
> > Orocos-Users [..] ...
> > http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>