ros-infrastructure / buildfarm

Build scripts and notes for catkin debian build pipeline.
6 stars 15 forks source link

Fix source build #162

Closed trainman419 closed 10 years ago

trainman419 commented 10 years ago

This fixes source builds so that they work on 13.10, and so that the source build job fails if the generate_sourcedeb step exits nonzero.

trainman419 commented 10 years ago

This seems to work for GBP repos based on a single-pacgage repo, but breaks on GBP repos based on multi-package repos.

Further investigation in: https://github.com/ros-infrastructure/bloom/issues/211

tfoote commented 10 years ago

Yeah, I reverted the changes to generate_sourcedeb

It failed with these errors: http://jenkins.ros.org/job/ros-hydro-segbot-bringup_sourcedeb/115/console

 dpkg-source -i -I -b ros-hydro-segbot-bringup-0.1.9
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building ros-hydro-segbot-bringup using existing ./ros-hydro-segbot-bringup_0.1.9.orig.tar.gz
dpkg-source: warning: ignoring deletion of file README.md
dpkg-source: warning: ignoring deletion of directory segbot_description
dpkg-source: warning: ignoring deletion of file segbot_description/package.xml
dpkg-source: warning: ignoring deletion of file segbot_description/CHANGELOG.rst
dpkg-source: warning: ignoring deletion of file segbot_description/CMakeLists.txt
dpkg-source: warning: ignoring deletion of directory segbot_description/test
dpkg-source: warning: ignoring deletion of file segbot_description/test/test.sh
dpkg-source: warning: ignoring deletion of file segbot_description/test/segbot_chassis.test.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/test/hokuyo_mount.test.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/test/kinect_mount.test.xacro
dpkg-source: warning: ignoring deletion of directory segbot_description/urdf
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/segbot_base.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/segbot_chassis.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/segbot_wheel.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/common.urdf.xacro
dpkg-source: warning: ignoring deletion of directory segbot_description/urdf/components
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/components/laptop.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/components/beam_8020.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/components/aluminium_sheet.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/components/standoff_632.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/components/battery_box.urdf.xacro
dpkg-source: warning: ignoring deletion of directory segbot_description/urdf/mounts
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/mounts/kinect_mount.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/mounts/hokuyo_mount.urdf.xacro
dpkg-source: warning: ignoring deletion of directory segbot_description/urdf/sensors
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/sensors/hokuyo_04lx_laser.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/sensors/kinect_camera.gazebo.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/sensors/kinect_camera.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/urdf/sensors/hokuyo_04lx_laser.gazebo.xacro
dpkg-source: warning: ignoring deletion of directory segbot_description/gazebo
dpkg-source: warning: ignoring deletion of file segbot_description/gazebo/segbot.gazebo.xacro
dpkg-source: warning: ignoring deletion of directory segbot_description/meshes
dpkg-source: warning: ignoring deletion of file segbot_description/meshes/rmp50-left-wheel.dae
dpkg-source: warning: ignoring deletion of file segbot_description/meshes/rmp50-castor-wheel.dae
dpkg-source: warning: ignoring deletion of file segbot_description/meshes/hokuyo.png
dpkg-source: warning: ignoring deletion of file segbot_description/meshes/rmp50-base-link.dae
dpkg-source: warning: ignoring deletion of file segbot_description/meshes/rmp50-castor-link.dae
dpkg-source: warning: ignoring deletion of file segbot_description/meshes/rmp50-right-wheel.dae
dpkg-source: warning: ignoring deletion of file segbot_description/meshes/hokuyo.dae
dpkg-source: warning: ignoring deletion of directory segbot_description/robots
dpkg-source: warning: ignoring deletion of file segbot_description/robots/segbot_hokuyo.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/robots/segbot_navigation.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/robots/segbot_kinect.urdf.xacro
dpkg-source: warning: ignoring deletion of file segbot_description/robots/segbot.urdf.xacro
dpkg-source: warning: ignoring deletion of directory rosinstall
dpkg-source: warning: ignoring deletion of file rosinstall/segbot.rosinstall
dpkg-source: warning: ignoring deletion of directory segbot_sensors
dpkg-source: warning: ignoring deletion of file segbot_sensors/package.xml
dpkg-source: warning: ignoring deletion of file segbot_sensors/segbot_sensors_plugins.xml
dpkg-source: warning: ignoring deletion of file segbot_sensors/CHANGELOG.rst
dpkg-source: warning: ignoring deletion of file segbot_sensors/CMakeLists.txt
dpkg-source: warning: ignoring deletion of directory segbot_sensors/config
dpkg-source: warning: ignoring deletion of file segbot_sensors/config/hokuyo_filters.yaml
dpkg-source: warning: ignoring deletion of file segbot_sensors/config/kinect_filters.yaml
dpkg-source: warning: ignoring deletion of directory segbot_sensors/test
dpkg-source: warning: ignoring deletion of file segbot_sensors/test/named-kinect-ns.launch
dpkg-source: warning: ignoring deletion of file segbot_sensors/test/named-hokuyo-ns.launch
dpkg-source: warning: ignoring deletion of directory segbot_sensors/include
dpkg-source: warning: ignoring deletion of directory segbot_sensors/include/segbot_sensors
dpkg-source: warning: ignoring deletion of file segbot_sensors/include/segbot_sensors/nan_to_inf_filter.h
dpkg-source: warning: ignoring deletion of file segbot_sensors/include/segbot_sensors/footprint_filter.h
dpkg-source: warning: ignoring deletion of directory segbot_sensors/rviz
dpkg-source: warning: ignoring deletion of file segbot_sensors/rviz/sensors.rviz
dpkg-source: warning: ignoring deletion of directory segbot_sensors/launch
dpkg-source: warning: ignoring deletion of file segbot_sensors/launch/rviz.launch
dpkg-source: warning: ignoring deletion of directory segbot_sensors/launch/hokuyo
dpkg-source: warning: ignoring deletion of file segbot_sensors/launch/hokuyo/hokuyo-frames.launch
dpkg-source: warning: ignoring deletion of file segbot_sensors/launch/hokuyo/hokuyo.launch
dpkg-source: warning: ignoring deletion of file segbot_sensors/launch/hokuyo/hokuyo-filters.launch
dpkg-source: warning: ignoring deletion of directory segbot_sensors/launch/kinect
dpkg-source: warning: ignoring deletion of file segbot_sensors/launch/kinect/kinect-laserscan.launch
dpkg-source: warning: ignoring deletion of file segbot_sensors/launch/kinect/kinect.launch
dpkg-source: warning: ignoring deletion of file segbot_sensors/launch/kinect/kinect-filters.launch
dpkg-source: warning: ignoring deletion of directory segbot_sensors/launch/ptgrey
dpkg-source: warning: ignoring deletion of file segbot_sensors/launch/ptgrey/usbcam.launch
dpkg-source: warning: ignoring deletion of directory segbot_sensors/src
dpkg-source: warning: ignoring deletion of file segbot_sensors/src/segbot_sensors_filters.cpp
dpkg-source: warning: ignoring deletion of directory segbot_bringup
dpkg-source: warning: ignoring deletion of file segbot_bringup/package.xml
dpkg-source: warning: ignoring deletion of file segbot_bringup/CHANGELOG.rst
dpkg-source: warning: ignoring deletion of file segbot_bringup/CMakeLists.txt
dpkg-source: warning: ignoring deletion of directory segbot_bringup/scripts
dpkg-source: warning: ignoring deletion of file segbot_bringup/scripts/get_addr
dpkg-source: warning: ignoring deletion of file segbot_bringup/scripts/teleop_twist_keyboard
dpkg-source: warning: ignoring deletion of directory segbot_bringup/launch
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/segbot.launch
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/segbot_kinect_rgbd_scan.launch
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/segbot_hokuyo.launch
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/segbot_navigation.launch
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/segway_base.launch
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/segbot_kinect_scan.launch
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/segbot_kinect.launch
dpkg-source: warning: ignoring deletion of directory segbot_bringup/launch/includes
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/includes/auxiliary.segbot.launch.xml
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/includes/auxiliary.segbot_hokuyo.launch.xml
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/includes/auxiliary.segbot_navigation.launch.xml
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/includes/auxiliary.segbot_kinect.launch.xml
dpkg-source: warning: ignoring deletion of file segbot_bringup/launch/includes/auxiliary.segbot_kinect_scan.launch.xml
dpkg-source: warning: ignoring deletion of directory segbot
dpkg-source: warning: ignoring deletion of file segbot/package.xml
dpkg-source: warning: ignoring deletion of file segbot/CHANGELOG.rst
dpkg-source: warning: ignoring deletion of file segbot/CMakeLists.txt
dpkg-source: warning: executable mode 0775 of 'scripts/get_addr' will not be represented in diff
dpkg-source: warning: executable mode 0775 of 'scripts/teleop_twist_keyboard' will not be represented in diff
dpkg-source: warning: executable mode 0775 of 'launch/segbot.launch' will not be represented in diff
dpkg-source: warning: executable mode 0775 of 'launch/segbot_kinect_rgbd_scan.launch' will not be represented in diff
dpkg-source: warning: executable mode 0775 of 'launch/segbot_hokuyo.launch' will not be represented in diff
dpkg-source: warning: executable mode 0775 of 'launch/segbot_navigation.launch' will not be represented in diff
dpkg-source: warning: executable mode 0775 of 'launch/segway_base.launch' will not be represented in diff
dpkg-source: warning: executable mode 0775 of 'launch/segbot_kinect_scan.launch' will not be represented in diff
dpkg-source: warning: executable mode 0775 of 'launch/segbot_kinect.launch' will not be represented in diff
dpkg-source: info: local changes detected, the modified files are:
 ros-hydro-segbot-bringup-0.1.9/CHANGELOG.rst
 ros-hydro-segbot-bringup-0.1.9/CMakeLists.txt
 ros-hydro-segbot-bringup-0.1.9/launch/includes/auxiliary.segbot.launch.xml
 ros-hydro-segbot-bringup-0.1.9/launch/includes/auxiliary.segbot_hokuyo.launch.xml
 ros-hydro-segbot-bringup-0.1.9/launch/includes/auxiliary.segbot_kinect.launch.xml
 ros-hydro-segbot-bringup-0.1.9/launch/includes/auxiliary.segbot_kinect_scan.launch.xml
 ros-hydro-segbot-bringup-0.1.9/launch/includes/auxiliary.segbot_navigation.launch.xml
 ros-hydro-segbot-bringup-0.1.9/launch/segbot.launch
 ros-hydro-segbot-bringup-0.1.9/launch/segbot_hokuyo.launch
 ros-hydro-segbot-bringup-0.1.9/launch/segbot_kinect.launch
 ros-hydro-segbot-bringup-0.1.9/launch/segbot_kinect_rgbd_scan.launch
 ros-hydro-segbot-bringup-0.1.9/launch/segbot_kinect_scan.launch
 ros-hydro-segbot-bringup-0.1.9/launch/segbot_navigation.launch
 ros-hydro-segbot-bringup-0.1.9/launch/segway_base.launch
 ros-hydro-segbot-bringup-0.1.9/package.xml
 ros-hydro-segbot-bringup-0.1.9/scripts/get_addr
 ros-hydro-segbot-bringup-0.1.9/scripts/teleop_twist_keyboard
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/ros-hydro-segbot-bringup_0.1.9-0precise.diff.m0uCh8
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-buildpackage: error: dpkg-source -i -I -b ros-hydro-segbot-bringup-0.1.9 gave error exit status 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -d -us -uc -i -I -S failed