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

Jenkins error package directory 'src/scratch4robots' does not exist

asked 2018-06-19 16:27:00 -0500

carrionvs gravatar image

updated 2018-06-20 02:00:49 -0500

gvdhoorn gravatar image


First of all, I'm very new in the development with ros, I'm trying to get my first ros package in the official repositories:

I'm a bit stuck with the issue of passing the ROS integration tests, There are several Jenkins jobs that I am not able to pass successfully.

To put in context the problem comes from trying to install the python modules that I have under the scratch4robots/src/scratch4robots folder.

but continuously I have the same error : error: package directory 'src/scratch4robots' does not exist

Here is the complete tracktrace:

23:36:05 running build_py
23:36:05 error: package directory 'src/scratch4robots' does not exist
23:36:05 CMake Error at catkin_generated/safe_execute_install.cmake:4 (message):
23:36:05   execute_process(/tmp/binarydeb/ros-kinetic-scratch4robots-0.0.1/obj-x86_64-linux-gnu/catkin_generated/
23:36:05   returned error code
23:36:05 Call Stack (most recent call first):
23:36:05   cmake_install.cmake:36 (include)
23:36:05 make[2]: *** [install] Error 1
23:36:05 Makefile:64: recipe for target 'install' failed
23:36:05 make[2]: Leaving directory '/tmp/binarydeb/ros-kinetic-scratch4robots-0.0.1/obj-x86_64-linux-gnu'
23:36:05 dh_auto_install: make -j1 install DESTDIR=/tmp/binarydeb/ros-kinetic-scratch4robots-0.0.1/debian/ros-kinetic-scratch4robots AM_UPDATE_INFO_DIR=no returned exit code 2
23:36:05    cd /tmp/binarydeb/ros-kinetic-scratch4robots-0.0.1
23:36:05 make[1]: *** [override_dh_auto_install] Error 2
23:36:05 debian/rules:57: recipe for target 'override_dh_auto_install' failed
23:36:05 make[1]: Leaving directory '/tmp/binarydeb/ros-kinetic-scratch4robots-0.0.1'
23:36:05 make: *** [binary] Error 2
23:36:05 debian/rules:22: recipe for target 'binary' failed
23:36:05 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
23:36:05 E: Building failed
23:36:06 Traceback (most recent call last):
23:36:06   File "/tmp/ros_buildfarm/ros_buildfarm/", line 138, in build_binarydeb
23:36:06     subprocess.check_call(cmd, cwd=source_dir)
23:36:06   File "/usr/lib/python3.5/", line 581, in check_call
23:36:06     raise CalledProcessError(retcode, cmd)
23:36:06 subprocess.CalledProcessError: Command '['apt-src', 'build', 'ros-kinetic-scratch4robots']' returned non-zero exit status 1

here is the source code: scratch4robots


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-19 17:47:41 -0500

tfoote gravatar image

I'm assuming that you're having trouble with the binary builds like this one:

Because it looks like you've resolved the issue in your continuous integration devel job here:

However the binary builds are based on the last released version in the rosdistro. So to resolve the binary builds you need to tag a new release and rerun bloom on it.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-06-19 16:27:00 -0500

Seen: 856 times

Last updated: Jun 20 '18