[MacPorts] #34301: xcodebuild exists but failed to execute
#34301: xcodebuild exists but failed to execute ------------------------------------+--------------------------------------- Reporter: mischaa.rose@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ------------------------------------+--------------------------------------- In my attempt to install Wine, I've typed: {{{ $ sudo port install wine }}} My result is: {{{ Warning: xcodebuild exists but failed to execute Warning: No index(es) found! Have you synced your source indexes? Error: Port wine not found To report a bug, see <http://guide.macports.org/#project.tickets> }}} I have tried updating my sources using {{{ $ sudo port -v selfupdate }}} and I receive {{{ Warning: xcodebuild exists but failed to execute Warning: No index(es) found! Have you synced your source indexes? ---> Updating MacPorts base sources using rsync @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at /SourceCache/rsync/rsync-42/rsync/main.c(1398) [receiver=2.6.9] shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs" returned error 5 Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: shell command failed (see log for details) }}} I'm not sure where to go from here. I've checked the FAQ and the Guide, and was unable to find a fix to my problem. Perhaps I was looking at the wrong thing, but any help is greatly appreciated! -- Ticket URL: <https://trac.macports.org/ticket/34301> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34301: xcodebuild exists but failed to execute ------------------------------------+--------------------------------------- Reporter: mischaa.rose@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by ryandesign@…): Have you agreed to the Xcode license? See wiki:ProblemHotlist#xcode-eula -- Ticket URL: <https://trac.macports.org/ticket/34301#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34301: xcodebuild exists but failed to execute ------------------------------------+--------------------------------------- Reporter: mischaa.rose@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by ryandesign@…): Oh, and the rsync error you're seeing is because our rsync server is down. See #34298. -- Ticket URL: <https://trac.macports.org/ticket/34301#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34301: xcodebuild exists but failed to execute ------------------------------------+--------------------------------------- Reporter: mischaa.rose@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by mischaa.rose@…): Replying to [comment:1 ryandesign@…]:
Have you agreed to the Xcode license? See wiki:ProblemHotlist#xcode-eula
I was unaware that was something I needed to do. I should have read closer! {{{ $ xcodebuild -license }}} {{{ xcode-select: Error: No Xcode folder is set. Run xcode-select -switch <xcode_folder_path> to set the path to the Xcode folder. Error: /usr/bin/xcode-select returned unexpected error. }}} What I've typed and what I received. I'm unsure where to direct it. -- Ticket URL: <https://trac.macports.org/ticket/34301#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34301: xcodebuild exists but failed to execute ------------------------------------+--------------------------------------- Reporter: mischaa.rose@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by mischaa.rose@…): Replying to [comment:2 ryandesign@…]:
Oh, and the rsync error you're seeing is because our rsync server is down. See #34298.
Thank you! I'll give it another try later. Thank you for responding! -- Ticket URL: <https://trac.macports.org/ticket/34301#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34301: xcodebuild exists but failed to execute ------------------------------------+--------------------------------------- Reporter: mischaa.rose@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by ryandesign@…): The server is back online now. Yes, you also need to set the Xcode folder, as shown in wiki:ProblemHotlist#xcode-select -- Ticket URL: <https://trac.macports.org/ticket/34301#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34301: xcodebuild exists but failed to execute ------------------------------------+--------------------------------------- Reporter: mischaa.rose@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by mischaa.rose@…): Replying to [comment:5 ryandesign@…]:
The server is back online now.
Yes, you also need to set the Xcode folder, as shown in wiki:ProblemHotlist#xcode-select Thank you! That was it. Working perfectly, now.
-- Ticket URL: <https://trac.macports.org/ticket/34301#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34301: xcodebuild exists but failed to execute -------------------------------------+-------------------------------------- Reporter: mischaa.rose@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: invalid | Keywords: Port: | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/34301#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts