Skip Menu |

This queue is for tickets about the KinoSearch CPAN distribution.

Report information
The Basics
Id: 63482
Status: resolved
Priority: 0/
Queue: KinoSearch

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

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



Subject: Test failure in 0.31, Perl 5.8.5
Version 0.31 is failing all its tests under Perl 5.8.5 (RHEL4 - don't ask but we might not be able to upgrade Perl for some time). It boils down to "KinoSearch object version 0.165 does not match bootstrap parameter 0.31". I'll dig a bit deeper but just thought to post this report for now. The first test failure in full is below. Cheers and thanks for KinoSearch Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001-build_indexes.t ............ KinoSearch object version 0.165 does not match bootstrap parameter 0.31 at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253. BEGIN failed--compilation aborted at /root/.cpan/build/KinoSearch-0.31/blib/lib/KinoSearch.pm line 14. Compilation failed in require at buildlib/KinoSearch/Test/TestUtils.pm line 23. BEGIN failed--compilation aborted at buildlib/KinoSearch/Test/TestUtils.pm line 23. Compilation failed in require at t/001-build_indexes.t line 14. BEGIN failed--compilation aborted at t/001-build_indexes.t line 14. # Looks like your test exited with 2 before it could output anything. t/001-build_indexes.t ............ Dubious, test returned 2 (wstat 512, 0x200)
On Tue Nov 30 18:34:01 2010, SPACEBAT wrote: Show quoted text
> Version 0.31 is failing all its tests under Perl 5.8.5 (RHEL4 - > don't ask but we might not be able to upgrade Perl for some time).
Perl 5.8.5 should work OK. Show quoted text
> It boils down to "KinoSearch object version 0.165 does not match > bootstrap parameter 0.31".
That's strange. You have an installed version of KinoSearch 0.165. For some reason, when KS 0.31 is being built and tested, the shared object for the installed module is being used instead of the newly compiled shared object. Sounds like something is weird with @INC or permissions. It doesn't seem like like a KinoSearch-specific problem. Show quoted text
> Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/001-build_indexes.t ............ KinoSearch object version 0.165 > does not match bootstrap parameter 0.31 at > /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253. > BEGIN failed--compilation aborted at > /root/.cpan/build/KinoSearch-0.31/blib/lib/KinoSearch.pm line 14.
I'm guessing that this is a permissions issue: you are not running this test as root, and this user are not allowed to use the shared object within the blib directory. Thus the search continues on to later directories in @INC until Perl finds the old, incompatible shared object -- and blows up. Marvin Humphrey
On Tue Nov 30 19:19:41 2010, CREAMYG wrote: Show quoted text
> I'm guessing that this is a permissions issue: you are not running > this test as root, and this user are not allowed to use the shared > object within the blib directory. Thus the search continues on to > later directories in @INC until Perl finds the old, incompatible > shared object -- and blows up.
Hi Marvin, I am running cpan as root, but it seems to have been finding a binary object file from the previous install. I'm using local::lib to install to /apps/site_perl, and the object files were in this directory: /apps/site_perl/5.8.5/i386-linux-thread-multi/auto/KinoSearch Once I removed that directory I got a different error (after wiping the build directory and restarting cpan): Can't locate loadable object for module KinoSearch in @INC (@INC contains: buildlib /root/.cpan/build/KinoSearch-0.31/blib/lib /root/.cpan/build/KinoSearch-0.31/blib/arch /apps/webteam/lib/perl /apps/site_perl/5.8.5/i386-linux-thread-multi /apps/site_perl/5.8.5 /apps/site_perl /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 14 It looks like its not building the C components for some reason. KinoSearch1 installs fine using cpan, and cpanminus just installed KinoSearch-0.31 without a hitch, so I guess its some state that's persisting in my cpan environment. I'm happy for you to mark this resolved (this is a crufty old system), and thanks for your prompt response! Andy
Glad that everything's been sorted. :)