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

Dominic Hargreaves dom at earth.li
Tue May 10 07:32:06 UTC 2011


retitle 618875 git-svn: "Byte order is not compatible at ../../lib/Storable.pm (...)"
reassign 618875 git-svn
merge 618875 587650
thanks

On Mon, May 09, 2011 at 10:11:15PM -0400, James Vega wrote:
> On Mon, May 09, 2011 at 08:02:06PM -0400, James Vega wrote:
> > On Sun, May 08, 2011 at 09:50:42AM +0200, Christoph Biedl wrote:
> > > Dominic Hargreaves wrote...
> > > 
> > > > I can't promise to do anything with it in the near future, but happy
> > > > to grab a copy of it from somewhere if you can easily make it
> > > > available, to work on at a later date. Feel free to drop me a line
> > > > in private if you prefer.
> > > 
> > > For the time being I've at least archived that copy.
> > > 
> > > FWIW, amd64 is appearently not affected:
> > 
> > That makes sense given that, I think, this is related to the
> > -Duse64bitint change in the Perl 5.12 packaging.  On 32-bit systems, the
> > Perl 5.10 packaging wrote out Storable data in such a way that the new
> > use64bitint Perl 5.12 Storable can't read back in.
> 
> Just tested with Perl 5.12 built without -Duse64bitint and the file
> Storable creates indeed can't be read by 5.12 with -Duse64bitint.  This
> is also documented in the "Storable Magic" section of Storable's POD:
> 
>   $info = Storable::file_magic($filename)
>>       intsize, longsize, ptrsize, nvsize
>           These are only present when netorder is FALSE. These are the
>           size of the various C datatypes of the Perl that created this
>           image. These must match the current Perl for the image to be
>           readable by Storable.
> 
> The odd bit is that git-svn seems to have been using netorder (via
> Memoize::Storable's nstore option) since the use of Memoize::Storable
> was introduced (git v1.7.0).

I've just noticed that there is already a bug in git-svn about this;
the consensus there seems to be that this is a git-svn bug, and it
appears (as in this bug) that it appears sporadically when the perl
version hasn't changed, but it is also being triggered by the perl 5.12
update.

Merging the two reports seems most appropriate at this point.

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