NMAP 4.20 Port broken?

Wesley Shields wxs at atarininja.org
Wed Jan 3 06:18:43 PST 2007

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

More information about the freebsd-ports mailing list