From owner-freebsd-ports@FreeBSD.ORG Wed Jan 3 14:18:43 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79E1316A403 for ; Wed, 3 Jan 2007 14:18:43 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 57A9F13C44C for ; Wed, 3 Jan 2007 14:18:43 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id F23515C57; Wed, 3 Jan 2007 09:18:57 -0500 (EST) Date: Wed, 3 Jan 2007 09:18:57 -0500 From: Wesley Shields To: Daniel Prinz Message-ID: <20070103141857.GA6955@atarininja.org> References: <1167821311.5445.3.camel@tiberius.suchtreffer.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1167821311.5445.3.camel@tiberius.suchtreffer.de> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-ports@freebsd.org, daniel@roe.ch Subject: Re: NMAP 4.20 Port broken? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2007 14:18:43 -0000 On Wed, Jan 03, 2007 at 11:48:31AM +0100, Daniel Prinz wrote: > Hi, > > I can't compile NMAP 4.20 with my freshly updated ports collection. It > stops when compiling the file output.cc > > Here is the error message: > > c++ -c -Ilibdnet-stripped/include -I/usr/local/include -O2 > -fno-strict-aliasing -pipe -march=opteron -Wall -I/usr/include > -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_VERSION= > \"4.20\" -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\" > -DNMAP_PLATFORM=\"amd64-portbld-freebsd6.1\" -DNMAPDATADIR= > \"/usr/local/share/nmap\" output.cc -o output.o > output.cc: In function `void log_vwrite(int, const char*, > __va_list_tag*)': > output.cc:746: error: incompatible types in assignment of > `__va_list_tag*' to `__va_list_tag[1]' > gmake: *** [output.o] Error 1 > *** Error code 2 > > Stop in /usr/ports/security/nmap. Are you building on AMD64? There has been a recent post regarding this under AMD64 (5.5 (I think) and 6.1). I can confirm that it's currently broken under 6.1 AMD64 but don't have the time to dig deeper into it. I'll see about submitting a PR shortly which notes this problem. I'm also CC'ing the maintainer on this. > Is there a problem with nmap or a depending library? I'm not entirely sure and don't have the time today to look into it. Hopefully the maintainer can take care of it soon, otherwise I will put it on my TODO list for this weekend. -- WXS