Skip to content
  • About
  • Friends
  • About
  • Friends
The Blog of Philippmy personal Site of Things
  • About
  • Friends
wood writing mathematics typography
Written by Philipp on 2013-08-01

Downgrading Subversion from 1.8 to 1.7 in MacPorts

Snippets . Tooling
bash-3.2# cd /tmp
bash-3.2# svn co http://svn.macports.org/repository/macports/trunk/dports/devel/subversion --revision 108493
A    subversion/files
A    subversion/files/patch-Makefile.in.diff
A    subversion/files/patch-osx_unicode_precomp.diff
A    subversion/files/config_impl.h.patch
A    subversion/files/servers.default
A    subversion/Portfile
Ausgecheckt, Revision 108493.
bash-3.2# cd subversion/
bash-3.2# port install
--->  Computing dependencies for subversion
--->  Fetching archive for subversion
--->  Attempting to fetch subversion-1.7.10_1.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/subversion
--->  Attempting to fetch subversion-1.7.10_1.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/subversion
...
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
bash-3.2# port installed subversion
The following ports are currently installed:
  subversion @1.7.10_1
  subversion @1.8.1_1 (active)
bash-3.2# port activate subversion @1.7.10_1
--->  Computing dependencies for subversion
--->  Deactivating subversion @1.8.1_1
--->  Cleaning subversion
--->  Activating subversion @1.7.10_1
--->  Cleaning subversion

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook

Like this:

Like Loading...

Related

