← Back to issue list

musl libc support

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1862666
Type
issue
State
open
Author
~cjp256
Labels
Created
Updated
Closed

Current evaluation

Maintainer-filed design note that snapcraft's gnu arch triplets and soname crawling don't handle musl libc (x86_64-linux-musl), causing unsatisfiable libc.musl-x86_64.so.1 errors; a layout workaround exists. No labels, comments, or activity in ~6.5 years.

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and zero comments in 2394 days, showing no triage or prioritisation despite being filed by a maintainer. It is an open-ended design question ('we should sort out the appropriate way to handle this case. There may be other gotchas') rather than a concrete bug, and I could not verify via repo inspection whether musl handling was later added, so a human should decide if it is still in scope. The body's layout workaround means it is not blocking for users, but there is no evidence it is obsolete, so closing is not justified.

Impact: 35 Quick Win: 8.75 Staleness: 92 Complexity: 75 Confidence: 55 Support Request: 10

Issue body

Snapcraft uses the "gnu" arch triplet (e.g. x86_64-linux-gnu), whereas musl reuires the "musl" triplet (e.g. x86_64-linux-musl). Users of musl libc will require a layout to wire up musl but it can be made to work with recent snapcraft, though will get an error: This part is missing libraries that cannot be satisfied with any available stage-packages known to snapcraft: - libc.musl-x86_64.so.1 Crawling for it probably doesn't work due to the soname format? Regardless, we should sort out the appropriate way to handle this case. There may be other gotchas. --- layout: /lib/ld-musl-x86_64.so.1: bind-file: $SNAP/lib/x86_64-linux-musl/libc.so

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 8.75
Staleness: 92
Complexity: 75
Confidence: 55
Support Request: 10
needs triage Maintainer-filed design note that snapcraft's gnu arch triplets and soname crawling don't handle musl libc (x86_64-linux-musl), causing unsatisfiable libc.musl-x86_64.so.1 errors; a layout workaround exists. No labels, comments, or activity in ~6.5 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 75
Confidence: 85
Support Request: 10
close stale Feature request to handle musl libc triplets and library resolution in Snapcraft. Untriaged, inactive for over six years with no maintainer feedback.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 60
Confidence: 85
Support Request: 10
close stale Request to add official support for musl libc in Snapcraft, which currently only supports gnu libc due to architecture triplet and library resolution differences. Unaddressed for over six years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 70
Confidence: 75
Support Request: 20
close stale Unaddressed report on missing musl libc triplet support and library crawling issues in Snapcraft. Zero maintainer interaction after over six years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 65
Confidence: 85
Support Request: 15
close stale Feature request regarding Snapcraft's lack of native musl libc support due to arch triplet differences. Issue is six years old, unlabelled, and has received no maintainer response or activity.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.