[MacPorts] #47564: port upgrade fails with error for package gmp

MacPorts noreply at macports.org
Sat Apr 25 17:58:14 PDT 2015


#47564: port upgrade fails with error for package gmp
-------------------------+--------------------------------
  Reporter:  vithlani@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.3
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------------------

Comment (by vithlani@…):

 {{{
 $ sudo xcode-select --switch /Applications/Xcode.app
 Password:
 xcode-select: error: invalid developer directory '/Applications/Xcode.app'

  $ sudo xcode-select --switch /Xcode3.1.4/
  $ sudo port clean gmp
 Warning: xcodebuild exists but failed to execute
 --->  Cleaning gmp

  $ sudo port -v upgrade outdated
 Warning: xcodebuild exists but failed to execute
 Warning: Xcode does not appear to be installed; most ports will likely
 fail to build.
 --->  Configuring gmp
 Warning: No processor dependent assembly code being used. gmp might be
 slower.
 checking build system type... core2-apple-darwin14.3.0
 checking host system type... core2-apple-darwin14.3.0
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
 checking for gawk... /usr/bin/awk
 checking whether make sets $(MAKE)... no
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking ABI=64
 checking compiler /usr/bin/cc -O -I/opt/local/include... no
 configure: error: could not find a working compiler, see config.log for
 details
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmp/gmp/work/gmp-6.0.0"
 && ./configure --prefix=/opt/local --enable-cxx --build=core2-apple-
 darwin14.3.0
 Exit code: 1
 Error: Failed to configure gmp, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmp/gmp/work/gmp-6.0.0/config.log
 Error: org.macports.configure for port gmp returned: configure failure:
 command execution failed
 Warning: targets not executed for gmp: org.macports.install
 org.macports.configure org.macports.build org.macports.destroot
 Please see the log file for port gmp for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmp/gmp/main.log
 Error: Unable to upgrade port: 1
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47564#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list