FTBFS with glibc 2.34
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dnsdbq |
Fix Released
|
Unknown
|
|||
dnsdbq (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
dnsdbq is FTBFSing when compiled against glibc 2.34:
asinfo.c: In function ‘asinfo_from_dns’:
asinfo.c:194:17: error: ‘__p_rcode’ is deprecated [-Werror=
194 | return p_rcode(rcode);
| ^~~~~~
In file included from asinfo.c:33:
/usr/include/
259 | const char * p_rcode (int) __THROW __RESOLV_
| ^~~~~~~
cc1: all warnings being treated as errors
This is happening because glibc 2.34 deprecated quite a few functions from resolv.h (libresolv), according to their announcement at https:/
* 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.
Changed in dnsdbq: | |
status: | Unknown → Fix Released |
Changed in dnsdbq: | |
status: | Fix Released → New |
Changed in dnsdbq: | |
status: | New → Fix Released |
Bug reported upstream.