[Bug 51635] New: wine fails to build with glibc 2.34

WineHQ Bugzilla wine-bugs at winehq.org
Wed Aug 18 14:09:30 CDT 2021


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 at winehq.org
          Reporter: timo.gurr at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list