Changes between Initial Version and Version 1 of Ticket #36675


Ignore:
Timestamp:
Oct 21, 2012, 3:12:33 AM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

It installs fine for me. Please attach the main.log file so we can see what went wrong.

Also please try upgrading Xcode's command line tools. First ensure you have Xcode 4.5.1. Then open Xcode.app, go to the Preferences window, go to the Downloads section, and upgrade the command line tools from there. The version of llvm-gcc-4.2 installed by the current version of the command line tools is:

$ /usr/bin/llvm-gcc-4.2 -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/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-2336.11~67/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 2336.11.00)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36675

    • Property Cc dluke@… added
    • Property Owner changed from macports-tickets@… to opendarwin.org@…
  • Ticket #36675 – Description

    initial v1  
    1 macports version 2.1.2
     1macports version 2.1.2 [[br]]
    22OS X version 10.8
    33
     4port install nmap fails when building kerberos. Error message in build log:
    45
    56{{{
    6 port install nmap fails when building kerberos. Error message in build log:
    7 
    87info: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
    98:info:build In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:146,
     
    1817:info:build /usr/include/MacTypes.h:786: error: expected declaration specifiers before ‘#pragma’
    1918:
    20 
     19}}}
     20{{{
    2121$ /usr/bin/llvm-gcc-4.2 -v
    2222Using built-in specs.