Memo from git-svn: Could not unmemoize! (25 Oct 2011)

After upgrading to Ubuntu 11.10, git-svn started giving me a hard time.

Updates from the SVN master repository started to fail with error messages like this:

Byte order is not compatible at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 380, 
  at /usr/share/perl/5.12/Memoize/Storable.pm line 21

Could not unmemoize function `lookup_svn_merge', because it was not memoized to begin with 
  at /usr/lib/git-core/git-svn line 3213
END failed--call queue aborted at /usr/lib/git-core/git-svn line 40.

Apparently, git-svn maintains cached meta information in .git/svn/.caches, which the Perl Storable.pm library choked on. I guess what happened is that Ubuntu 11.10 came with a more recent version of Perl and the Perl libraries, and the new version of Storable.pm did not know how to handle data stored with older versions. Again, just a guess. Discussions at http://lists.debian.org/debian-perl/2011/05/msg00023.html, http://lists.debian.org/debian-perl/2011/05/msg00026.html and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618875 suggest this may in fact a bug in the git-svn scripts, but I did not venture to analyse the problem any further.

Anyway, the following took care of the problem for me:

  rm -rf .git/svn/.caches



When asked for a TWiki account, use your own or the default TWikiGuest account.



to top

You are here: Blog > DefinePrivatePublic20111025MemoFromGitSvn

r1.1 - 25 Oct 2011 - 12:11 - ClausBrod to top

Blog
This site
RSS

  2017: 12 - 11 - 10
  2016: 10 - 7 - 3
  2015: 11 - 10 - 9 - 4 - 1
  2014: 5
  2013: 9 - 8 - 7 - 6 - 5
  2012: 2 - 10
  2011: 1 - 8 - 9 - 10 - 12
  2010: 11 - 10 - 9 - 4
  2009: 11 - 9 - 8 - 7 -
     6 - 5 - 4 - 3
  2008: 5 - 4 - 3 - 1
  2007: 12 - 8 - 7 - 6 -
     5 - 4 - 3 - 1
  2006: 4 - 3 - 2 - 1
  2005: 12 - 6 - 5 - 4
  2004: 12 - 11 - 10
  C++
  CoCreate Modeling
  COM & .NET
  Java
  Mac
  Lisp
  OpenSource
  Scripting
  Windows
  Stuff
Changes
Index
Search
Maintenance
Impressum
Datenschutzerklärung
Home



Jump:

Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback