← Back to issue list

snapcraft fail

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1805581
Type
issue
State
closed
Author
~temasek
Labels
—
Created
Updated
Closed

Current evaluation

User-reported catkin plugin failure ("Unable to find Catkin package roscpp_tutorials") on snapcraft 2.43.1. Closed stale by ~mr-cal on 2026-10-02; no fix was made.

Resolution: closed stale

Reason: Maintainer ~mr-cal closed the bug with no code change, noting "Closing as stale - ros plugins have changed significantly since this bug report." The ROS/catkin plugins have since moved out of snapcraft core in commit 38996d538 (PR #2984), so the reported snapcraft 2.43.1 behaviour no longer applies.

Evaluated by: mr-cal-bot

No scores available.

Issue body

ERROR: Rosdep cannot find all required resources to answer your query Missing resource roscpp_tutorials ROS path [0]=/home/temasek/catkin_ws/parts/workspace/src/src Sorry, an error occurred in Snapcraft: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/snapcraft/plugins/_ros/rosdep.py", line 127, in get_dependencies output = self._run(command).strip() File "/usr/lib/python3/dist-packages/snapcraft/plugins/_ros/rosdep.py", line 210, in _run subprocess.check_output(["rosdep"] + arguments, env=env) File "/usr/lib/python3.5/subprocess.py", line 626, in check_output **kwargs).stdout File "/usr/lib/python3.5/subprocess.py", line 708, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['rosdep', 'keys', 'roscpp_tutorials']' returned non-zero exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/snapcraft", line 9, in <module> load_entry_point('snapcraft==2.43.1', 'console_scripts', 'snapcraft')() File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 696, in main rv = self.invoke(ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 1037, in invoke return Command.invoke(self, ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 889, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke return callback(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/usr/lib/python3/dist-packages/snapcraft/cli/_runner.py", line 93, in run ctx.forward(lifecyclecli.commands["snap"]) File "/usr/lib/python3/dist-packages/click/core.py", line 552, in forward return self.invoke(cmd, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke return callback(*args, **kwargs) File "/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py", line 136, in snap project = _execute(steps.PRIME, parts=[], **kwargs) File "/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py", line 35, in _execute lifecycle.execute(step, project_config, parts) File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_runner.py", line 90, in execute executor.run(step, part_names) File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_runner.py", line 194, in run self._handle_step(part_names, part, step, current_step, cli_config) File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_runner.py", line 208, in _handle_step getattr(self, "_run_{}".format(current_step.name))(part) File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_runner.py", line 250, in _run_pull self._run_step(step=steps.PULL, part=part, progress="Pulling") File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_runner.py", line 327, in _run_step getattr(part, step.name)() File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/__init__.py", line 415, in pull self._runner.pull() File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/_runner.py", line 83, in pull "override-pull", self._override_pull_scriptlet, self._sourcedir File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/_runner.py", line 162, in _run_scriptlet scriptlet_name, function_call.strip() File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/_runner.py", line 218, in _handle_builtin_function function(**function_args) File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/__init__.py", line 435, in _do_pull self.plugin.pull() File "/usr/lib/python3/dist-packages/snapcraft/plugins/catkin.py", line 451, in pull self._setup_dependencies(rosdep, catkin) File "/usr/lib/python3/dist-packages/snapcraft/plugins/catkin.py", line 456, in _setup_dependencies self.catkin_packages, rosdep, catkin File "/usr/lib/python3/dist-packages/snapcraft/plugins/catkin.py", line 803, in _find_system_dependencies dependencies |= rosdep.get_dependencies(package) File "/usr/lib/python3/dist-packages/snapcraft/plugins/_ros/rosdep.py", line 134, in get_dependencies 'Unable to find Catkin package "{}"'.format(package_name) FileNotFoundError: Unable to find Catkin package "roscpp_tutorials" We would appreciate it if you created a bug report at https://launchpad.net/snapcraft/+filebug with the above text included.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale User-reported catkin plugin failure ("Unable to find Catkin package roscpp_tutorials") on snapcraft 2.43.1. Closed stale by ~mr-cal on 2026-10-02; no fix was made.
stealth/space-bunny-alpha
Impact: 45
Quick Win: 20
Complexity: 42
Confidence: 98
Actionability: 78
close resolved Snapcraft 2.43.1's Catkin build incorrectly sent workspace package roscpp_tutorials to rosdep; PR #2585 later fixed workspace dependency checking.
stealth/space-bunny-alpha
Impact: 50
Quick Win: 24
Complexity: 42
Confidence: 98
Actionability: 84
close resolved Snapcraft 2.43.1’s Catkin pull sent the workspace-local roscpp_tutorials package to rosdep, causing “Missing resource” and FileNotFoundError; merged PR #2585 later fixed workspace dependency checking.
qwen/qwen3.8-27b
Impact: 10
Quick Win: 8
Staleness: 95
Complexity: 20
Confidence: 75
Support Request: 50
close stale Snapcraft 2.43.1 catkin plugin crash: rosdep cannot find key for roscpp_tutorials, raising FileNotFoundError during pull. 2834 days old, zero comments, no labels; the catkin plugin no longer exists in modern snapcraft.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 95
Support Request: 10
close stale Snapcraft ROS/catkin plugin fails with FileNotFoundError for roscpp_tutorials. Issue is 7+ years old, uses deprecated Python 3.5 and snapcraft 2.43.1, with no maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 70
close stale 7-year-old report of a snapcraft ROS build failure caused by a missing catkin package. No maintainer response. The snapcraft ROS plugin and build environment have significantly changed, making this report obsolete.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 35
Confidence: 92
Support Request: 10
close stale Snapcraft ROS/catkin plugin fails to resolve roscpp_tutorials dependency during build. Issue is 7+ years old with no maintainer response or labels.

Update history

Date Change
created

Related work

  • Related To: canonical/snapcraft#2984 (confidence 70%)

    Commit 38996d538 'plugins: move the existing plugin to a new package' removed the ROS plugins from snapcraft, rendering this old report obsolete.

  • Related To: canonical/snapcraft#2847 (confidence 55%)

    Commit 1d476f622 'catkin plugin: consider only local workspaces' changed workspace/dependency detection behaviour in the area that produced this error.

  • Related To: canonical/snapcraft#2833 (confidence 45%)

    Commit 949f90946 'remove rospack workaround now that rosdep -i works' is another catkin/rosdep workspace discovery change after the reported version.

Related issues

Issue Project State Summary Similarity
#1866718 Snapcraft ROS plugins should be using catkin_pkg instead of fetching all deps with rosdep snapcraft (launchpad) closed Closed as stale without implementation; maintainer ~mr-cal closed it on 2026-07-24 after the ROS 1 plugin proposal remained dormant.
74%
#4300 snapcraft fails for python projects if there is no setup.py snapcraft closed Closed as stale in April 2025 without a Snapcraft fix. The reproducer declared bin/cos-alerter, but its packaging metadata did not define a console script; no resolving PR or commit was linked.
70%