From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 3 16:50:22 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C24B16A47E for ; Wed, 3 Jan 2007 16:50:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4F0F213C4BA for ; Wed, 3 Jan 2007 16:50:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l03GoMoJ094297 for ; Wed, 3 Jan 2007 16:50:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l03GoMx0094294; Wed, 3 Jan 2007 16:50:22 GMT (envelope-from gnats) Resent-Date: Wed, 3 Jan 2007 16:50:22 GMT Resent-Message-Id: <200701031650.l03GoMx0094294@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wesley Shields Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1777B16A403 for ; Wed, 3 Jan 2007 16:48:29 +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 EB12B13C441 for ; Wed, 3 Jan 2007 16:48:28 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 499865C58; Wed, 3 Jan 2007 11:26:35 -0500 (EST) Message-Id: <20070103162635.499865C58@syn.atarininja.org> Date: Wed, 3 Jan 2007 11:26:35 -0500 (EST) From: Wesley Shields To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: daniel@roe.ch Subject: ports/107481: [PATCH]: security/nmap is broken under AMD64. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Wesley Shields List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2007 16:50:22 -0000 >Number: 107481 >Category: ports >Synopsis: [PATCH]: security/nmap is broken under AMD64. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jan 03 16:50:21 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Wesley Shields >Release: FreeBSD 6.1-RELEASE-p10 amd64 >Organization: >Environment: System: FreeBSD syn.csh.rit.edu 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #5: Sat Sep 30 21:50:55 EDT 2006 root@syn.csh.rit.edu:/usr/obj/usr/src/sys/SMP amd64 >Description: security/nmap does not build under AMD64 using 5-STABLE, 6-STABLE and -CURRENT according to my tinderbox runs. There have been messages on ports@ which indicate the build is broken on 5.5 and 6.1 also. The attached patch marks the port as NOT_FOR_ARCHS until a proper fix is put in place. I have CC'ed the maintainer on this. >How-To-Repeat: Here is the last few lines of the 5-STABLE tinderbox build I just tested it in. The same error is reported for 6-STABLE and -CURRENT. c++ -c -Ilibdnet-stripped/include -I/usr/local/include -O -pipe -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-freebsd5.5\" -DNMAPDATADIR=\"/usr/local/share/nmap\" osscan2.cc -o osscan2.o c++ -c -Ilibdnet-stripped/include -I/usr/local/include -O -pipe -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-freebsd5.5\" -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 /a/ports/security/nmap. ================================================================ build of /usr/ports/security/nmap ended at Wed Jan 3 17:21:09 UTC 2007 >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/nmap/Makefile,v retrieving revision 1.101 diff -u -r1.101 Makefile --- Makefile 8 Jul 2006 05:32:00 -0000 1.101 +++ Makefile 3 Jan 2007 16:19:55 -0000 @@ -19,6 +19,9 @@ DISTVERSION= 4.11 +NOT_FOR_ARCHS= amd64 # Broken on 5-STABLE, 6-STABLE and -CURRENT +NOT_FOR_ARCHS_REASON= Does not build on 5-STABLE, 6-STABLE and -CURRENT under AMD64 + USE_BZIP2= yes USE_GMAKE= yes >Release-Note: >Audit-Trail: >Unformatted: