← Back to issue list

autotools plugin crashes while running ./configure

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1661424
Type
issue
State
closed
Author
~juanrubio
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without resolution or comments. The autotools plugin crash during ./configure due to a missing Python interpreter was not fixed and appears abandoned.

Suggested action:

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
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

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3694 autotools v1 plugin: fix fatal crash when running autogen.sh or bootstrap snapcraft closed Superseded by pull request #3739. The autotools v1 plugin crash fix was closed without merging after three weeks of review inactivity.
72%
#1536700 autotools plugin doesn't call make snapcraft (launchpad) closed Closed without discussion, likely abandoned. The autotools plugin was reported to skip the make step before make install, causing build failures for some projects.
72%
#1817300 autotools plugin fails to build in classic confinement snapcraft (launchpad) closed Closed without documented resolution. No comments or patches were provided, indicating the issue was likely abandoned. The autotools plugin classic confinement build failure remains unresolved.
71%
#1882425 autotools plugin should still honour autogen.sh if present snapcraft (launchpad) closed Abandoned. The request for the autotools plugin v2 to preserve autogen.sh execution was closed without resolution, leaving the plugin to skip autogen.sh and run autoreconf directly.
71%
#11 Autotools doesn't work without autogen.sh snapcraft closed Closed as abandoned. Maintainer rejected the suggestion to replace autogen.sh with autoreconf, citing missing tests. No fix was implemented.
70%
#1507648 Autotools doesn't work without autogen.sh snapcraft (launchpad) closed Adding an autoreconf option instead of autogen.sh was closed without comments or resolution, indicating the feature request was abandoned. No build system changes were implemented.
70%