← Back to issue list

Snapcraft strips build ID

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1831111
Type
issue
State
open
Author
~sophie-w
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action: needs triage

Reason: No labels, no comments, no maintainer interaction in 2650 days, so it has never been triaged. The issue is a real bug (build-id stripping breaks mesa driver caching) with a known workaround (no-patchelf), but I could not verify via tools whether the patchelf/build-id behavior still exists in current snapcraft or craft-parts, so I cannot confirm it is stale or already fixed. A maintainer should check whether patchelf still strips build-id and whether no-patchelf remains the correct workaround before deciding to close or keep open.

Impact: 50 Quick Win: 22.5 Staleness: 95 Complexity: 55 Confidence: 55 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 50
Quick Win: 22.5
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 30
Confidence: 85
Support Request: 20
close stale Snapcraft strips build IDs from binaries, causing mesa driver crashes. Suggests using the no-patchelf build attribute. Unaddressed for over seven years with no maintainer interaction.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.