← Back to issue list

snapcraft fail

View original Launchpad issue

Metadata

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

Current evaluation

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.

Suggested action: close stale

Reason: The issue is 2834 days old with no labels, no comments, and no maintainer interaction, and it targets snapcraft 2.43.1 (2020-era core18). The failing code path (snapcraft/plugins/catkin.py and snapcraft/plugins/_ros/rosdep.py) no longer exists — the current repo layout has no plugins/ directory at all, so the catkin plugin was removed and the reported crash is no longer applicable. The underlying error (rosdep missing the roscpp_tutorials key) also points to the reporter's workspace/environment rather than a snapcraft defect.

Impact: 10 Quick Win: 8.0 Staleness: 95 Complexity: 20 Confidence: 75 Support Request: 50

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
qwen/qwen3.8-27b
Impact: 10
Quick Win: 8.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 45
close stale Snapcraft ROS plugin fails to resolve roscpp_tutorials dependency via rosdep, causing a build crash. Issue is over 7 years old with no maintainer response.

Update history

No update history recorded yet.

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 without implementation. The proposal to replace rosdep with catkin_pkg for precise dependency parsing in Snapcraft ROS plugins was abandoned due to lack of activity.
75%
#1882996 Snapcraft 4.0.4 failed to load plugin: unknown plugin: 'catkin-tools' snapcraft (launchpad) closed Closed without resolution. The catkin-tools plugin failure in Snapcraft 4.0.4 was not addressed, indicating the issue was abandoned or superseded by upstream changes.
75%