Package: d-shlibs Filename: /usr/bin/d-devlibdeps Version: 0.98 Severity: important Tags: patch Control: affects -1 + src:libzstd User: helm...@debian.org Usertags: rebootstrap
d-devlibdeps does not recognize musl as a C library, building libzstd fails: | devlibs error: There is no package matching [libclibc.so-dev] and noone provides it, please report bug to d-shlibs maintainer The mangling looks strange, but it may not be the worts aspect. In effect, it it fails the build. The following sed command fixes the issue: sed -i -e '/libc\>/a\ -e '"'"'s/libclibc\.so-dev//'"'"' \\' /usr/bin/d-devlibdeps Please consider applying it to the package. To reproduce the issue, please build libzstd in chroot hosting a musl-linux-any architecture such as musl-linux-i386. Unfortunately, no binary Debian packages are published for musl architectures at this time, so one has to bootstrap them. Cross building also reproduces the issue. Helmut