musl libc support

Bug #1862666 reported by Chris Patterson
6
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-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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.