Jenkins error package directory 'src/scratch4robots' does not exist
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