Bug#533545: perl: Byte order is not compatible on a 64bit system
Niko Tyni
ntyni at debian.org
Fri Jul 24 19:49:50 UTC 2009
On Thu, Jun 18, 2009 at 05:36:41PM +0200, Marco Benecke wrote:
> Package: perl
> Version: 5.10.0-19
> Severity: important
> We use OpenID on our Webapp, wich runnes good on Etch. But after our upgrade to Lenny we geht this Message on our 64bit Systems:
> Byte order is not compatible at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/thaw.al) line 415, at /usr/share/perl5/URI/Fetch.pm line 49
>
> I think this is a error in the binary part of Storable, a right recompile should help.
Sorry for the delay.
I don't think recompiling Storable would help, this means that the
stored data is not compatible with it.
I tested this by fetching a URL on Etch/amd64 with this script, created
based on URI::Fetch documentation:
#!/usr/bin/perl -w
use strict;
use URI::Fetch;
use Cache::File;
## Fetch using an on-disk cache that URI::Fetch manages for you.
my $cache = Cache::File->new( cache_root => '/tmp/cache' );
my $res = URI::Fetch->fetch(shift,
Cache => $cache
)
or die URI::Fetch->errstr;
I then copied /tmp/cache over to a Lenny system with the same architecture,
and the script succesfully retrieved the URL from the cache.
Could you please give more details? Is the serialized data stored and
retrieved on the same system? I take it the system architecture
wasn't changed from 32-bit to 64-bit along with the upgrade?
Cheers,
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list