autotools plugin crashes while running ./configure
Metadata
Current evaluation
Resolved by upgrading: the reporter confirmed the autotools configure crash was gone in Snapcraft 2.29 and requested closure.
Resolution: closed resolved
Reason: On 9 May 2017, the reporter retested with Snapcraft 2.29, confirmed that the crash no longer occurred, and explicitly requested closure. No specific fixing PR was identified.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Trying to create a snap of my project using this yaml file:
https://github.com/tizonia/tizonia-openmax-il/blob/master/tools/snapcraft.yaml
and running:
$ snapcraft -d snap
I get this crash:
configure.ac:20: installing './missing'
./configure --prefix= --silent --enable-silent-rules
./configure: line 15847: 5067 Aborted (core dumped) ( $am_cv_pathless_PYTHON -c "$prog" ) 1>&5 2>&5
configure: error: no suitable Python interpreter found
configure: error: ./configure failed for gmusic
configure: error: ./configure failed for clients
Traceback (most recent call last):
File "/usr/bin/snapcraft", line 31, in <module>
snapcraft.main.main()
File "/usr/lib/python3/dist-packages/snapcraft/main.py", line 236, in main
return run(args, project_options)
File "/usr/lib/python3/dist-packages/snapcraft/main.py", line 295, in run
lifecycle.snap(project_options, args['<directory>'], args['--output'])
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py", line 315, in snap
snap = execute('prime', project_options)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py", line 103, in execute
_Executor(config, project_options).run(step, part_names)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py", line 162, in run
self._run_step(step, part, part_names)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py", line 198, in _run_step
getattr(part, step)()
File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/__init__.py", line 402, in build
self.code.build()
File "/usr/lib/python3/dist-packages/snapcraft/plugins/autotools.py", line 125, in build
self.run(configure_command + self.options.configflags)
File "/usr/lib/python3/dist-packages/snapcraft/_baseplugin.py", line 183, in run
return common.run(cmd, cwd=cwd, **kwargs)
File "/usr/lib/python3/dist-packages/snapcraft/internal/common.py", line 72, in run
subprocess.check_call(['/bin/sh', f.name] + cmd, **kwargs)
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/bin/sh', '/tmp/tmpamil6irz', './configure', '--prefix=', '--silent', '--enable-silent-rules']' returned non-zero exit status 1
$ snap snapcraft --version
2.25
(Ubuntu 16.04.1 LTS)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Resolved by upgrading: the reporter confirmed the autotools configure crash was gone in Snapcraft 2.29 and requested closure. | |
| stealth/space-bunny-alpha | — | closed resolved | Autotools configure crash on Snapcraft 2.25 was confirmed resolved in Snapcraft 2.29; the reporter retested and explicitly requested closure. | |
| stealth/space-bunny-alpha | — | closed stale | Autotools configure crash reported against Snapcraft 2.25 was closed without comments, a fix, or a linked change; no verified resolution is recorded. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments or resolution. The autotools plugin crash during ./configure due to a missing Python interpreter appears abandoned or superseded by newer Snapcraft versions. No fix details provided. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. The autotools plugin crash during ./configure due to a missing Python interpreter was not fixed and appears abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without a fix, likely abandoned or resolved by upgrading snapcraft. The autotools plugin crashed due to a missing Python interpreter during ./configure. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3694 autotools v1 plugin: fix fatal crash when running autogen.sh or bootstrap | snapcraft | closed | Closed unmerged as superseded by snapcraft#3739, which merged the broader legacy-plugin Path-to-string fix in commit e4725e466. |