https://bugs.winehq.org/show_bug.cgi?id=51635
Bug ID: 51635 Summary: wine fails to build with glibc 2.34 Product: Wine Version: 6.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dnsapi Assignee: wine-bugs@winehq.org Reporter: timo.gurr@gmail.com Distribution: ---
Created attachment 70492 --> https://bugs.winehq.org/attachment.cgi?id=70492 build.log
wine fails to build on systems with glibc 2.34 with the following error (full build.log attached).
[...] /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: dlls/dnsapi/libresolv.o: in function `resolv_query': libresolv.c:(.text+0x80a): undefined reference to `ns_initparse' /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: libresolv.c:(.text+0x908): undefined reference to `ns_parserr' collect2: error: ld returned 1 exit status winegcc: /usr/bin/x86_64-pc-linux-gnu-cc failed [...]
From the release notes of glibc 2.34:
* Various rarely-used functions declared in <resolv.h> and <arpa/nameser.h> have been deprecated. Applications are encouraged to use dedicated DNS processing libraries if applicable. For <resolv.h>, this affects the functions dn_count_labels, fp_nquery, fp_query, fp_resstat, hostalias, loc_aton, loc_ntoa, p_cdname, p_cdnname, p_class, p_fqname, p_fqnname, p_option, p_query, p_rcode, p_time, p_type, putlong, putshort, res_hostalias, res_isourserver, res_nameinquery, res_queriesmatch, res_randomid, sym_ntop, sym_ntos, sym_ston. For <arpa/nameser.h>, the functions ns_datetosecs, ns_format_ttl, ns_makecanon, ns_parse_ttl, ns_samedomain, ns_samename, ns_sprintrr, ns_sprintrrf, ns_subdomain have been deprecated.
* Various symbols previously defined in libresolv have been moved to libc in order to prepare for libresolv moving entirely into libc (see earlier entry for merging libraries into libc). The symbols __dn_comp, __dn_expand, __dn_skipname, __res_dnok, __res_hnok, __res_mailok, __res_mkquery, __res_nmkquery, __res_nquery, __res_nquerydomain, __res_nsearch, __res_nsend, __res_ownok, __res_query, __res_querydomain, __res_search, __res_send formerly in libresolv have been renamed and no longer have a __ prefix. They are now available in libc.
Source: https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html
https://bugs.winehq.org/show_bug.cgi?id=51635
dura dura@duradsl.duckdns.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dura@duradsl.duckdns.org
https://bugs.winehq.org/show_bug.cgi?id=51635
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Thanks for reporting. I can confirm the issue. Send in a patch at https://source.winehq.org/patches/data/211914
https://bugs.winehq.org/show_bug.cgi?id=51635
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |a3bbf5137707abb548ff6428269 | |92b7069bef1de
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Fixed as of https://source.winehq.org/git/wine.git/commit/a3bbf5137707abb548ff642826992b...
https://bugs.winehq.org/show_bug.cgi?id=51635
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.16.
https://bugs.winehq.org/show_bug.cgi?id=51635
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=51635
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #4 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.3.