#200160 please replace obsolete res_mkquery() and res_send()

Package:
hesiod
Source:
hesiod
Description:
Project Athena's DNS-based directory service - utilities
Submitter:
Robert Millan
Date:
2025-08-17 17:47:09 UTC
Severity:
wishlist
Tags:
#200160#5
Date:
2003-07-05 16:58:54 UTC
From:
To:
Hi,

The res_mkquery() and res_send() functions have been deprecated in favour of
res_nmkquery() and res_nsend() for long time and are being removed from
Glibc for newer ABI versions.

This particularly includes x86_64-*, powerpc64-*, *-gnu and *-k*bsd-gnu,
but more are to come.

libhesiod uses these functions in ./hesiod.c and thus won't build for
these systems.

Please could you ask upstream to fix this?

#200160#10
Date:
2004-02-03 07:33:21 UTC
From:
To:
What is the progress on fixing this bug? The lack of hesiod packages
seems to be keeping a newer mutt from building. For reference, this
is what my build log tells me:

./libhesiod.so: undefined reference to `__dn_skipname'
./libhesiod.so: undefined reference to `__res_mkquery'
./libhesiod.so: undefined reference to `__res_send'

Robert, your bug report didn't mention dn_skipname(). Is this function
too deprecated now?

Regards,

#200160#15
Date:
2004-02-03 15:24:38 UTC
From:
To:
I have no time to work on it, so I'm looking for an adopter for the
package.

Regards,

#200160#20
Date:
2004-02-03 17:19:25 UTC
From:
To:
Guillem Jover fixed this bug during debconf-es, but he hasn't made a patch
that can be merged in the package yet.

I'm CCing him.

I don't know. If it is, it should be listed as such in Glibc sources
(iirc, in resolv/README)

#200160#25
Date:
2004-03-02 07:33:19 UTC
From:
To:
package hesiod
tags 200160 patch
thanks

Hi Steve,

Ok I've fixed only part of the problem, it now is linked correctly on all
systems, even when the symbols are macros and cannot be found derectly
on the library. It's still not reentrant but that's another problem.

I've touched autoconf stuff so you'll have to regenerate with
autoconf >= 2.53 and ship it with the source diff.

	patch it
	autoheader -Wall
	autoconf -Wall
	rm -rf autom4te.cache *.in~
	dpkg-source -b

I've tested that it works now on a Debian GNU/kFreeBSD system. Steve if
you don't have time I could upload a new version.

regards,
guillem

#200160#36
Date:
2004-05-14 04:38:25 UTC
From:
To:
package hesiod
severity 200160 wishlist
tags 200160 - patch
thanks

Hi,

I've NMUed the package, and now it builds on all systems. I'll keep this
open as a wishlist, to note that the package could be made thread safe
by using the newer API. The current patch on the BTS has been applied
already, so until a new one is not provided the tag does not count
anymore. :>

regards,
guillem