Created attachment 297247 [details]
config.log from ./nbase/
The checks for inet_ntop and inet_pton fail due to undefined references when --as-needed is passed to the build system.
Those symbols are in libnsl.so, but the ./nbase/configure script does its check by linking against libsocket.so, which then links against libnsl.so. This causes the package to use its own inet_ntop() implementation, which then conflicts with the system inet_ntop(), breaking the build.
I tried modifying the ./configure script to unconditionally assume that the system inet_ntop() exists and that enabled the build to work with LDFLAGS="-Wl,--as-needed".
The easy way to fix this is to modify the ebuild to strip that flag on Solaris, but maybe we could instead modify autotools to link against libsocket.so on Solaris instead.
I meant to say that we couold instead modify autotools to link against libnsl.so, not libsocket.so.
The bug has been closed via the following commit(s):
Author: Fabian Groffen <firstname.lastname@example.org>
AuthorDate: 2019-09-18 08:30:43 +0000
Commit: Fabian Groffen <email@example.com>
CommitDate: 2019-09-18 08:31:02 +0000
net-analyzer/nmap: drop *-solaris, bug #396353
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Fabian Groffen <firstname.lastname@example.org>
net-analyzer/nmap/nmap-7.70.ebuild | 2 +-
net-analyzer/nmap/nmap-7.80.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)