[MacPorts] #33724: Installer hangs when Xcode 4.3 is incorrectly installed
#33724: Installer hangs when Xcode 4.3 is incorrectly installed ------------------------------------+--------------------------------------- Reporter: glen.henshaw@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.4 Keywords: installer | Port: ------------------------------------+--------------------------------------- Installing Xcode 4.3 requires the user to execute:
xcode-select -switch /Applications/Xcode.app/Resources/Developer/
from the command line in order for xcodebuild to execute correctly. If this is not done, xcodebuild hangs. The installer requires xcodebuild; therefore, this condition will hang the installer. The installer should have a timeout on xcodebuild and give the user an appropriate error message. -- Ticket URL: <https://trac.macports.org/ticket/33724> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33724: Installer hangs when Xcode 4.3 is incorrectly installed ------------------------------------+--------------------------------------- Reporter: glen.henshaw@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.4 Keywords: installer | Port: ------------------------------------+--------------------------------------- Old description:
Installing Xcode 4.3 requires the user to execute:
xcode-select -switch /Applications/Xcode.app/Resources/Developer/
from the command line in order for xcodebuild to execute correctly. If this is not done, xcodebuild hangs. The installer requires xcodebuild; therefore, this condition will hang the installer. The installer should have a timeout on xcodebuild and give the user an appropriate error message.
New description: Installing Xcode 4.3 requires the user to execute: {{{ xcode-select -switch /Applications/Xcode.app/Resources/Developer/ }}} from the command line in order for xcodebuild to execute correctly. If this is not done, xcodebuild hangs. The installer requires xcodebuild; therefore, this condition will hang the installer. The installer should have a timeout on xcodebuild and give the user an appropriate error message. -- Comment(by ryandesign@…): I'm wondering what part of the installer requires xcodebuild.... Is it just that the installer uses "sudo port selfupdate", and every port command always calls xcodebuild now? -- Ticket URL: <https://trac.macports.org/ticket/33724#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33724: Installer hangs when Xcode 4.3 is incorrectly installed -------------------------------------+-------------------------------------- Reporter: glen.henshaw@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.1.0 Component: base | Version: 2.0.4 Resolution: fixed | Keywords: installer Port: | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: new => closed * type: enhancement => defect * resolution: => fixed * milestone: => MacPorts 2.1.0 Comment: It actually only hangs (or rather, infinite loops) when the xcode-select path is /, which you have to have set yourself. Anyway, r91518 should stop the installer from hanging, but you may still run into it when trying to build ports, if developer_dir isn't accessed first thus triggering the validity check. -- Ticket URL: <https://trac.macports.org/ticket/33724#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts