• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Upgrading Xcode can kill your svn+ssh (solution included)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Upgrading Xcode can kill your svn+ssh (solution included)


  • Subject: Upgrading Xcode can kill your svn+ssh (solution included)
  • From: Owen Hartnett <email@hidden>
  • Date: Wed, 12 Oct 2016 07:58:03 -0700

Situation:

Mac OS X Server running El Cap upgraded to Xcode 8.0

Suddenly I couldn’t connect from a remote machine using svn+ssh, got the following error:

Owens-MacBook-Pro:WatchPoint owen$ svn commit -m "changes up to release 1.06"


Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.


svn: E170013: Commit failed (details follow):
svn: E170013: Unable to connect to a repository at URL 'svn+ssh://email@hidden/Volumes/bigraid/repos/trunk/WatchPoint'
svn: E210002: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.
svn: E210002: Network connection closed unexpectedly

Took a while to figure this out.  The first message is about xcode licensing, the second the general no connect error of svn. Chased down the latter for a while because I’m not calling Xcode, and my remote machine’s xcode had beem run often. A dead end, of course. So I attacked the Xcode license error.  You can’t run sudo Xcode-select -license anymore, at least there’s no comparable parameter in the man page. 

Here’s the jig: svn+ssh causes an instance of svnserve to be run in the ssh tunnel.  The svn binaries live in the Xcode.app package, and apparently require the licensing agreement to be run. So it was xcode on the server that swallowed my subversion request. Again, no licensing parameter on the man page, so I ssh into the server and just run svnserve. Bingo.  License agreement pops up in the terminal window, type agree, and all is right with the world again.

It probably would’ve resolved if I had just run Xcode on the server, but I did not try that.

-Owen
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Upgrading Xcode can kill your svn+ssh (solution included)
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: Re: Xcode documentation woes
  • Next by Date: Re: SVN Warnings in Xcode
  • Previous by thread: Re: Xcode 8 : linker command failed with exit code 1
  • Next by thread: Re: Upgrading Xcode can kill your svn+ssh (solution included)
  • Index(es):
    • Date
    • Thread