Transition catkin plugin to use catkin build

Bug #1693380 reported by a
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Wishlist
Unassigned

Bug Description

The catkin plugin is currently using the catkin_make_isolated method to create the desired files needed for the snap. However, the current recommended method for constructing ros packages is using catkin build. Using catkin build would provide a more robust method for constructing the packages.

More information about the differences between make and build can be found here: https://catkin-tools.readthedocs.io/en/latest/migration.html

In the plugin source there are also some mentions of transitioning to catkin Tools.

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

I'm not sure I agree that catkin tools is the recommended method, as all of the tutorials still use catkin. However, I do agree that catkin tools might resolve some difficulties and make builds generally faster, we just need to introduce it either as a new plugin or behind a feature flag of some sort so we make sure no one is broken by the change.

Changed in snapcraft:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
a (annesteenbeek) wrote :

I think a flag would be most efficient since they are mutually exclusive anyways. I'l attempt to create a build implementation in the near future. Maybe implement it at first as default off, build tends to "break" some packages due to hidden bugs in cmake.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
status: Triaged → Fix Committed
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Note that we've gone with a new plugin (catkin-tools) in order to test the water. You can try it out using the snap in edge:

    $ sudo snap install snapcraft --edge --classic

Or you can wait for 2.36 to be released.

Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.