ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Jenkins Debian building fails [closed]

asked 2013-06-21 05:22:51 -0600

allenh1 gravatar image

updated 2013-06-21 09:08:26 -0600

Jenkins is having some trouble with building my code... Here is the console output:

I: user script /var/cache/pbuilder/build//2275/tmp/hooks/A50stamp finished
I: Running cd tmp/buildd/*/ && env PATH="/usr/lib/ccache:/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc  "-b" -rfakeroot
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package ros-hydro-p2os-driver
dpkg-buildpackage: source version 1.0.0-0precise-20130621-1904-+0000
dpkg-buildpackage: source changed by root <root@host169.storm.willowgarage.com>
 dpkg-source --before-build ros-hydro-p2os-driver-1.0.0-0precise-20130621-1904
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh  clean
   dh_testdir
Unknown option: buildsystem
dh_testdir: warning: ignored unknown options in DH_OPTIONS
   dh_auto_clean
   dh_clean
Unknown option: buildsystem
dh_clean: warning: ignored unknown options in DH_OPTIONS
    rm -f debian/ros-hydro-p2os-driver.substvars
    rm -f debian/ros-hydro-p2os-driver.*.debhelper
    rm -rf debian/ros-hydro-p2os-driver/
    rm -f debian/*.debhelper.log
    rm -f debian/files
    find .  \( \( -type f -a \
            \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
         -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
         -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
         -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
        \) -exec rm -f {} \; \) -o \
        \( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
    rm -f *-stamp
 debian/rules build
dh  build
   dh_testdir
Unknown option: buildsystem
dh_testdir: warning: ignored unknown options in DH_OPTIONS
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/tmp/buildd/ros-hydro-p2os-driver-1.0.0-0precise-20130621-1904'
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it.  It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/hydro/setup.sh" ]; then . "/opt/ros/hydro/setup.sh"; fi && \
    dh_auto_configure -- \
        -DCATKIN_BUILD_BINARY_PACKAGE="1" \
        -DCMAKE_INSTALL_PREFIX="/opt/ros/hydro" \
        -DCMAKE_PREFIX_PATH="/opt/ros/hydro"
    mkdir -p obj-x86_64-linux-gnu
    cd obj-x86_64-linux-gnu
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCATKIN_BUILD_BINARY_PACKAGE=1 -DCMAKE_INSTALL_PREFIX=/opt/ros/hydro -DCMAKE_PREFIX_PATH=/opt/ros/hydro
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/gcc
-- Check for working C compiler: /usr/lib/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CATKIN_DEVEL_PREFIX: /tmp/buildd/ros-hydro-p2os-driver-1.0.0-0precise-20130621-1904/obj-x86_64-linux-gnu/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/hydro
-- This workspace overlays: /opt/ros/hydro
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found gtest sources under '/usr/src/gtest': gtests ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by allenh1
close date 2013-06-24 03:21:22

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-06-21 09:53:38 -0600

fergs gravatar image

updated 2013-06-21 09:56:03 -0600

About midway down, you have this error:

/tmp/buildd/ros-hydro-p2os-driver-1.0.0-0precise-20130621-1904/include/p2os.h:36:31: fatal error: nav_msgs/Odometry.h: No such file or directory

I don't see a build_depend on nav_msgs in the package.xml for p2os_driver, nor is it in your find_package(catkin DEPENDS ... ). I would add it to both of those places.

Also, you probably want to add:

add_dependencies(p2os_driver nav_msgs_gencpp)

To your CMakeLists.txt so that if someone is building nav_msgs in the same catkin workspace as the p2os driver everything will still work ok.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-21 05:22:51 -0600

Seen: 922 times

Last updated: Jun 21 '13