remote-build on Mac: NameError: name '_source_handler' is not defined
Metadata
Current evaluation
Abandoned without resolution. Reported a NameError in Snapcraft's remote-build on macOS during armhf builds. No fix or discussion was documented.
Suggested action: —
No scores available.
Issue body
I'm working on Mac OS 10.13.6 and want to snap a python script. To build it for amd64 is not a problem but now I want to build it for armhf. So I tried it with remote-build:
snapcraft remote-build --build-on=armhf
All data sent to remote builders will be publicly available. Are you sure you want to continue? [y/N]: y
snapcraft remote-build is experimental and is subject to change - use with caution.
Sorry, an error occurred in Snapcraft:
name '_source_handler' is not defined
Traceback (most recent call last):
File "/usr/local/bin/snapcraft", line 8, in <module>
sys.exit(run())
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/snapcraft/cli/remote.py", line 161, in remote_build
package_all_sources=package_all_sources,
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/snapcraft/cli/remote.py", line 188, in _start_build
repo_dir = wt.prepare_repository()
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/snapcraft/internal/remote_build/_worktree.py", line 322, in prepare_repository
part_config = self._process_part_sources(part_name, part_config)
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/snapcraft/internal/remote_build/_worktree.py", line 241, in _process_part_sources
part_config["source"] = self._pull_source(part_name, source)
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/snapcraft/internal/remote_build/_worktree.py", line 163, in _pull_source
source_handler = self._get_part_source_handler(part_name, source, download_dir)
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/snapcraft/internal/remote_build/_worktree.py", line 93, in _get_part_source_handler
source, source_type=source_type
File "/usr/local/Cellar/snapcraft/3.11/libexec/lib/python3.7/site-packages/snapcraft/internal/sources/__init__.py", line 170, in get_source_handler
return _source_handler[source_type]
NameError: name '_source_handler' is not defined
We would appreciate it if you created a bug report at
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned without resolution. Reported a NameError in Snapcraft's remote-build on macOS during armhf builds. No fix or discussion was documented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. The remote-build NameError on macOS was abandoned or superseded by newer snapcraft versions. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1876123 remote-build failed | snapcraft (launchpad) | closed | A snapcraft remote-build crash causing a NoneType error was closed without resolution or further discussion, indicating abandonment. No fix or merge details were provided. |