https://bugs.winehq.org/show_bug.cgi?id=50985
Bug ID: 50985 Summary: ns_name_skip is glibc specific, causes failure to build on musl Product: Wine Version: 6.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dnsapi Assignee: wine-bugs@winehq.org Reporter: abenson+winehq@gmail.com Distribution: ---
6.6 introduced a reliance on glibc-specific calls in dlls/dnsapi/libresolv.c in commit 5f44c46164a5c0c50fffdf6cda9980a74079e1ac.
Specifically, musl does not implement ns_name_skip, and the library fails at link time.
https://bugs.winehq.org/show_bug.cgi?id=50985
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- (In reply to Andrew Benson from comment #0)
6.6 introduced a reliance on glibc-specific calls in dlls/dnsapi/libresolv.c in commit 5f44c46164a5c0c50fffdf6cda9980a74079e1ac.
It's not glibc specific. macOS and Android also have this export.
Specifically, musl does not implement ns_name_skip, and the library fails at link time.
musl does export ns_initparse, ns_parserr and ns_name_uncompress. It would be nice if ns_name_skip could be added. Alternatively we could reimplement the function.
https://bugs.winehq.org/show_bug.cgi?id=50985
--- Comment #2 from Hans Leidekker hans@meelstraat.net --- Created attachment 69818 --> https://bugs.winehq.org/attachment.cgi?id=69818 Work around missing ns_name_skip
https://bugs.winehq.org/show_bug.cgi?id=50985
--- Comment #3 from Andrew Benson abenson+winehq@gmail.com --- Created attachment 69819 --> https://bugs.winehq.org/attachment.cgi?id=69819 Partial failure log
https://bugs.winehq.org/show_bug.cgi?id=50985
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |fgouget@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=50985
Craig Andrews candrews@integralblue.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |candrews@integralblue.com
https://bugs.winehq.org/show_bug.cgi?id=50985
Ismael Luceno ismael@iodev.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ismael@iodev.co.uk
https://bugs.winehq.org/show_bug.cgi?id=50985
--- Comment #4 from Ismael Luceno ismael@iodev.co.uk --- It probably makes sense to add the missing function from the buildsystem using AC_REPLACE_FUNCS. I'm not familiar with the policies of the project though, does that make sense?
https://bugs.winehq.org/show_bug.cgi?id=50985
Alex Xu alex_y_xu@yahoo.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alex_y_xu@yahoo.ca
--- Comment #5 from Alex Xu alex_y_xu@yahoo.ca --- since https://source.winehq.org/git/wine.git/commitdiff/d193c164b78a77570960a6fea5... i think this function is not used anymore, so this can be closed?
https://bugs.winehq.org/show_bug.cgi?id=50985
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |d193c164b78a77570960a6fea58 | |9a3ccb3f080b6
--- Comment #6 from Hans Leidekker hans@meelstraat.net --- (In reply to Alex Xu from comment #5)
since https://source.winehq.org/git/wine.git/commitdiff/ d193c164b78a77570960a6fea589a3ccb3f080b6 i think this function is not used anymore, so this can be closed?
Correct.
https://bugs.winehq.org/show_bug.cgi?id=50985
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.23.