Ask Your Question

Jenkins Build Issues - File INSTALL cannot find /obj-x86_64-linux-gnu

asked 2013-07-23 03:50:49 -0600

allenh1 gravatar image

updated 2013-07-23 05:58:03 -0600

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

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=""></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.

edit retag flag offensive close merge delete


Weird, can you post an answer and accept for others who run into this?

William gravatar image William  ( 2013-07-23 10:28:03 -0600 )edit

Sorry to be unclear... It's still not working.

allenh1 gravatar image allenh1  ( 2013-07-23 10:29:25 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-23 10:50:03 -0600

William gravatar image

updated 2013-09-14 22:30:00 -0600

Evgeny gravatar image

I am looking at your repository and packages here:

A few things:

  • remove all mainpage.dox (this is for rosbuild only)
  • remove all manifest.xml (this is for rosbuild only)
  • remove all instances of these lines: (this was a hold over from rosbuild and should not be used anymore)

Example below.

# set the default path for built executables to the "bin" directory
# set the default path for built libraries to the "lib" directory

Specifically for p2os_teleop, you call generate_messages but never declare any messages, you should remove that macro call. I think that will fix the above issue. I opened a ticket to get a better error message here:

edit flag offensive delete link more


Thank you much!!! Worked like a charm.

allenh1 gravatar image allenh1  ( 2013-07-23 15:11:30 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-07-23 03:50:49 -0600

Seen: 947 times

Last updated: Sep 14 '13