And since USE=client-libs is masked for all mysql server flavours, it's now impossible to run a mysql-compatible server on musl.
Please attach a full build.log of your error
Created attachment 542892 [details] build.log
Trying to fix it based on https://github.com/mysql/mysql-server/commit/a0f6a1453ec33c5c9dd5e6be24934c46f55805e3 but no luck so far.
Created attachment 544420 [details, diff] ugly attempt to fix the problem With this patch it compiles, but there's probably a better way to fix the `error: unknown type name ‘sigval’` I get when using the original timer_notify_thread_func code from https://github.com/mysql/mysql-server/blob/8.0/mysys/posix_timers.cc
Version 6.1.11 no longer in tree, newer versions have a different problem for which a bug already exists. Please