[MacPorts] #43442: Mountain Lion: xcodebuild exists but failed to execute
#43442: Mountain Lion: xcodebuild exists but failed to execute ---------------------------------+-------------------------------- Reporter: dbh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: Xcode,mountain lion | Port: ---------------------------------+-------------------------------- I've been through the tickets and wiki but cannot seem to get this sorted. {{{ Upgraded to ML from SL Installed xcode 4.6.3 installed Command Line Tools Rebooted }}} Did: {{{ sudo port -fp uninstall installed sudo rm -rf \
/opt/local \ /Applications/DarwinPorts \ /Applications/MacPorts \ /Library/LaunchDaemons/org.macports.* \ /Library/Receipts/DarwinPorts*.pkg \ /Library/Receipts/MacPorts*.pkg \ /Library/StartupItems/DarwinPortsStartup \ /Library/Tcl/darwinports1.0 \ /Library/Tcl/macports1.0 \ ~/.macports
Installed (from link on MacPorts installation page: OS X 10.8 Mountain Lion: MacPorts-2.2.0-10.8-MountainLion.pkg Then, oddly enough: port version Version: 2.2.1 }}} Then: {{{ sudo port install gnuplot Warning: xcodebuild exists but failed to execute Warning: Xcode does not appear to be installed; most ports will likely fail to build. ---> Computing dependencies for gnuplot^C------------------------------------------------------------------------------------- 23:10:06 house@The-iMac:~$ xcode-select -print-path /Applications/Xcode.app/Contents/Developer sudo xcode-select -switch /Applications/Xcode.app Password: ------------------------------------------------------------------------------------- 23:21:03 house@The-iMac:~$ xcode-select -print-path /Applications/Xcode.app/Contents/Developer }}} -- Ticket URL: <https://trac.macports.org/ticket/43442> MacPorts <http://www.macports.org/> Ports system for OS X
#43442: Mountain Lion: xcodebuild exists but failed to execute ---------------------+-------------------------------- Reporter: dbh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: mountainlion Port: | ---------------------+-------------------------------- Changes (by ryandesign@…): * keywords: Xcode,mountain lion => mountainlion * component: ports => base Comment: Having the latest version of MacPorts after installing an older version of MacPorts is normal, because the installer runs selfupdate at the end. Some may find this peculiar, but it is functioning as intended. What happens if you run `xcodebuild` at the command line yourself? What does `xcodebuild -version` say? Note that Xcode 5.1.1 is the latest version for Mountain Lion; consider updating to that. Remember to upgrade the command line tools after doing so (in the Downloads section of the Xcode application's Preferences window). -- Ticket URL: <https://trac.macports.org/ticket/43442#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43442: Mountain Lion: xcodebuild exists but failed to execute ---------------------+-------------------------------- Reporter: dbh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: mountainlion Port: | ---------------------+-------------------------------- Comment (by cal@…): Also try `sudo xcodebuild -license`. -- Ticket URL: <https://trac.macports.org/ticket/43442#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43442: Mountain Lion: xcodebuild exists but failed to execute ---------------------+-------------------------------- Reporter: dbh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: mountainlion Port: | ---------------------+-------------------------------- Comment (by dbh@…): Ah, Xcode wanted me to agree to the license before anything would work. Done. Upgraded to 5.1.1 GNUplot now installs. Closed -- Ticket URL: <https://trac.macports.org/ticket/43442#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43442: Mountain Lion: xcodebuild exists but failed to execute ----------------------+-------------------------------- Reporter: dbh@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: invalid | Keywords: mountainlion Port: | ----------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => invalid Comment: 2.3 will check for that and warn you, should it ever happen again. -- Ticket URL: <https://trac.macports.org/ticket/43442#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts