musl libc support
Bug #1862666 reported by
Chris Patterson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
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-
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/
bind-file: $SNAP/lib/
To post a comment you must log in.