[MacPorts] #31619: selfupdate fails on 10.6.8 + XCode 4.2
#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
#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: ----------------------------------+----------------------------------------- Comment(by macports@…): This fixed it. {{{ sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2 }}} I'm on SL 10.6.8 and XCode 4.2, 2011 i7 MBP -- Ticket URL: <https://trac.macports.org/ticket/31619#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31619: selfupdate fails on 10.6.8 + XCode 4.2 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Keywords: | Port: ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * component: ports => base Comment: As I told you in the other ticket, don't make such a symlink. Please delete the symlink again. What does the config.log say? It is unusual that it decided to use /usr/bin/gcc-4.2 as the compiler, if that did not exist; indeed, it is not expected for any gcc to exist in Xcode 4.2 anymore. Apple now only ships llvm-gcc-4.2 and clang. -- Ticket URL: <https://trac.macports.org/ticket/31619#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31619: selfupdate fails on 10.6.8 + XCode 4.2 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by macports@…): Well I'm not in a position to say now, having since rerun it with the hack. Are you talking about sources/rsync.macports.org/release/base/config.log? If so its been nuked by the successful update. You want me to uninstall it and have another go? -- Ticket URL: <https://trac.macports.org/ticket/31619#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31619: selfupdate fails on 10.6.8 + XCode 4.2 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by ryandesign@…): You could remove the symlink, then force MacPorts to try selfupdate again. "`sudo port -f selfupdate`". If it fails then you can look at the config.log. -- Ticket URL: <https://trac.macports.org/ticket/31619#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31619: selfupdate fails on 10.6.8 + XCode 4.2 -----------------------------------+---------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.0.3 Resolution: worksforme | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/31619#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts