Opened 12 years ago

Last modified 12 years ago

#36675 closed defect

port install nmap does not work — at Initial Version

Reported by: benhsu@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: nmap

Description

macports version 2.1.2 OS X version 10.8

port install nmap fails when building kerberos. Error message in build log:

info:build /usr/bin/llvm-gcc-4.2  -DSHARED   -I../../../include -I./../../../include -I./.. -I./../md4 -DKRB5_DEPRECATED=1  -pipe -O2 -arch x86_64 -fno-common -Wall -Wcast-qual -Wcast-align -Wshadow -Wmissing-prototypes -Wno-format-zero-length -Woverflow -Wstrict-overflow -Wmissing-format-attribute -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wunknown-pragmas -Wsign-compare -Wnewline-eof -Werror=declaration-after-statement -Werror=variadic-macros  -c arcfour_s2k.c -o arcfour_s2k.so.o && mv -f arcfour_s2k.so.o arcfour_s2k.so
:info:build In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:146,
:info:build                  from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:8,
:info:build                  from arcfour_s2k.c:7:
:info:build /usr/include/MacTypes.h: In function ‘Debugger’:
:info:build /usr/include/MacTypes.h:693: error: expected declaration specifiers before ‘__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_8’
:info:build /usr/include/MacTypes.h:705: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_8’
:info:build /usr/include/MacTypes.h:752: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_8’
:info:build /usr/include/MacTypes.h:764: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_8’
:info:build /usr/include/MacTypes.h:776: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_8’
:info:build /usr/include/MacTypes.h:786: error: expected declaration specifiers before ‘#pragma’
:

$ /usr/bin/llvm-gcc-4.2 -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)

Change History (0)

Note: See TracTickets for help on using tickets.