Bug#618875: perl-modules: "Byte order is not compatible at ../../lib/Storable.pm (...)"

Dominic Hargreaves dom at earth.li
Sun Mar 20 15:19:21 UTC 2011


tags 618875 + moreinfo
thanks

On Sat, Mar 19, 2011 at 06:24:08AM -0300, Rogério Brito wrote:
> I am keeping a local git mirror of a subversion repository, and, so far, I
> have been using "git svn fetch" successfully to continue updates to this
> mirror.
> 
> Unfortunately, today I noticed that I had the following problem:
> 
> 
> ,----[ git svn fetch ]
> | Index mismatch: cd2156b1a58f071daf68a13b379be465a7a00c57 != a141066946f2b3dce0c6338413dbd951c74cc311
> | rereading 2e87a1e3ff25fae2d6225a4c073dede454cdf8e7
> | 	M	cmake/Version.cmake

[snip]

> | Byte order is not compatible at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 380, at /usr/share/perl/5.10.1/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 3197
> | END failed--call queue aborted at /usr/lib/git-core/git-svn line 40.
> `----
> 
> I am not entirely sure that the problem that I am seeing lies with
> Storable.pm, but that's the first thing that crossed my mind. If you think
> that the culprit is git-core, feel free to reassign it or ask me for further
> information.
> 
> I will gladly provide with as much as I know/can find out.

Did this problem manifest after an upgrade of perl-modules or git-svn
(you don't mention which version of git-svn you're using)?

I can't reproduce this using a simple Memoize test program run before
and after an upgrade between 5.10.1-17 and 5.10.1-18, nor using
git-svn on a simple repo (but that's because the memoized code path
isn't used there).

Can you come up with a simple recipe to reproduce this using publically
available repositories?

There's a thread about the same error message at
<http://groups.google.com/group/git-version-control/browse_thread/thread/2960fe2d4c8c61b0?pli=1>
which is unfortunately not very conclusive. Does reverting to an old
version of git-svn help at all?

Thanks,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)






More information about the Perl-maintainers mailing list