Package: musl-dev
User: helm...@debian.org
Usertags: rebootstrap

Hi Reiner,

I've notices that musl lacks a #include <fts.h> that glibc provides. Of
course for every glibc header there is a user in Debian and it happens
that libselinux uses this. Obviously libselinux fails to build. Luckily,
we're not the first ones to notice this issue. All the other embedded
distros already know. Just why does musl lack it? The FAQ[1] has an
outdated answer. It's outdated, because glibc now provides fts64.
Anyway, the answer of other embedded distributions is a separate
musl-fts[2] that provides the missing functionality.

I see basically two options now. One is that src:musl includes musl-fts
and that musl-dev also provides musl-fts. That would make things most
simple, because we don't get into any bootstrap dependency weirdness nor
any other issues.

The other option is packaging musl-fts separately. New source package.
New binary package. fts.h users would likely have to depend on a new
libc-fts-dev virtual package provided by libc6-dev and musl-fts-dev.

Do you have any preference here? Can you take care of musl-fts?

I've asked musl developers for why musl-fts cannot be merged into musl
proper, but didn't receive an answer yet.

Helmut

[1] 
https://wiki.musl-libc.org/faq.html#Q:-Why-is-%3Ccode%3Efts.h%3C/code%3E-not-included?
[2] https://github.com/void-linux/musl-fts

Reply via email to