[MacPorts] #16062: syncing fails for subversion mports tree
#16062: syncing fails for subversion mports tree ---------------------------------+------------------------------------------ Reporter: jochen@macports.org | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Keywords: | ---------------------------------+------------------------------------------ Trying to update my local tree fails with the following error {{{
port -dv sync DEBUG: Synchronizing ports tree(s) Synchronizing local ports tree from file:///Users/jochen/source/macports/dports DEBUG: /usr/bin/svn update --non-interactive /Users/jochen/source/macports/dports DEBUG: changing euid/egid - current euid: 957 - current egid: 700 svn: This client is too old to work with working copy '/Users/jochen/source/macports'; please get a newer Subversion client DEBUG: shell command "/usr/bin/svn update --non-interactive /Users/jochen/source/macports/dports" returned error 1 Command output: svn: This client is too old to work with working copy '/Users/jochen/source/macports'; please get a newer Subversion client
while executing "system $svn_commandline" DEBUG: Synchronization of the local ports tree failed doing an svn update while executing "mportsync" port sync failed: Synchronization of the local ports tree failed doing an svn update }}} because "port sync" does not obey PATH {{{
where svn /opt/local/bin/svn /usr/bin/svn /usr/texbin/svn }}}
How do I tell port to specifically use /opt/local/bin/svn (which is newer than the Apple supplied one)? -- Ticket URL: <http://trac.macports.org/ticket/16062> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16062: syncing fails for subversion mports tree ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: ----------------------------------+----------------------------------------- Comment (by jmr@macports.org): The problem is that `macports::findBinary` first tries the path that autoconf found at build time. That's usually a good thing (consistency), but not in this case. Try removing the `${macports::autoconf::svn_path}` from macports.tcl line 1379 (trunk), or line 1317 (1.6.0). -- Ticket URL: <http://trac.macports.org/ticket/16062#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16062: syncing fails for subversion mports tree ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: ----------------------------------+----------------------------------------- Comment (by jochen@macports.org): Can I do this in the live system, or do I have to reinstall MacPorts afterward again? I have changed it in the two files {{{ /Volumes/Users/jochen/source/macports/base/src/macports1.0/macports.tcl /opt/local/var/macports/sources/rsync.macports.org/release/base/src/macports1.0/macports.tcl }}} but still get the same error -- Ticket URL: <http://trac.macports.org/ticket/16062#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16062: syncing fails for subversion mports tree ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: ----------------------------------+----------------------------------------- Comment (by raimue@macports.org): You have to edit `/Library/Tcl/macports1.0/macports_autoconf.tcl`. Of course this will get overwritten if you install again. You can also use {{{ SVN=/opt/local/bin/svn ./configure --prefix=/opt/local }}} if you are doing a source install. -- Ticket URL: <http://trac.macports.org/ticket/16062#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16062: syncing fails for subversion mports tree ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: ----------------------------------+----------------------------------------- Comment (by jochen@macports.org): Ok, so I have edited {{{ /Library/Tcl/macports1.0/macports_autoconf.tcl }}} to change svn_path to the following {{{ variable svn_path "/opt/local/bin/svn" }}} That works... It would be nice to get this generally fixed for the next release, though. Thank you for your help. -- Ticket URL: <http://trac.macports.org/ticket/16062#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16062: syncing fails for subversion mports tree ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Low | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: ----------------------------------+----------------------------------------- Changes (by afb@macports.org): * priority: Normal => Low Comment: Replying to [comment:4 jochen@macports.org]:
It would be nice to get this generally fixed for the next release, though.
What would be the "general fix" ? Move from configure to macports.conf, or ? -- Ticket URL: <http://trac.macports.org/ticket/16062#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16062: syncing fails for subversion mports tree ----------------------------------+----------------------------------------- Reporter: jochen@macports.org | Owner: macports-dev@lists.macosforge.org Type: defect | Status: closed Priority: Low | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: duplicate | Keywords: ----------------------------------+----------------------------------------- Changes (by afb@macports.org): * status: new => closed * resolution: => duplicate Comment: This is the same issue as #15868 -- Ticket URL: <http://trac.macports.org/ticket/16062#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts