autotools plugin fails to build in classic confinement
Metadata
Current evaluation
Fixed classic-confinement builds broken by core-snapcraft library paths after a Xenial libc6 update; #2485 landed as commit a8fce1ae5, alongside #2484.
Resolution: closed resolved
Reason: The failures were traced to legacy core-snapcraft library paths causing gcc and make to segfault after libc6 changed. snapcore/snapcraft#2485 was merged as commit a8fce1ae5 to remove special LD_LIBRARY_FLAGS handling for classic confinement, alongside the related fix in #2484.
Evaluated by: mr-cal-bot
No scores available.
Issue body
How to reproduce:
Get the dosbox snapcraft.yaml from the official docs https://docs.snapcraft.io/c-c-applications/7817 and replace the confinement with "grade: stable" and "confinement: classic". Try then to build with "snapcraft cleanbuild"
The error you will get is:
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/root/build_dosbox/parts/dosbox/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
Failed to run './configure --prefix=' for 'dosbox': Exited with code 77.
Verify that the part is using the correct parameters and try again.
Error: not found
This bug is blocking MicroK8s from building.
Thank you.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed classic-confinement builds broken by core-snapcraft library paths after a Xenial libc6 update; #2485 landed as commit a8fce1ae5, alongside #2484. | |
| stealth/space-bunny-alpha | — | closed resolved | Classic builds failed from a libc6 conflict caused by obsolete core-snap library flags. Snapcraft removed this handling in merged PRs #2484 and #2485 (commit a8fce1ae5). | |
| stealth/space-bunny-alpha | — | closed stale | Autotools failed to build in classic confinement because GCC could not create executables; closed with no recorded fix or maintainer explanation. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The autotools plugin classic confinement build failure report received no comments or patches, indicating the issue was abandoned or superseded. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. The autotools plugin build failure in classic confinement remains unresolved and appears abandoned. No fix or patch was provided. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed and abandoned without resolution. The autotools plugin classic confinement build failure remains unaddressed due to lack of discussion or fix. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#2485
(confidence 99%)
Merged as commit a8fce1ae5, removing the special classic-confinement LD_LIBRARY_FLAGS handling identified as the root cause.
-
Likely Fixed By:
snapcore/snapcraft#2484
(confidence 95%)
Maintainer-linked as the initial fix for the core-snapcraft library-path breakage.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1665089 snapcraft 2.27 fails to build the mosh classic snap | snapcraft (launchpad) | closed | Resolved by snapcraft#1146, restoring reverted libc symlinks needed for classic-confinement builds such as mosh. Merged as commit 0f4872241. |