[Pkg-utopia-maintainers] Bug#558975: avahi: FTBFS on hurd-i386: wrong network interface backend used

Pino Toscano pino at kde.org
Tue Dec 1 00:10:47 UTC 2009


Package: avahi
Version: 0.6.25-1
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

Hi,

currently[1] avahi does not compile on GNU/Hurd.

The scenario is the following: in avahi-core, three different network
interface backends,
- iface-linux.c (compiled if linux/netlink.h is found)
- iface-pfroute.c (compiled if net/route.h is found)
- iface-none.c (compiled in the remaining cases)
on Hurd, it finds net/route.h so it tries to compile the pfroute backend; the
problem is that the backend uses net/if_dl.h and the rt_* network stuff,
unavailable on the Hurd.
The proposed patch extends the configure check for net/route.h by adding
net/if_dl.h among the includes needed for the check, so it will pass if both
net/route.h and net/if_dl.h are available.

Although the pfroute backend is used by *freebsd-*, the change shouldn't
affect it.

[1] http://buildd.debian-ports.org/fetch.php?&pkg=avahi&ver=0.6.25-1&arch=hurd-i386&stamp=1251761340&file=log&as=raw

Thanks,
-- 
Pino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20_check_net_if_dl_h_for_pfroute.patch
Type: text/x-c
Size: 425 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20091201/357c9975/attachment.bin>


More information about the Pkg-utopia-maintainers mailing list