20 comments

  • jonny B has written: 2013-08-02 at 19:09

    I was getting a “Library not loaded: /opt/local/lib/libserf-1.0.dylib” error when trying to run svn 1.7 after doing this, so found i also had to do:

    sudo port activate serf1 @1.2.1_0

    (having done “port installed | grep serf” to check what was installed)

    Hope that helps someone…

  • jonny B has written: 2013-08-02 at 19:10

    …and thanks for the article (i meant to add 🙂

  • Philipp has written: 2013-08-21 at 16:03

    You are right.
    You also need to downgrade / activate an older version of serf1:

    > svn co http://svn.macports.org/repository/macports/trunk/dports/www/serf1 –revision 108607
    > cd serf1
    > sudo port install
    > sudo port installed | grep serf
    < serf0 @0.7.2_0 (active)
    < serf1 @1.2.1_1 (active)
    < serf1 @1.3.0_0

    If 1.2.1 is not active, you should do a:
    > sudo port activate serf1 @1.2.1_1

  • Jason Erickson has written: 2013-08-29 at 21:02

    I was spending all day on this. Actually, the bit in the comments about serf1 is what did the trick for me. Thanks!

  • Stefan has written: 2013-09-06 at 16:57

    Thank you for your great help. One more question: I have to downgrade to svn 1.7 to get git-svn working again. For that I have to downgrade subversion-perlbindings-5.12. I allready did

    svn co http://svn.macports.org/repository/macports/trunk/dports/devel/subversion-perlbindings –revision 108493

    and installed it, but now I have

    subversion-perlbindings @1.7.10_0 (active)
    subversion-perlbindings-5.12 @1.8.3_2 (active)

    Can you tell me how to downgrade perlbindings-5.12? (I’m quite new to this advanced use of MacPorts) …

  • Philipp has written: 2013-09-08 at 10:39

    Hi Stefan,

    so i guess a

    port installed subversion-perlbindings
    

    Gave you the output you just showed in your comment?

    port activate subversion-perlbindings @1.7.10_0
    

    Should then active the correct perlbinding for Subversion 1.7.10.
    Could you post the error message you get if you try to run git-svn?

  • Tim Telcik has written: 2013-09-12 at 03:17

    Hello Philipp and Co.

    I found this short blog entry very helpful after MacPorts automagically upgraded my SVN client from 1.7.x to 1.8.x.

    In addition to downgrading the SVN client, you may also need to downgrade the JavaHL bindings project from 1.8.x to 1.7.x to use Subclipse with the Eclipse IDE.

    # Downgrade SVN client from 1.8.x to 1.7.x
    % cd /tmp
    % svn co http://svn.macports.org/repository/macports/trunk/dports/devel/subversion-javahlbindings –revision 106629
    % sudo port install
    % sudo port activate subversion-javahlbindings @1.7.10

    # Confirm Active SVN Java HL Bindings
    $ sudo port installed subversion-javahlbindings | grep active
    subversion-javahlbindings @1.7.10_0 (active)

    I hope this helps the next group of readers.

    Regards,

    Tim

  • Marcin Gryszko has written: 2013-09-18 at 12:00

    I just wanted to say thanks (also to johnny B)! I took me < 5 minutes to downgrade the package.

  • SjG has written: 2013-09-19 at 00:05

    Thanks. As a JetBrains IDE user, this was a life-saver.

  • jonny B has written: 2013-09-25 at 12:43

    Glad i commented on this and have been getting the comment emails – macports just did it again (did port upgrade outdated – oops) so needed the instructions again – thanks Philipp once more!)

  • Philipp has written: 2013-09-25 at 17:05

    I found another method, that seems to survive an “upgrade outdated”.
    You need to create your own local ports folder with the previoues verson of Portfiles.

    To do so, create a Folder with your Portfiles:

    # mkdir /Users/philipp/ports
    

    Add this Repository to your ports sources:

    # cat /opt/local/etc/macports/sources.conf
    
    file:///Users/philipp/ports
    rsync://rsync.macports.org/release/tarballs/ports.tar [default]
    
    

    Imports: Your Repository has to be first in this file.

    Create the Folder for your Port Groups (subversion => devel, serf1 => www):

    # mkdir /Users/philipp/ports/devel
    # mkdir /Users/philipp/ports/www
    

    Now checkout your SVN Revisions:

    # cd /Users/philipp/ports/devel
    # svn co http://svn.macports.org/repository/macports/trunk/dports/devel/subversion --revision 108493
    ...
    # cd /Users/philipp/ports/www
    # svn co http://svn.macports.org/repository/macports/trunk/dports/www/serf1 --revision 108607
    

    Index the Folder for Port:

    # portindex
    Creating port index in /Users/philipp/ports
    

    Install your Ports as before.
    I did then a

    # sudo port selfupdate && port upgrade outdated
    

    And got:

    # svn --version
    svn, Version 1.7.10 (r1485443)
       übersetzt Jun  3 2013, 06:49:42
    ...
    
  • jonny B has written: 2013-09-26 at 11:28

    Wow, that’s involved (but thanks!)

    I think there should be an easier way – i found:
    port upgrade outdated and not subversion
    saves subversion from being upgraded, and
    port upgrade outdated and not serf1
    is ok for the serf1 thing, but i couldn’t make it work for both at the same time. You can leave out the upgrade command to test or course…
    port outdated and not subversion and not serf1
    port outdated and not \(serf1 or subversion\)
    and various other combinations either list one or the other or don’t seem to return (for ages)
    Any better ideas anyone?
    TIA

  • jonny B has written: 2013-09-26 at 11:29

    Sorry for the lack of formatting – how do you do those code blocks here? 😉

  • Philipp has written: 2013-09-26 at 11:32

    I guess excluding some Port Files from the update is okay if you just have some… if you have a lots of them, you either save your command somewhere or just use your own Port Folder.
    Just do a <pre> your code </pre> :-).

  • Clemens has written: 2013-10-01 at 17:53

    You can probably use the newer version of serf, too, if you force a build from source, instead of getting a binary download of the subversion package. To do that, run port -s install instead of port install (no guarantee this works, though).

    For the subversion-perlbindings package, run port install — subport=subversion-perlbindings-5.12 to get the 5.12 version of that. Installing the “subversion-perlbindings” port itself will actually only install a readme file saying this is a stub port.

  • Clemens has written: 2013-10-01 at 17:54

    That’s port install DASH DASH subport=subversion-perlbindings-5.12. Unfortunately the blog software mangled this part into an emdash.

Leave a ReplyCancel reply

Archives

  • August 2025
  • November 2023
  • February 2023
  • January 2023
  • April 2020
  • January 2018
  • December 2017
  • May 2017
  • February 2016
  • September 2015
  • December 2014
  • August 2014
  • June 2014
  • March 2014
  • February 2014
  • September 2013
  • August 2013
  • July 2013
  • November 2012
  • October 2012
  • September 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • January 2011
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • January 2010
  • November 2009
  • October 2009
  • September 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • September 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006

Calendar

August 2013
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Jul   Sep »

Categories

  • Bash
  • Bochum
  • Build
  • CCC
  • CLI
  • Coderwall
  • Coventry
  • DB
  • Edu
  • Freenas
  • Gitlab
  • Graphics
  • Hacking
  • iOS
  • Java
  • Javascript
  • Mac
  • NAS
  • Network
  • nexenta
  • Perl
  • Personal
  • PHP
  • Play! Framework
  • Proxmox
  • ruby
  • Ruby on Rails
  • Security
  • SmartOS
  • Snippets
  • Sound
  • Tech
  • Testing
  • Tooling
  • Twitter
  • UI
  • Uncategorized
  • Video
  • Virtualisierung
  • ZFS

Copyright The Blog of Philipp 2026 | Theme by ThemeinProgress | Proudly powered by WordPress

%d