<div dir="ltr">HI Russell, <div><br></div><div>The first answer is yes, if you need sudo you need to add it as a dependency.  The builds on the farm will only build with your declared dependencies. The prerelease has a minimal bootstrap which gives you command line capabilities for debugging presumably includes sudo for that purpose.)  You will probably also want to add a build-depend rosdep rule for libcap2-bin to make sure the setcap is installed.  </div>

<div>
<br></div><div>While looking at this, do you know if setcap is portable across machines, aka if executed on the build machine will the attributes persist through the debian install process? </div><div><br></div><div style>

Tully</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 17, 2013 at 5:56 AM, Toris, Russell Charles <span dir="ltr"><<a href="mailto:rctoris@wpi.edu" target="_blank">rctoris@wpi.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good Morning ROS Releasers-<br>
<br>
I'm working on getting the core youBot drivers and libraries into the build system. As part of the build process, it is necessary to run setcap on a few executables that we are compiling (see <a href="https://github.com/WPI-RAIL/youbot_driver/blob/groovy-devel/src/testing/CMakeLists.txt#L26-L28" target="_blank">https://github.com/WPI-RAIL/youbot_driver/blob/groovy-devel/src/testing/CMakeLists.txt#L26-L28</a> for an example). As such, if someone is building this from source, this must be run as root.<br>


<br>
The package (youbot_driver) is passing the pre-release (<a href="http://jenkins.willowgarage.com:8080/job/prerelease-groovy-youbot_driver/ARCH_PARAM=amd64,UBUNTU_PARAM=precise,label=prerelease/3/" target="_blank">http://jenkins.willowgarage.com:8080/job/prerelease-groovy-youbot_driver/ARCH_PARAM=amd64,UBUNTU_PARAM=precise,label=prerelease/3/</a>) but is failing on the main build farm with the following error (full log at <a href="http://jenkins.willowgarage.com:8080/job/ros-groovy-youbot-driver_binarydeb_quantal_amd64/1/console" target="_blank">http://jenkins.willowgarage.com:8080/job/ros-groovy-youbot-driver_binarydeb_quantal_amd64/1/console</a>):<br>


<br>
<br>
/bin/sh: 1: sudo: not found<br>
<br>
Is it necessary to have to put 'sudo' in rosdep and list it as a dependency?<br>
<br>
Russell<br>
<br>
--<br>
Russell Toris<br>
Graduate Student | WPI Department of Computer Science<br>
<a href="mailto:rctoris@wpi.edu">rctoris@wpi.edu</a> | <a href="http://users.wpi.edu/~rctoris/" target="_blank">http://users.wpi.edu/~rctoris/</a><br>
<br>
<br>
_______________________________________________<br>
Ros-release mailing list<br>
<a href="mailto:Ros-release@code.ros.org">Ros-release@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-release" target="_blank">https://code.ros.org/mailman/listinfo/ros-release</a><br>
</blockquote></div><br></div>