NetBSD Problem Report #47866

From www@NetBSD.org  Wed May 29 13:25:23 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3030D70BCC
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 29 May 2013 13:25:23 +0000 (UTC)
Message-Id: <20130529132521.A701D71A07@mollari.NetBSD.org>
Date: Wed, 29 May 2013 13:25:21 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: net/nmap does not compile on Solaris 10
X-Send-Pr-Version: www-1.0

>Number:         47866
>Category:       pkg
>Synopsis:       net/nmap does not compile on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 29 13:30:00 +0000 2013
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
net/nmap 6.25 does not compile on Solaris 10:

gcc -I/usr/pkgsrc/20130422/include -I/usr/pkgsrc/20130422/include -I/usr/include -I/usr/pkgsrc/20130422/include -I/usr/pkgsrc/20130422/include/gettext -I/usr/pkgsrc/20130422/include/freetype2 -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/pkgsrc/20130422/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -I/usr/pkgsrc/20130422/include -O -I/usr/include -I/usr/pkgsrc/20130422/include -I/usr/pkgsrc/20130422/include/gettext -I/usr/pkgsrc/20130422/include/freetype2 -Wall -c base64.c -o base64.o
ncat_connect.c: In function 'ncat_connect':
ncat_connect.c:531:109: error: expected ';' before ')' token
ncat_connect.c:531:109: error: expected statement before ')' token
ncat_main.c: In function 'main':
ncat_main.c:628:30: error: expected ';' before ')' token
ncat_main.c:628:30: error: expected statement before ')' token
ncat_connect.c:558:98: error: expected ';' before ')' token
ncat_connect.c:558:98: error: expected statement before ')' token
ncat_connect.c:562:96: error: expected ';' before ')' token
ncat_connect.c:562:96: error: expected statement before ')' token
ncat_main.c:663:27: error: expected ';' before ')' token
ncat_main.c:663:27: error: expected statement before ')' token
gmake[1]: *** [ncat_connect.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: *** [ncat_main.o] Error 1
gmake[1]: Leaving directory `/pkgsrc/source/pkgsrc/net/nmap/work.pkgsrc-i86/nmap-6.25/ncat'
gmake: *** [ncat_build] Error 2
*** Error code 2


I assume that SUN_LEN is not defined, at least I can't find a definition for it. Maybe it is defined in /usr/include/sys/un.h on Solaris 11, which I can't check.

I have reported this problem upstream to dev@nmap.org.
>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.