[MacPorts] #50774: sudo port selfupdate fails

MacPorts noreply at macports.org
Wed Mar 2 08:11:37 PST 2016


#50774: sudo port selfupdate fails
--------------------+--------------------------------
 Reporter:  olwe@…  |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.4
 Keywords:          |       Port:
--------------------+--------------------------------
 When trying to update macports with sudo port selfupdate it fails.

 sudo port -v selfupdate gets the following outputs:

 sudo port -v selfupdate
 --->  Updating MacPorts base sources using rsync
 receiving file list ... done

 sent 36 bytes  received 69 bytes  70.00 bytes/sec
 total size is 27013120  speedup is 257267.81
 receiving file list ... done

 sent 36 bytes  received 76 bytes  44.80 bytes/sec
 total size is 512  speedup is 4.57
 MacPorts base version 2.3.3 installed,
 MacPorts base version 2.3.4 downloaded.
 --->  Updating the ports tree
 Synchronizing local ports tree from
 rsync://rsync.macports.org/release/tarballs/ports.tar
 receiving file list ... done

 sent 36 bytes  received 70 bytes  42.40 bytes/sec
 total size is 63334400  speedup is 597494.34
 receiving file list ... done

 sent 36 bytes  received 77 bytes  75.33 bytes/sec
 total size is 512  speedup is 4.53
 receiving file list ... done

 sent 36 bytes  received 70 bytes  42.40 bytes/sec
 total size is 10708291  speedup is 101021.61
 receiving file list ... done

 sent 36 bytes  received 77 bytes  75.33 bytes/sec
 total size is 512  speedup is 4.53
 --->  MacPorts base is outdated, installing new version 2.3.4
 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.2.1
 checking whether the C compiler works... no
 configure: error: in
 `/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/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/tarballs/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
 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

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


More information about the macports-tickets mailing list