Snapcraft strips build ID
Metadata
Current evaluation
Snapcraft may strip GNU build IDs while PatchELF rewrites binaries, reportedly crashing Mesa's i965_dri.so; no-patchelf works around it, but the untriaged report lacks confirmation.
Suggested action: needs triage
Reason: The report identifies a concrete Mesa i965_dri.so crash and links a workaround PR, but provides no affected Snapcraft or base version, logs, or minimal reproducer. With no labels, comments, or maintainer response, and current code only showing build-ID parsing rather than proving preservation, the old report needs reassessment rather than closure based on age.
Evaluated by: mr-cal-bot
Impact:
48
Quick Win:
8
Complexity:
68
Confidence:
84
Actionability:
54
Issue body
New versions of Snapcraft appear to strip the build ID from installed or compiled binaries. This caused the i965_dri.so mesa driver to crash, as it apparently relies on a build-id for caching. Adding `build-attributes: [no-patchelf]` appears to fix the problem. More details here: https://github.com/MirServer/egmde-snap/pull/3
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
48
Quick Win:
8
Complexity:
68
Confidence:
84
Actionability:
54
|
needs triage | Snapcraft may strip GNU build IDs while PatchELF rewrites binaries, reportedly crashing Mesa's i965_dri.so; no-patchelf works around it, but the untriaged report lacks confirmation. | |
| stealth/space-bunny-alpha |
Impact:
48
Quick Win:
13
Complexity:
52
Confidence:
84
Actionability:
55
|
needs triage | Patchelf-based ELF patching reportedly removes GNU build IDs, crashing Mesa's i965 driver; no-patchelf works around it, but the report lacks versioned comparisons or maintainer triage. | |
| stealth/space-bunny-alpha |
Impact:
40
Quick Win:
9
Complexity:
60
Confidence:
88
Actionability:
58
|
needs triage | ELF build IDs reportedly stripped, crashing Mesa's i965_dri.so; no-patchelf workaround exists, but the report has no maintainer triage or confirmation of a full fix. | |
| stealth/space-bunny-alpha |
Impact:
42
Quick Win:
10
Complexity:
58
Confidence:
82
Actionability:
57
|
needs triage | Snapcraft reportedly removes ELF build IDs from patched binaries, crashing Mesa's i965_dri.so. Disabling patchelf is a reported workaround, but affected versions and a reproducer are missing. | |
| stealth/space-bunny-alpha |
Impact:
50
Quick Win:
10
Complexity:
63
Confidence:
82
Actionability:
56
|
needs triage | ELF build-ID loss during patching crashes Mesa’s i965_dri.so; no-patchelf works around it, but the unlabelled report still needs maintainer triage. | |
| qwen/qwen3.8-27b |
Impact:
50
Quick Win:
22
Staleness:
95
Complexity:
55
Confidence:
55
Support Request:
10
|
needs triage | Snapcraft's patchelf step strips the build ID from binaries, crashing the i965_dri mesa driver that relies on build-id for caching. Workaround is build-attributes: [no-patchelf]. No maintainer activity in 7+ years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
45
Confidence:
90
Support Request:
10
|
close stale | Reports Snapcraft stripping build IDs from binaries, causing mesa driver crashes. Suggests a workaround via build attributes. Unanswered for over 7 years with no maintainer engagement. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
35
Confidence:
90
Support Request:
15
|
close stale | Reports Snapcraft stripping build IDs from binaries, causing mesa driver crashes. Suggests no-patchelf workaround. Issue is over 7 years old with no maintainer response or updates. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
35
Confidence:
90
Support Request:
15
|
close stale | Reports Snapcraft stripping build IDs from binaries, causing driver crashes. Suggests a workaround. Unaddressed for over 7 years with no maintainer interaction. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
egmde-snap#3
(confidence 98%)
Explicitly linked for details; adding no-patchelf is reported to avoid the i965_dri.so crash.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1761598 Snapcraft modifies binaries | snapcraft (launchpad) | closed | Closed as expected behavior: Snapcraft 2.39+ intentionally rewrites classic-snap ELF binaries; use build-attributes: [no-patchelf] to preserve them. |