Jenkins Build Issues - File INSTALL cannot find /obj-x86_64-linux-gnu
Still having trouble with building packages... This time, it seems that the issue is almost resolved, however. The build seems successful (as far as I can tell); however, the cmake_install.cmake
file causes make to fail. Does anyone see the issue?
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: ""
-- Installing: /tmp/buildd/ros-hydro-p2os-teleop-1.0.1-0raring-20130723-0625/debian/ros-hydro-p2os-teleop/opt/ros/hydro/share/p2os_teleop/cmake/p2os_teleop-msg-paths.cmake
CMake Error at cmake_install.cmake:40 (FILE):
file INSTALL cannot find
"/tmp/buildd/ros-hydro-p2os-teleop-1.0.1-0raring-20130723-0625/obj-x86_64-linux-gnu/devel/include/p2os_teleop".
make[1]: *** [install] Error 1
make[1]: Leaving directory `/tmp/buildd/ros-hydro-p2os-teleop-1.0.1-0raring-20130723-0625/obj-x86_64-linux-gnu'
dh_auto_install: make -j1 install DESTDIR=/tmp/buildd/ros-hydro-p2os-teleop-1.0.1-0raring-20130723-0625/debian/ros-hydro-p2os-teleop AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [binary] Error 29
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//19152 and its subdirectories
Process leaked file descriptors. See <a href="http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build">http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build</a> for more information
Build step 'Execute shell' marked build as failure
Build step 'Groovy Postbuild' marked build as failure
Build step 'Groovy Postbuild' marked build as failure
Description set:
Update: So I think I got it. The CMakeLists.txt file had some unnecessary stuff that made this a problem.
Weird, can you post an answer and accept for others who run into this?
Sorry to be unclear... It's still not working.