Skip Menu |

This queue is for tickets about the Sphinx-Manager CPAN distribution.

Report information
The Basics
Id: 117429
Status: resolved
Priority: 0/
Queue: Sphinx-Manager

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

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



Subject: System perl used in tests
My smoker machines report the following failure: ... Can't locate Sphinx/Config.pm in @INC (you may need to install the Sphinx::Config module) (@INC contains: /tmpfs/.cpan-build-cpansand/2016090206/Sphinx-Manager-0.06-0/blib/lib /tmpfs/.cpan-build-cpansand/2016090206/Sphinx-Manager-0.06-0/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /tmpfs/.cpan-build-cpansand/2016090206/Sphinx-Manager-0.06-0/t/bin/searchd line 8. BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016090206/Sphinx-Manager-0.06-0/t/bin/searchd line 8. Searchd not running after timeout at /tmpfs/.cpan-build-cpansand/2016090206/Sphinx-Manager-0.06-0/blib/lib/Sphinx/Manager.pm line 224. # Looks like your test exited with 13 just after 2. t/manager.t ....... Dubious, test returned 13 (wstat 3328, 0xd00) Failed 11/13 subtests ... The @INC path indicates that /usr/bin/perl is used here, not the perl use for the current build. Usually it helps to use $^X at some point.
Thanks for the pointer. Have changed #! /usr/bin/perl in test to #! perl, hopefully that's all that's needed. On Fri Sep 02 02:43:05 2016, SREZIC wrote: Show quoted text
> My smoker machines report the following failure: > > ... > Can't locate Sphinx/Config.pm in @INC (you may need to install the > Sphinx::Config module) (@INC contains: /tmpfs/.cpan-build- > cpansand/2016090206/Sphinx-Manager-0.06-0/blib/lib /tmpfs/.cpan-build- > cpansand/2016090206/Sphinx-Manager-0.06-0/blib/arch /etc/perl > /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 > /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 > /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 > /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /tmpfs/.cpan- > build-cpansand/2016090206/Sphinx-Manager-0.06-0/t/bin/searchd line 8. > BEGIN failed--compilation aborted at /tmpfs/.cpan-build- > cpansand/2016090206/Sphinx-Manager-0.06-0/t/bin/searchd line 8. > Searchd not running after timeout at /tmpfs/.cpan-build- > cpansand/2016090206/Sphinx-Manager-0.06-0/blib/lib/Sphinx/Manager.pm > line 224. > # Looks like your test exited with 13 just after 2. > t/manager.t ....... > Dubious, test returned 13 (wstat 3328, 0xd00) > Failed 11/13 subtests > ... > > The @INC path indicates that /usr/bin/perl is used here, not the perl > use for the current build. Usually it helps to use $^X at some point.
It's curious that this helped (usually it should not make a difference if there's /usr/bin/perl or perl in the shebang --- but /usr/bin/env perl indeed would not work). But this particular error does not occur anymore in 0.08. See http://analysis.cpantesters.org/solved?distv=Sphinx-Manager-0.06 vs. http://analysis.cpantesters.org/solved?distv=Sphinx-Manager-0.08 -> no more "qr:(Can't locate \S+pm)". However, there are other (random?) test failures, see http://matrix.cpantesters.org/?dist=Sphinx-Manager+0.08 On 2016-09-08 23:58:24, JJSCHUTZ wrote: Show quoted text
> Thanks for the pointer. Have changed #! /usr/bin/perl in test to #! > perl, hopefully that's all that's needed. > > > On Fri Sep 02 02:43:05 2016, SREZIC wrote:
> > My smoker machines report the following failure: > > > > ... > > Can't locate Sphinx/Config.pm in @INC (you may need to install the > > Sphinx::Config module) (@INC contains: /tmpfs/.cpan-build- > > cpansand/2016090206/Sphinx-Manager-0.06-0/blib/lib /tmpfs/.cpan- > > build- > > cpansand/2016090206/Sphinx-Manager-0.06-0/blib/arch /etc/perl > > /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 > > /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 > > /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 > > /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /tmpfs/.cpan- > > build-cpansand/2016090206/Sphinx-Manager-0.06-0/t/bin/searchd line 8. > > BEGIN failed--compilation aborted at /tmpfs/.cpan-build- > > cpansand/2016090206/Sphinx-Manager-0.06-0/t/bin/searchd line 8. > > Searchd not running after timeout at /tmpfs/.cpan-build- > > cpansand/2016090206/Sphinx-Manager-0.06-0/blib/lib/Sphinx/Manager.pm > > line 224. > > # Looks like your test exited with 13 just after 2. > > t/manager.t ....... > > Dubious, test returned 13 (wstat 3328, 0xd00) > > Failed 11/13 subtests > > ... > > > > The @INC path indicates that /usr/bin/perl is used here, not the perl > > use for the current build. Usually it helps to use $^X at some point.