Subject: pkg/31283: libnet doesn't export libnet_get_hwaddr
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <stuart@zeus.com>
List: pkgsrc-bugs
Date: 09/10/2005 00:09:00
>Number: 31283
>Category: pkg
>Synopsis: libnet doesn't export libnet_get_hwaddr
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 10 00:09:00 +0000 2005
>Originator: Stuart Shelton
>Release: n/a
>Organization:
n/a
>Environment:
IRIX64 octane 6.5 07010238 IP30 mips: IRIX 6.5.28
>Description:
After editing the libnet build so that the manpages are installed in the right place, and editing the arping Makefile so that there is an OPSYS==IRIX target specified, the arping build fails because the linker can't find a symbol named libnet_get_hwaddr.
Sure enough, neither the library stored in .buildlinks or the one in {root}/lib/libnet.so actually exports this symbol (according to nm).
Is arping trying to use an older API to libnet?
>How-To-Repeat:
cd net/arping && bmake install
>Fix:
I'm assuming this is a libnet problem (for not exporting the symbol) rather than a arpign one (for using it) - but it may be that arping is using deprecated functions...
In any case, one of the packages needs updating to reflect the current situation.
(P.S. If the package maintainer wants to fix the manpages bug (Makefile.in should read "MAN_PREFIX = @mandir@/man3/") in libnet and the lack of an IRIX target in arping, that'd be peachy ;)