Bug#618875: perl-modules: "Byte order is not compatible at ../../lib/Storable.pm (...)"
James Vega
jamessan at debian.org
Tue May 10 00:02:06 UTC 2011
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.
If whatever was using Storable had used one of the nstore* functions,
then there's no problem. It's just a problem when using store*.
$ perl5.10 -le '
use Storable qw(store_fd);
use FileHandle;
use Data::Dumper;
$f = FileHandle->new(">storable.test");
store_fd({Dumper($f)}, $f);'
$ perl5.12 -le '
use Storable qw(fd_retrieve);
use FileHandle;
use Data::Dumper;
$f = FileHandle->new("<storable.test");
print Dumper(fd_retrieve($f));'
Byte order is not compatible at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/fd_retrieve.al) line 398, at -e line 1
--
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20110509/2d080eb3/attachment.pgp>
More information about the Perl-maintainers
mailing list