ports/107481: [PATCH]: security/nmap is broken under AMD64.
Wesley Shields
wxs at atarininja.org
Wed Jan 3 16:50:22 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list