[rt-users] Problem with CPAN and prerequisites for RT 4.0.5

Juanjo juanjillo at gmail.com
Wed Nov 28 17:53:12 EST 2012


IF i make the make test:

t/02graceful.t ....... 1/? [Test::TCP] Child process does not block(PID:
32413, PPID: 32412) at /usr/local/share/perl5/Test/TCP.pm line 121.
t/02graceful.t ....... ok
t/03post.t ........... 32426 at t/03post.t line 9.
Plack::Handler::Starlet: Accepting connections at http://0:50602/
127.0.0.1 - - [28/Nov/2012:23:50:18 +0100] "POST / HTTP/1.1" 200 3 "-"
"libwww-perl/6.04"
t/03post.t ........... ok
t/04-bumpy-life.t .... ok
t/05server-header.t .. 1/?
#   Failed test at t/05server-header.t line 14.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 15.

#   Failed test at t/05server-header.t line 15.
#                   undef
#     doesn't match '(?-xism:Starlet)'
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 16.

#   Failed test at t/05server-header.t line 19.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 20.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 21.

#   Failed test at t/05server-header.t line 21.
#                   undef
#     doesn't match '(?-xism:Hello)'
[Test::TCP] Child process does not block(PID: 32430, PPID: 32429) at
/usr/local/share/perl5/Test/TCP.pm line 121.
# Looks like you failed 4 tests of 6.
t/05server-header.t .. Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests
t/06remote_port.t .... 1/?
#   Failed test at t/06remote_port.t line 17.
Can't call method "sockport" on an undefined value at t/06remote_port.t
line 18.
[Test::TCP] Child process does not block(PID: 32437, PPID: 32436) at
/usr/local/share/perl5/Test/TCP.pm line 121.
# Tests were run but no plan was declared and done_testing() was not seen.
t/06remote_port.t .... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests

Test Summary Report
-------------------
t/05server-header.t (Wstat: 1024 Tests: 6 Failed: 4)
  Failed tests:  1-2, 4, 6
  Non-zero exit status: 4
