[MacPorts] #34511: port selfupdate fails on OS X Lion with current Xcode version

MacPorts noreply at macports.org
Sat May 19 00:43:47 PDT 2012


#34511: port selfupdate fails on OS X Lion with current Xcode version
------------------------------------------+---------------------------------
 Reporter:  Leonard.Stellbrink@…          |       Owner:  macports-tickets@…                   
     Type:  defect                        |      Status:  new                                  
 Priority:  High                          |   Milestone:                                       
Component:  ports                         |     Version:  2.0.3                                
 Keywords:                                |        Port:                                       
------------------------------------------+---------------------------------
 hi,[[BR]]
 I can't do a selfupdate.[[BR]]
 I have Mac OS X 10.7.4 and Xcode 4.3.2 installed.[[BR]]
 I think the error has something to do with "C Compiler cannot create
 executables"
 [[BR]]
 Thanks for your help
 [[BR]][[BR]]

 See Log:


 {{{
 localhost:~ leonardstellbrink$ 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 3539456  speedup is 33709.10
 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.0.3 installed,
 MacPorts base version 2.1.1 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 52408320  speedup is 494418.11
 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  70.67 bytes/sec
 total size is 7942127  speedup is 74925.73
 receiving file list ... done

 sent 36 bytes  received 77 bytes  32.29 bytes/sec
 total size is 512  speedup is 4.53
 --->  MacPorts base is outdated, installing new version 2.1.1
 Installing new MacPorts release in /opt/local as root:admin; permissions
 0755; Tcl-Package in /Library/Tcl

 checking build system type... ./config.guess: line 1204: echo: write
 error: Broken pipe
 ./config.guess: line 1204: echo: write error: Broken pipe
 ./config.guess: line 1204: echo: write error: Broken pipe
 i386-apple-darwin11.4.0
 checking host system type... i386-apple-darwin11.4.0
 checking target system type... i386-apple-darwin11.4.0
 checking MacPorts version... 2.1.1
 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.7.4
 checking Xcode location... /Developer
 checking for gcc... /usr/bin/cc
 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
 shell command "cd
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base
 && CC=/usr/bin/cc ./configure --prefix=/opt/local --with-
 tclpackage=/Library/Tcl --with-install-user=root --with-install-
 group=admin --with-directory-mode=0755 --enable-readline && make && make
 install SELFUPDATING=1" returned error 77
 Error: /opt/local/bin/port: port selfupdate failed: Error installing new
 MacPorts base: shell command failed (see log for details)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/34511>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list