[MacPorts] #49202: Error installing new MacPorts base

MacPorts noreply at macports.org
Thu Oct 8 22:03:10 PDT 2015


#49202: Error installing new MacPorts base
---------------------------+--------------------------------
  Reporter:  maisarojas@…  |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  base          |    Version:  2.3.4
Resolution:                |   Keywords:
      Port:                |
---------------------------+--------------------------------
Changes (by ryandesign@…):

 * component:  ports => base


Old description:

> maisas-MacBook-Pro:~ maisa$ sudo port -d selfupdate
> DEBUG: Copying /Users/maisa/Library/Preferences/com.apple.dt.Xcode.plist
> to /opt/local/var/macports/home/Library/Preferences
> DEBUG: MacPorts sources location:
> /opt/local/var/macports/sources/rsync.macports.org/release/base
> --->  Updating MacPorts base sources using rsync
> receiving file list ... done
> ./
> deleting config.log
>
> sent 42 bytes  received 30280 bytes  6738.22 bytes/sec
> total size is 25420143  speedup is 838.34
> MacPorts base version 2.3.3 installed,
> DEBUG: Rebuilding and reinstalling MacPorts if needed
> MacPorts base version 2.3.4 downloaded.
> --->  Updating the ports tree
> Synchronizing local ports tree from
> rsync://rsync.macports.org/release/ports/
> DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*'
> rsync://rsync.macports.org/release/ports/
> /opt/local/var/macports/sources/rsync.macports.org/release/ports
> receiving file list ... done
>
> sent 53 bytes  received 813891 bytes  70777.74 bytes/sec
> total size is 41893831  speedup is 51.47
> DEBUG: /usr/bin/rsync -rtzv --delete-after
> rsync://rsync.macports.org/release/ports/PortIndex_darwin_14_i386/PortIndex
> /opt/local/var/macports/sources/rsync.macports.org/release/ports
> receiving file list ... done
>
> sent 36 bytes  received 70 bytes  42.40 bytes/sec
> total size is 13131586  speedup is 123882.89
> --->  MacPorts base is outdated, installing new version 2.3.4
> DEBUG: Permissions OK
> Installing new MacPorts release in /opt/local as root:admin; permissions
> 0755
>
> checking build system type... i386-apple-darwin14.5.0
> checking host system type... i386-apple-darwin14.5.0
> checking target system type... i386-apple-darwin14.5.0
> checking MacPorts version... 2.3.4
> checking for sw_vers... /usr/bin/sw_vers
> checking for defaults... /usr/bin/defaults
> checking for xcode-select... /usr/bin/xcode-select
> checking Mac OS X version... 10.10.5
> checking Xcode location... /Applications/Xcode.app/Contents/Developer
> checking Xcode version... 7.0.1
> checking whether the C compiler works... no
> configure: error: in
> `/opt/local/var/macports/sources/rsync.macports.org/release/base':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> Command failed: cd
> /opt/local/var/macports/sources/rsync.macports.org/release/base &&
> CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/opt/local --with-
> install-user=root --with-install-group=admin --with-directory-mode=0755
> --enable-readline && make SELFUPDATING=1 && make install SELFUPDATING=1
> Exit code: 77
> DEBUG: Error installing new MacPorts base: command execution failed
>     while executing
> "macports::selfupdate [array get global_options] base_updated"
> Error: Error installing new MacPorts base: command execution failed
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: /opt/local/bin/port: port selfupdate failed: Error installing new
> MacPorts base: command execution failed

New description:

 {{{
 maisas-MacBook-Pro:~ maisa$ sudo port -d selfupdate
 DEBUG: Copying /Users/maisa/Library/Preferences/com.apple.dt.Xcode.plist
 to /opt/local/var/macports/home/Library/Preferences
 DEBUG: MacPorts sources location:
 /opt/local/var/macports/sources/rsync.macports.org/release/base
 --->  Updating MacPorts base sources using rsync
 receiving file list ... done
 ./
 deleting config.log

 sent 42 bytes  received 30280 bytes  6738.22 bytes/sec
 total size is 25420143  speedup is 838.34
 MacPorts base version 2.3.3 installed,
 DEBUG: Rebuilding and reinstalling MacPorts if needed
 MacPorts base version 2.3.4 downloaded.
 --->  Updating the ports tree
 Synchronizing local ports tree from
 rsync://rsync.macports.org/release/ports/
 DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*'
 rsync://rsync.macports.org/release/ports/
 /opt/local/var/macports/sources/rsync.macports.org/release/ports
 receiving file list ... done

 sent 53 bytes  received 813891 bytes  70777.74 bytes/sec
 total size is 41893831  speedup is 51.47
 DEBUG: /usr/bin/rsync -rtzv --delete-after
 rsync://rsync.macports.org/release/ports/PortIndex_darwin_14_i386/PortIndex
 /opt/local/var/macports/sources/rsync.macports.org/release/ports
 receiving file list ... done

 sent 36 bytes  received 70 bytes  42.40 bytes/sec
 total size is 13131586  speedup is 123882.89
 --->  MacPorts base is outdated, installing new version 2.3.4
 DEBUG: Permissions OK
 Installing new MacPorts release in /opt/local as root:admin; permissions
 0755

 checking build system type... i386-apple-darwin14.5.0
 checking host system type... i386-apple-darwin14.5.0
 checking target system type... i386-apple-darwin14.5.0
 checking MacPorts version... 2.3.4
 checking for sw_vers... /usr/bin/sw_vers
 checking for defaults... /usr/bin/defaults
 checking for xcode-select... /usr/bin/xcode-select
 checking Mac OS X version... 10.10.5
 checking Xcode location... /Applications/Xcode.app/Contents/Developer
 checking Xcode version... 7.0.1
 checking whether the C compiler works... no
 configure: error: in
 `/opt/local/var/macports/sources/rsync.macports.org/release/base':
 configure: error: C compiler cannot create executables
 See `config.log' for more details
 Command failed: cd
 /opt/local/var/macports/sources/rsync.macports.org/release/base &&
 CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/opt/local --with-
 install-user=root --with-install-group=admin --with-directory-mode=0755
 --enable-readline && make SELFUPDATING=1 && make install SELFUPDATING=1
 Exit code: 77
 DEBUG: Error installing new MacPorts base: command execution failed
     while executing
 "macports::selfupdate [array get global_options] base_updated"
 Error: Error installing new MacPorts base: command execution failed
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: /opt/local/bin/port: port selfupdate failed: Error installing new
 MacPorts base: command execution failed
 }}}

--

Comment:

 Could you attach the config.log, please? It may tell us why your C
 compiler cannot create executables.

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


More information about the macports-tickets mailing list