[MacPorts] #60854: Wrong subversion dependency when fetch.type is svn on Catalina

MacPorts noreply at macports.org
Mon Jul 20 01:44:50 UTC 2020


#60854: Wrong subversion dependency when fetch.type is svn on Catalina
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------

Comment (by ryandesign):

 It appears that Xcode 11.4 and the Xcode 11.4 version of the command line
 tools no longer have svn. But if you upgraded to the newer command line
 tools from an older version that had svn, then svn was not deleted during
 the upgrade. So on our 10.15 buildbot worker which has been upgraded
 through several versions /Library/Developer/CommandLineTools/usr/bin/svn
 still exists but on a newly set up machine that started with the 11.5
 command line tools it does not.

 And this is weird: if svn isn't in the command line tools but is installed
 with MacPorts, /usr/bin/svn will run it!

 So maybe on 10.15 we should change the dependency from
 `bin:svn:subversion` to
 `path:/Library/Developer/CommandLineTools/usr/bin/svn:subversion`. Users
 who just have Xcode installed and not the command line tools would be
 forced to use MacPorts subversion even though Xcode might contain a
 working svn, but I'm probably willing to live with that. I can't think of
 a better way. Using a different dependency based on whether svn exists
 can't really be done because the dependency will go in the portindex which
 is generated on the server not on the user's machine.

-- 
Ticket URL: <https://trac.macports.org/ticket/60854#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list