#31619: selfupdate fails on 10.6.8 + XCode 4.2 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ----------------------------------+----------------------------------------- Was running 1.9.2. {{{ monster:~ root# port -v selfupdate ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/ receiving file list ... done ./ sent 59 bytes received 540596 bytes 360436.67 bytes/sec total size is 30279260 speedup is 56.00 Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/ports Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 8164 ---> Updating MacPorts base sources using rsync receiving file list ... done ./ deleting config.log sent 42 bytes received 6819 bytes 4574.00 bytes/sec total size is 2966591 speedup is 432.38 MacPorts base version 1.9.2 installed, MacPorts base version 2.0.3 downloaded. ---> MacPorts base is outdated, installing new version 2.0.3 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl checking build system type... i386-apple-darwin10.8.0 checking host system type... i386-apple-darwin10.8.0 checking target system type... i386-apple-darwin10.8.0 checking MacPorts version... 2.0.3 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.6.8 checking Xcode location... /Developer checking Xcode version... 4.2 checking for gcc... /usr/bin/gcc-4.2 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 shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && CC=/usr/bin/gcc-4.2 ./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" returned error 77 Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details) monster:~ root# /usr/bin/gcc-4.2 bash: /usr/bin/gcc-4.2: No such file or directory }}} -- Ticket URL: <https://trac.macports.org/ticket/31619> MacPorts <http://www.macports.org/> Ports system for Mac OS