t/06remote_port.t  (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=7, Tests=118,  7 wallclock secs ( 0.16 usr  0.12 sys +  2.65 cusr
1.52 csys =  4.45 CPU)
Result: FAIL
Failed 2/7 test programs. 5/118 subtests failed.
make: *** [test_dynamic] Error 255




If i make


t/04-bumpy-life.t ....
ok 1 - min
ok 2 - max
1..2
ok
t/05server-header.t ..
not ok 1
not ok 2
ok 3

#   Failed test at t/05server-header.t line 14.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 15.

#   Failed test at t/05server-header.t line 15.
#                   undef
#     doesn't match '(?-xism:Starlet)'
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 16.
not ok 4

#   Failed test at t/05server-header.t line 19.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 20.
ok 5
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 21.
not ok 6

#   Failed test at t/05server-header.t line 21.
#                   undef
#     doesn't match '(?-xism:Hello)'
[Test::TCP] Child process does not block(PID: 32489, PPID: 32488) at
/usr/local/share/perl5/Test/TCP.pm line 121.
1..6
# Looks like you failed 4 tests of 6.
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests
t/06remote_port.t ....
not ok 1

#   Failed test at t/06remote_port.t line 17.
Can't call method "sockport" on an undefined value at t/06remote_port.t
line 18.
[Test::TCP] Child process does not block(PID: 32496, PPID: 32495) at
/usr/local/share/perl5/Test/TCP.pm line 121.
# Tests were run but no plan was declared and done_testing() was not seen.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests

Test Summary Report
-------------------
t/05server-header.t (Wstat: 1024 Tests: 6 Failed: 4)
  Failed tests:  1-2, 4, 6
  Non-zero exit status: 4
t/06remote_port.t  (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=7, Tests=118,  7 wallclock secs ( 0.17 usr  0.13 sys +  2.61 cusr
1.55 csys =  4.46 CPU)
Result: FAIL



2012/11/27 Kevin Falcone <falcone at bestpractical.com>

> On Tue, Nov 27, 2012 at 11:47:44AM +0100, Juanjo wrote:
> >    I have some troubles with Plack::Handler::Starlet, in a frest install
> of Centos 6.3 X64 on a
> >    esx5.1 host
> >
> >    Update system and installed prerequisites (gcc, make, CPAM, YAML...)
>
> You probably want to grab the Starlet-0.16.tar.gz tarball off of CPAN
> manually (using metacpan.org or something) and then tar zxvf
> Starlet-0.16.tar.gz; perl Makefile.PL; make test; prove -lv
> t/05server-header.t and see if it gives you more information about
> what's happening.
>
> If there's nothing useful, you may want to diag() out the $port in
> that test and pause the test and make sure the test server is actually
> starting.
>
> -kevin
>
> >    Update to CPAN v19800
> >    # cpan
> >    cpan> install CPAN
> >    cpan> reload CPAN
> >    cpan> reload index
> >    cpan> install Bundle::CPAN
> >
> >    All seems ok.
> >
> >    cpan[1]> install Bundle::CPAN
> >    CPAN: Storable loaded ok (v2.20)
> >    Reading '/root/.cpan/Metadata'
> >    Database was generated on Tue, 27 Nov 2012 08:31:03 GMT
> >    CPAN: Module::CoreList loaded ok (v2.18)
> >    ExtUtils::MakeMaker is up to date (6.62).
> >    Test::Harness is up to date (3.25).
> >    ExtUtils::CBuilder is up to date (0.280205).
> >    File::Temp is up to date (0.22).
> >    Test::More is up to date (0.98).
> >    Data::Dumper is up to date (2.136).
> >    IO::Compress::Base is up to date (2.058).
> >    Compress::Zlib is up to date (2.058).
> >    IO::Zlib is up to date (1.10).
> >    Archive::Tar is up to date (1.90).
> >    Module::Build is up to date (0.4003).
> >    File::Spec is up to date (3.33).
> >    Digest::SHA is up to date (5.74).
> >    File::HomeDir is up to date (1.00).
> >    Archive::Zip is up to date (1.30).
> >    Net::FTP is up to date (2.77).
> >    Term::ReadKey is up to date (2.30).
> >    Term::ReadLine::Perl is up to date (1.0303).
> >    YAML is up to date (0.84).
> >    Parse::CPAN::Meta is up to date (1.4404).
> >    Text::Glob is up to date (0.09).
> >    CPAN is up to date (1.9800).
> >    File::Which is up to date (1.09).
> >
> >    But in a "make fixdeps" previously to install RT 4.0.5 y get this
> error:
> >
> >    Installing /usr/local/share/man/man3/Convert::Color.3pm
> >    PEVANS/Convert-Color-0.08.tar.gz
> >    ./Build install -- OK
> >
> >    SOME DEPENDENCIES WERE MISSING.
> >    PSGI missing dependencies:
> >    Plack::Handler::Starlet ...MISSING
> >    Can't locate Plack/Handler/Starlet.pm in @INC (@INC contains:
> /usr/local/lib64/perl5
> >    /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
> /usr/share/perl5/vendor_perl
> >    /usr/lib64/perl5 /usr/share/perl5 /root/tmp/rt-4.0.5)
> >    CORE missing dependencies:
> >    MIME::Entity ...MISSING
> >    Can't locate MIME/Entity.pm in @INC (@INC contains:
> /usr/local/lib64/perl5
> >    /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
> /usr/share/perl5/vendor_perl
> >    /usr/lib64/perl5 /usr/share/perl5 /root/tmp/rt-4.0.5)
> >    make: *** [fixdeps] Error 1
> >
> >    If i try to install Plack::Handler::Starlet manually i get this error:
> >
> >    cpan[1]> install Plack::Handler::Starlet
> >    CPAN: Storable loaded ok (v2.20)
> >
> >    t/02graceful.t ....... 1/? [Test::TCP] Child process does not
> block(PID: 26280, PPID: 26279)
> >    at /usr/local/share/perl5/Test/TCP.pm line 121.
> >    t/02graceful.t ....... ok
> >    t/03post.t ........... 26292 at t/03post.t line 9.
> >    Plack::Handler::Starlet: Accepting connections at [1]http://0:50778/
> >    127.0.0.1 - - [27/Nov/2012:11:43:36 +0100] "POST / HTTP/1.1" 200 3
> "-" "libwww-perl/6.04"
> >    t/03post.t ........... ok
> >    t/04-bumpy-life.t .... ok
> >    t/05server-header.t .. 1/?
> >    # Failed test at t/05server-header.t line 14.
> >    Use of uninitialized value $this in pattern match (m//) at
> t/05server-header.t line 15.
> >
> >    # Failed test at t/05server-header.t line 15.
> >    # undef
> >    # doesn't match '(?-xism:Starlet)'
> >    Use of uninitialized value $this in pattern match (m//) at
> t/05server-header.t line 16.
> >
> >    # Failed test at t/05server-header.t line 19.
> >    Use of uninitialized value $this in pattern match (m//) at
> t/05server-header.t line 20.
> >    Use of uninitialized value $this in pattern match (m//) at
> t/05server-header.t line 21.
> >
> >    # Failed test at t/05server-header.t line 21.
> >    # undef
> >    # doesn't match '(?-xism:Hello)'
> >    [Test::TCP] Child process does not block(PID: 26296, PPID: 26295) at
> >    /usr/local/share/perl5/Test/TCP.pm line 121.
> >    # Looks like you failed 4 tests of 6.
> >    t/05server-header.t .. Dubious, test returned 4 (wstat 1024, 0x400)
> >    Failed 4/6 subtests
> >    t/06remote_port.t .... 1/?
> >    # Failed test at t/06remote_port.t line 17.
> >    Can't call method "sockport" on an undefined value at
> t/06remote_port.t line 18.
> >    [Test::TCP] Child process does not block(PID: 26303, PPID: 26302) at
> >    /usr/local/share/perl5/Test/TCP.pm line 121.
> >    # Tests were run but no plan was declared and done_testing() was not
> seen.
> >    t/06remote_port.t .... Dubious, test returned 255 (wstat 65280,
> 0xff00)
> >    Failed 1/1 subtests
> >
> >    But Test::TCP is installed and ok
> >
> >    cpan[2]> i Test::TCP
> >    Module id = Test::TCP
> >    CPAN_USERID TOKUHIROM (Tokuhiro Matsuno <[2]tokuhirom+cpan at gmail.com
> >)
> >    CPAN_VERSION 1.18
> >    CPAN_FILE T/TO/TOKUHIROM/Test-TCP-1.18.tar.gz
> >    UPLOAD_DATE 2012-10-25
> >    MANPAGE Test::TCP - testing TCP program
> >    INST_FILE /usr/local/share/perl5/Test/TCP.pm
> >    INST_VERSION 1.18
> >
> >    cpan[3]> install Test::TCP
> >    Test::TCP is up to date (1.18).
> >
> >    Any help?
> >
> >    Thanks
> >    Kindest regards.
> >
> > References
> >
> >    Visible links
> >    1. http://0:50778/
> >    2. mailto:tokuhirom%2Bcpan at gmail.com
>
> > --------
> > We're hiring! http://bestpractical.com/jobs
>
>
> --------
> We're hiring! http://bestpractical.com/jobs
>
>


-- 
Un saludo.
Juanjo Corral
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20121128/73846a10/attachment.htm>


More information about the rt-users mailing list