Ask Your Question
0

Skip package for release on ARM [closed]

asked 2018-03-08 12:10:51 -0500

dpkoch gravatar image

I have a repository that contains a metapackage and several packages. One of those packages is a simulation package and provides some gazebo plugins, and so depends on the gazebo_plugins package.

I am releasing this set of packages through the buildfarm, but the prerelease test fails for the ARM builds because the the gazebo_plugins package is not built for ARM. I can't simply skip the builds in my CMakeLists.txt using something like if (gazebo_plugins_FOUND) <build my plugins> endif(), because the prerelease test fails at the rosdep level with KeyError: "The cache has no package named 'ros-kinetic-gazebo-plugins'". So as long as gazebo_plugins is listed as a dependency in my package.xml, it's going to fail on the buildfarm.

My question is, how can I simply skip that package for the ARM builds on the buildfarm? This appears to be what is happening for the gazebo_plugins package; the Jenkins jobs for the ARM builds report their status as "Aborted." How can I replicate this behavior and abort just my simulation package for ARM while still building it for the other architectures, and while also building all my other packages for ARM? Or is anyone aware of a better solution?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dpkoch
close date 2018-03-12 14:33:12.693935

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-03-09 17:05:00 -0500

Dirk Thomas gravatar image

In general you can register any package to be blacklisted on e.g. ARM in the buildfarm configuration (see https://github.com/ros-infrastructure... , note that the files are on the production branch). That would disable the job in question.

In this specific case the problem with the dependencies originates from issues building OpenCV related packages on ARM. That should be a temporary problem and it is expected that this will be fixed in the (near) future. Therefore I would suggest to give it a little bit of time and hope it gets addressed. Then your package can get built for ARM too.

edit flag offensive delete link more

Comments

There was a regression in opencv that we rolled back gazebo_plugins is building successfully now on Kinetic. https://github.com/ros/rosdistro/pull...

tfoote gravatar imagetfoote ( 2018-03-12 12:36:04 -0500 )edit

This fixes my issues, my prerelease tests now run successfully. Thanks for the info.

dpkoch gravatar imagedpkoch ( 2018-03-12 14:30:18 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-03-08 12:10:51 -0500

Seen: 55 times

Last updated: Mar 09 '18