Opened 10 years ago

Closed 10 years ago

#43740 closed defect (invalid)

gmp fails to build on ML

Reported by: josh.vamos@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: gmp

Description

I am attempting to install ports and receive an error that gmp won't configure. I have been googling around and have cleaned and reinstalled and rm'd my old /opt folder but still have no luck with xcode 5.1.1 I'm using an old q9550 processor so it's not related to an i7 compiling error I found related to this.

I am including a log and the output of my commands. Sorry I am not able to express this better.

sudo port install gcc46 automake autoconf curl -v
--->  Computing dependencies for gcc46
--->  Dependencies to be installed: cloog gmp isl ld64 libgcc libiconv libmpc mpfr ppl glpk zlib
--->  Configuring gmp
Warning: No processor dependent assembly code being used. gmp might be slower.
Error: Failed to configure gmp, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0/config.log
Error: org.macports.configure for port gmp returned: configure failure: command execution failed
Error: Failed to install gmp
Please see the log file for port gmp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log
Error: The following dependencies were not installed: cloog gmp isl ld64 libgcc libiconv libmpc mpfr ppl glpk zlib
version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Sat May 17 09:30:19 EDT 2014
:notice:configure --->  Configuring gmp
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:warn:configure No processor dependent assembly code being used. gmp might be slower.
:debug:configure Executing org.macports.configure (gmp)
:debug:configure Environment: CPATH='/opt/local/include' CPPFLAGS='-I/opt/local/include' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/.CC_PRINT_OPTIONS' F90FLAGS='-Os -m64' LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names' __CFPREFERENCES_AVOID_DAEMON='1' FCFLAGS='-Os -m64' OBJC='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' OBJCXX='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' INSTALL='/usr/bin/install -c' OBJCFLAGS='-Os -arch x86_64' OBJCXXFLAGS='-Os -arch x86_64' FFLAGS='-Os -m64' ABI='64' CC_PRINT_OPTIONS='YES' CC='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0" && ./configure --prefix=/opt/local --enable-cxx --build=core2-apple-darwin12.5.0'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0" && ./configure --prefix=/opt/local --enable-cxx --build=core2-apple-darwin12.5.0
:info:configure checking build system type... core2-apple-darwin12.5.0
:info:configure checking host system type... core2-apple-darwin12.5.0
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a thread-safe mkdir -p... ./install-sh -c -d
:info:configure checking for gawk... no
:info:configure checking for mawk... no
:info:configure checking for nawk... no
:info:configure checking for awk... awk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking whether to enable maintainer-specific portions of Makefiles... no
:info:configure checking ABI=64
:info:configure checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang is gcc... yes
:info:configure checking compiler /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include... no, gnupro alpha ev6 char spilling
:info:configure configure: error: could not find a working compiler, see config.log for details
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0" && ./configure --prefix=/opt/local --enable-cxx --build=core2-apple-darwin12.5.0
"/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log" [readonly] 55L, 5287C

Change History (2)

comment:1 Changed 10 years ago by josh.vamos@…

I am adding command line tools in xcode

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Type: requestdefect

You definitely need those.

Note: See TracTickets for help on using tickets.