Skip Menu |

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 70868
Status: resolved
Priority: 0/
Queue: DBD-SQLite

People
Owner: Nobody in particular
Requestors: nohuhu [...] nohuhu.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: make test fails under Perl 5.6.1
Date: Sun, 11 Sep 2011 11:35:59 +0400
To: <bug-DBD-SQLite [...] rt.cpan.org>
From: Alexander Tokarev <nohuhu [...] nohuhu.org>
Apparently it can't resolve one of the symbols: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01_compile.t .............................. 1/3 # Failed test 'use DBD::SQLite;' # at t/01_compile.t line 15. # Tried to use 'DBD::SQLite'. # Error: Can't load '/export/home/dwalin/build/DBD-SQLite-1.33/blib/arch/auto/DBD/SQLite/SQLite. so' for module DBD::SQLite: ld.so.1: perl: fatal: relocation error: file /export/home/dwalin/build/DBD-SQLite-1.33/blib/arch/auto/DBD/SQLite/SQLite.s o: symbol DPPP_my_sv_2pvbyte: referenced symbol not found at /usr/perl5/5.6.1/lib/sun4-solaris-64int/DynaLoader.pm line 206. # Compilation failed in require at (eval 7) line 2. # BEGIN failed--compilation aborted at (eval 7) line 2. I'm not skilled enough to delve deep in perlguts, so the only solution I see is to bump minimal Perl version in Makefile.PL to avoid making false impression that Perl 5.6 is supported: ------------------------------- 8< ------------------------------- 2c2 < use 5.006; --- Show quoted text
> use 5.008;
267c267 < MIN_PERL_VERSION => '5.006', --- Show quoted text
> MIN_PERL_VERSION => '5.008',
------------------------------- 8< ------------------------------- Actually this condition was the same in 1.31; the latest version I can build with Perl 5.6.1 is 1.29. Regards, Alex.
This is rather an issue of 5.6.x, but anyway, fixed in the trunk without dropping 5.6.x support. On Sun Sep 11 16:36:15 2011, nohuhu@nohuhu.org wrote: Show quoted text
> Apparently it can't resolve one of the symbols: > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/01_compile.t .............................. 1/3 > # Failed test 'use DBD::SQLite;' > # at t/01_compile.t line 15. > # Tried to use 'DBD::SQLite'. > # Error: Can't load > '/export/home/dwalin/build/DBD-SQLite-1.33/blib/arch/auto/DBD/SQLite/
SQLite. Show quoted text
> so' for module DBD::SQLite: ld.so.1: perl: fatal: relocation error:
file Show quoted text
> /export/home/dwalin/build/DBD-SQLite-1.33/blib/arch/auto/DBD/SQLite/
SQLite.s Show quoted text
> o: symbol DPPP_my_sv_2pvbyte: referenced symbol not found at > /usr/perl5/5.6.1/lib/sun4-solaris-64int/DynaLoader.pm line 206. > # Compilation failed in require at (eval 7) line 2. > # BEGIN failed--compilation aborted at (eval 7) line 2. > > I'm not skilled enough to delve deep in perlguts, so the only
solution I see Show quoted text
> is to bump minimal Perl version in Makefile.PL to avoid making false > impression that Perl 5.6 is supported: > > ------------------------------- 8< ------------------------------- > 2c2 > < use 5.006; > ---
> > use 5.008;
> 267c267 > < MIN_PERL_VERSION => '5.006', > ---
> > MIN_PERL_VERSION => '5.008',
> ------------------------------- 8< ------------------------------- > > Actually this condition was the same in 1.31; the latest version I
can build Show quoted text
> with Perl 5.6.1 is 1.29. > > Regards, > Alex. > >
Closing this ticket as DBD::SQLite 1.34_01 with the fix is out. Thanks.