Bug#678358: hurd should not define AF_LINK .....
Package: hurd
Version: 20120605-2
Severity: important
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
... or if it does should implement the relevant functionality
including making a definition of the sockaddr_dl structure available.
* What led up to the situation?
In trying to NMU pmacct for #675836, I found that Hurd
defines AF_LINK but does define the sockaddr_dl structure.
One would hope it would be defined in the net/if_dl.h file
as it is on kfreebsd.
* What exactly did you do (or not do) that was effective (or
ineffective)?
I am looking at replacing #ifdef AF_LINK with
#if defined(AF_LINK) && !defined(__GNU__)
* What was the outcome of this action?
Some people seem to think it would be better if builds
failed on Hurd.
Other known cases of this occurring are:
#256669 - efs2progs
#636510 - erlang
#676756 - netifaces
If the known cases of this can be documented then hopefully the
hacks can be removed once the underlying issue is fixed.
-- System Information:
Debian Release: wheezy/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable'), (1, 'experimental')
Architecture: hurd-i386 (i686-AT386)
Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages hurd depends on:
ii libc0.3 2.13-33+b1
ii libncursesw5 5.9-4
ii libparted0debian1 2.3-9.1
ii libtinfo5 5.9-4
ii libuuid1 2.20.1-1
ii netdde 0.0.20120520-1+b1
ii sysv-rc 2.88dsf-18
Versions of packages hurd recommends:
ii bf-utf-source 0.05-0.1
Versions of packages hurd suggests:
pn hurd-doc <none>
-- no debconf information
Reply to: