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

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

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

carrionvs gravatar image

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

gvdhoorn gravatar image

Hi,

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:

http://wiki.ros.org/scratch4robots

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   
23:36:05   execute_process(/tmp/binarydeb/ros-kinetic-scratch4robots-0.0.1/obj-x86_64-linux-gnu/catkin_generated/python_distutils_install.sh)
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   
23:36:05 
23:36:05 
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/binarydeb_job.py", line 138, in build_binarydeb
23:36:06     subprocess.check_call(cmd, cwd=source_dir)
23:36:06   File "/usr/lib/python3.5/subprocess.py", 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
23:36:06 # END SUBSECTION

here is the source code: scratch4robots

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

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

tfoote gravatar image

I'm assuming that you're having trouble with the binary builds like this one: http://build.ros.org/job/Kbin_uX64__s...

Because it looks like you've resolved the issue in your continuous integration devel job here: http://build.ros.org/job/Kdev__scratc...

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. http://wiki.ros.org/bloom/Tutorials/R...

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 898 times

Last updated: Jun 20 '18