Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl Misc (http://www.velocityreviews.com/forums/f67-perl-misc.html)
-   -   Help with install from CPAN (http://www.velocityreviews.com/forums/t946411-help-with-install-from-cpan.html)

Dave Saville 05-21-2012 10:07 AM

Help with install from CPAN
 
Finally decided to have another go wirh 5.14.2 on OS/2.

As usual it is a binary port but I have it installed in the same
environment as it was built. Little things work but I cannot get it to
install anything. It chugs along happily until it gets to the test
portion and then fails with every single test saying "no subtests
run". Here is a log:

CPAN.pm: Going to build T/TO/TOKUHIROM/Test-Requires-0.06.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Test::Requires
Writing MYMETA.yml
cp lib/Test/Requires.pm blib/lib/Test/Requires.pm
TOKUHIROM/Test-Requires-0.06.tar.gz
make.exe -- OK
'YAML' not installed, will not store persistent state
Running make test
U:/PERL5/BIN/PERL.EXE "-MExtUtils::Command::MM" "-e" "test_harness(0,
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00_compile.t .........
No subtests run
t/01_simple.t ..........
No subtests run
t/02_no_plan.t .........
No subtests run
t/03_import_hashref.t ..
No subtests run
t/04_import_array.t ....
No subtests run
t/05_success.t .........
No subtests run

I have modified the first test to dump @INC and the paths are correct
with the blibs* ahead of the standard @INC contents

use strict;
use Test::More tests => 1;

#BEGIN { use_ok 'Test::Requires' }
open LOG, ">t:/tmp/stuff";
foreach (@INC)
{
print LOG "$_\n";
}

And invoking as above it does not write the log but if I comment out
the use Test::More line as well then it does log a correct @INC. .

BTW why does the cpan module download a fresh copy of the module every
time you try and install it?
--
Regards
Dave Saville

Dave Saville 05-21-2012 06:39 PM

Re: Help with install from CPAN
 
On Mon, 21 May 2012 14:26:34 UTC, Ben Morrow <ben@morrow.me.uk> wrote:

>
> Quoth "Dave Saville" <dave@invalid.invalid>:
> > Finally decided to have another go wirh 5.14.2 on OS/2.
> >
> > As usual it is a binary port but I have it installed in the same
> > environment as it was built. Little things work but I cannot get it to
> > install anything. It chugs along happily until it gets to the test
> > portion and then fails with every single test saying "no subtests
> > run". Here is a log:
> >
> > CPAN.pm: Going to build T/TO/TOKUHIROM/Test-Requires-0.06.tar.gz
> >
> > Checking if your kit is complete...
> > Looks good
> > Writing Makefile for Test::Requires
> > Writing MYMETA.yml
> > cp lib/Test/Requires.pm blib/lib/Test/Requires.pm
> > TOKUHIROM/Test-Requires-0.06.tar.gz
> > make.exe -- OK
> > 'YAML' not installed, will not store persistent state
> > Running make test
> > U:/PERL5/BIN/PERL.EXE "-MExtUtils::Command::MM" "-e" "test_harness(0,
> > 'inc', 'blib/lib', 'blib/arch')" t/*.t
> > t/00_compile.t .........
> > No subtests run

>
> What happens if you change to the build directory and run
>
> perl -Mblib t/00_compile.t
>
> by hand? (I don't know if you need a backslash there?)
>


No you don't.

[T:\.cpan\build\Test-Requires-0.06-OE3KRw]perl -Mblib t/00_compile.t
1..1
ok 1 - use Test::More;

> <snip>
> > I have modified the first test to dump @INC and the paths are correct
> > with the blibs* ahead of the standard @INC contents
> >
> > use strict;
> > use Test::More tests => 1;
> >
> > #BEGIN { use_ok 'Test::Requires' }
> > open LOG, ">t:/tmp/stuff";
> > foreach (@INC)
> > {
> > print LOG "$_\n";
> > }
> >
> > And invoking as above it does not write the log but if I comment out
> > the use Test::More line as well then it does log a correct @INC. .

>
> If it doesn't write the log at all then presumably it hits a fatal error
> while loading Test::More. Running the test manually should give you more
> information about what that is. What does something really simple like
>
> perl -MTest::More -e1
>
> do?
>


[T:\.cpan\build\Test-Requires-0.06-OE3KRw]perl -MTest::More -e1

[T:\.cpan\build\Test-Requires-0.06-OE3KRw]

ie not a lot. OTH it does not throw any errors. It does not matter
what module you try and install the tests fail the same way.

> > BTW why does the cpan module download a fresh copy of the module every
> > time you try and install it?

>
> It shouldn't. It does untar its tarballs again each time, to make sure
> it's starting with clean source, but it shouldn't download a new copy.


Haha, that must be what I am seeing. under build the module name
suffixed with what looks like a random string

--
Regards
Dave Saville

Dave Saville 05-22-2012 08:35 AM

Re: Help with install from CPAN
 
On Mon, 21 May 2012 23:04:41 UTC, Ben Morrow <ben@morrow.me.uk> wrote:

Morning Ben

>
> Quoth "Dave Saville" <dave@invalid.invalid>:
> > On Mon, 21 May 2012 14:26:34 UTC, Ben Morrow <ben@morrow.me.uk> wrote:
> > > Quoth "Dave Saville" <dave@invalid.invalid>:
> > > >
> > > > Running make test
> > > > U:/PERL5/BIN/PERL.EXE "-MExtUtils::Command::MM" "-e" "test_harness(0,
> > > > 'inc', 'blib/lib', 'blib/arch')" t/*.t
> > > > t/00_compile.t .........
> > > > No subtests run
> > >
> > > What happens if you change to the build directory and run
> > >
> > > perl -Mblib t/00_compile.t
> > >
> > > by hand? (I don't know if you need a backslash there?)

> >
> > No you don't.
> >
> > [T:\.cpan\build\Test-Requires-0.06-OE3KRw]perl -Mblib t/00_compile.t
> > 1..1
> > ok 1 - use Test::More;

>
> (I presume you mean 'Test::Requires' there?) Well... that's very
> peculiar: that's the correct output, and Test::Harness should have said
> '1/1' rather than 'No subtests run'. Just to confirm, can you untar a
> fresh copy of the source, and run
>
> perl Makefile.PL
> make
> make test
>


[T:\tmp\Test-Requires-0.06]perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Test::Requires
Writing MYMETA.yml

[T:\tmp\Test-Requires-0.06]make
cp lib/Test/Requires.pm blib/lib/Test/Requires.pm

[T:\tmp\Test-Requires-0.06]make test
U:/PERL5/BIN/PERL.EXE "-MExtUtils::Command::MM" "-e" "test_harness(0,
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00_compile.t ......... No subtests run
t/01_simple.t .......... No subtests run
t/02_no_plan.t ......... No subtests run
t/03_import_hashref.t .. No subtests run
t/04_import_array.t .... No subtests run
t/05_success.t ......... No subtests run

Test Summary Report
-------------------
t/00_compile.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
t/01_simple.t (Wstat: 1 Tests: 0 Failed: 0)
Non-zero wait status: 1
Parse errors: No plan found in TAP output
t/02_no_plan.t (Wstat: 2 Tests: 0 Failed: 0)
Non-zero wait status: 2
Parse errors: No plan found in TAP output
t/03_import_hashref.t (Wstat: 3 Tests: 0 Failed: 0)
Non-zero wait status: 3
Parse errors: No plan found in TAP output
t/04_import_array.t (Wstat: 4 Tests: 0 Failed: 0)
Non-zero wait status: 4
Parse errors: No plan found in TAP output
t/05_success.t (Wstat: 5 Tests: 0 Failed: 0)
Non-zero wait status: 5
Parse errors: No plan found in TAP output
Files=6, Tests=0, 2 wallclock secs ( 1.95 usr + 0.00 sys = 1.95
CPU)
Result: FAIL
Failed 6/6 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 10

> and then
>
> perl -Mblib t/00_compile.t
>


[T:\tmp\Test-Requires-0.06] perl -Mblib t/00_compile.t
1..1
ok 1 - use Test::Requires;

> and maybe a couple of the others?
>


[T:\tmp\Test-Requires-0.06]perl -Mblib t/01_simple.t
1..10
ok 1 # skip Test requires module
'Acme::Unknown::Missing::Module::Name' but it's not found

[T:\tmp\Test-Requires-0.06]perl -Mblib t/02_no_plan.t
ok 1 # skip Test requires module
'Acme::Unknown::Missing::Module::Name' but it's not found
1..1

[T:\tmp\Test-Requires-0.06]perl -Mblib t/03_import_hashref.t
1..0 # SKIP Test requires module
'Acme::Unknown::Missing::Module::Name' but it's not found

[T:\tmp\Test-Requires-0.06]perl -Mblib t/04_import_array.t
1..0 # SKIP Test requires module
'Acme::Unknown::Missing::Module::Name' but it's not found

[T:\tmp\Test-Requires-0.06]perl -Mblib t/05_success.t
1..1
ok 1


> Maybe you could try updating your copies of ExtUtils::MakeMaker,
> Test::More and Test::Harness? (Though if you can't run 'make test', it's
> probably not a good idea to install them.)
>


I tried MakeMaker but as you say that falls over as well :-( Seeing as
how this is just a test setup I suppose I could just force them and
then see if anything installs.

> It's a pity you can't rerun the core perl test suite. I don't suppose
> you fancy trying to build perl from source? As I recall, when Shmuel
> tried it (on OS/2) it was not entirely straightforward.


Correct :-) Why can't I run the test suite? Is it just a question of
pulling it from the tarball or does it also get modified by configure
and friends for the target OS?

>
> <snip>
> > > > And invoking as above it does not write the log but if I comment out
> > > > the use Test::More line as well then it does log a correct @INC. .
> > >
> > > If it doesn't write the log at all then presumably it hits a fatal error
> > > while loading Test::More. Running the test manually should give you more
> > > information about what that is. What does something really simple like
> > >
> > > perl -MTest::More -e1
> > >
> > > do?

> >
> > [T:\.cpan\build\Test-Requires-0.06-OE3KRw]perl -MTest::More -e1
> >
> > [T:\.cpan\build\Test-Requires-0.06-OE3KRw]
> >
> > ie not a lot. OTH it does not throw any errors.

>
> That's correct. It seems the problem is not with Test::More, but with
> Test::Harness (which reads the results and prints the summaries) or with
> the connection between them.
>
> What do you get if (after 'perl Makefile.PL' and 'make') you run
>
> perl -MTest::Harness -Mblib -e"runtests q!t/00_compile.t!"
>


[T:\tmp\Test-Requires-0.06]perl -MTest::Harness -Mblib -e"runtests
q!t/00_compile.t!"
t/00_compile.t .. No subtests run

Test Summary Report
-------------------
t/00_compile.t (Wstat: 69 Tests: 0 Failed: 0)
Non-zero wait status: 69
Parse errors: No plan found in TAP output
Files=1, Tests=0, 1 wallclock secs ( 0.50 usr + 0.00 sys = 0.50
CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.


--
Regards
Dave Saville

Dave Saville 05-22-2012 01:34 PM

Re: Help with install from CPAN
 
On Mon, 21 May 2012 23:04:41 UTC, Ben Morrow <ben@morrow.me.uk> wrote:

<snip>

> Maybe you could try updating your copies of ExtUtils::MakeMaker,
> Test::More and Test::Harness? (Though if you can't run 'make test', it's
> probably not a good idea to install them.)


Test::Harness is up to date (3.23).
Test::More is up to date (0.98).

Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.960001)
Enter 'h' for help.
Going to read 't:/CPAN/Metadata'
Database was generated on Tue, 22 May 2012 12:43:03 GMT
Running install for module 'ExtUtils::MakeMaker'
Running make for M/MS/MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz
Checksum for
t:/CPAN/sources/authors/id/M/MS/MSCHWERN/ExtUtils-MakeMaker-6.62.tar.g
z ok
Scanning cache t:/CPAN/build for sizes
.................................................. ......................
.....DONE
CPAN.pm: Going to build M/MS/MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz
Using included version of CPAN::Meta (2.112150) as it is newer than
the installed version (2.110440).
Using included version of File::Copy::Recursive (0.38) because it is
not already installed.
Using included version of JSON::PP::Compat5006 (1.09) because it is
not already installed.
Checking if your kit is complete...
Looks good
Writing Makefile for ExtUtils::MakeMaker
Writing MYMETA.yml and MYMETA.json
cp inc/File/Copy/Recursive.pm blib/lib/File/Copy/Recursive.pm
cp lib/ExtUtils/MM_VOS.pm blib/lib/ExtUtils/MM_VOS.pm
cp lib/ExtUtils/Mksymlists.pm blib/lib/ExtUtils/Mksymlists.pm
cp lib/ExtUtils/MM.pm blib/lib/ExtUtils/MM.pm
cp lib/ExtUtils/MM_UWIN.pm blib/lib/ExtUtils/MM_UWIN.pm
cp lib/ExtUtils/testlib.pm blib/lib/ExtUtils/testlib.pm
cp lib/ExtUtils/MM_DOS.pm blib/lib/ExtUtils/MM_DOS.pm
cp lib/ExtUtils/MM_Cygwin.pm blib/lib/ExtUtils/MM_Cygwin.pm
cp lib/ExtUtils/MM_Win95.pm blib/lib/ExtUtils/MM_Win95.pm
cp lib/ExtUtils/Liblist.pm blib/lib/ExtUtils/Liblist.pm
cp lib/ExtUtils/MM_AIX.pm blib/lib/ExtUtils/MM_AIX.pm
cp lib/ExtUtils/MM_Darwin.pm blib/lib/ExtUtils/MM_Darwin.pm
cp lib/ExtUtils/Liblist/Kid.pm blib/lib/ExtUtils/Liblist/Kid.pm
cp lib/ExtUtils/Mkbootstrap.pm blib/lib/ExtUtils/Mkbootstrap.pm
cp lib/ExtUtils/MakeMaker/FAQ.pod blib/lib/ExtUtils/MakeMaker/FAQ.pod
cp lib/ExtUtils/MM_NW5.pm blib/lib/ExtUtils/MM_NW5.pm
cp lib/ExtUtils/MakeMaker.pm blib/lib/ExtUtils/MakeMaker.pm
cp lib/ExtUtils/MM_OS2.pm blib/lib/ExtUtils/MM_OS2.pm
cp inc/CPAN/Meta/Feature.pm blib/lib/CPAN/Meta/Feature.pm
cp lib/ExtUtils/MM_Unix.pm blib/lib/ExtUtils/MM_Unix.pm
cp lib/ExtUtils/MM_Win32.pm blib/lib/ExtUtils/MM_Win32.pm
cp inc/CPAN/Meta/Spec.pm blib/lib/CPAN/Meta/Spec.pm
cp inc/CPAN/Meta/History.pm blib/lib/CPAN/Meta/History.pm
cp lib/ExtUtils/MY.pm blib/lib/ExtUtils/MY.pm
cp lib/ExtUtils/MM_MacOS.pm blib/lib/ExtUtils/MM_MacOS.pm
cp lib/ExtUtils/MM_VMS.pm blib/lib/ExtUtils/MM_VMS.pm
cp lib/ExtUtils/MM_BeOS.pm blib/lib/ExtUtils/MM_BeOS.pm
cp lib/ExtUtils/MakeMaker/Tutorial.pod
blib/lib/ExtUtils/MakeMaker/Tutorial.pod
cp lib/ExtUtils/MM_QNX.pm blib/lib/ExtUtils/MM_QNX.pm
cp inc/CPAN/Meta/Converter.pm blib/lib/CPAN/Meta/Converter.pm
cp lib/ExtUtils/Command/MM.pm blib/lib/ExtUtils/Command/MM.pm
cp inc/JSON/PP/Compat5006.pm blib/lib/JSON/PP/Compat5006.pm
cp lib/ExtUtils/MakeMaker/Config.pm
blib/lib/ExtUtils/MakeMaker/Config.pm
cp inc/CPAN/Meta.pm blib/lib/CPAN/Meta.pm
cp inc/CPAN/Meta/Prereqs.pm blib/lib/CPAN/Meta/Prereqs.pm
cp inc/CPAN/Meta/Validator.pm blib/lib/CPAN/Meta/Validator.pm
cp lib/ExtUtils/MM_Any.pm blib/lib/ExtUtils/MM_Any.pm
T:/PERL5/BIN/PERL.EXE "-Iblib/arch" "-Iblib/lib" -MExtUtils::Command
-e 'cp' -- bin/instmodsh blib/script/instmodsh
T:/PERL5/BIN/PERL.EXE "-Iblib/arch" "-Iblib/lib" -MExtUtils::MY -e
'MY->fixin(shift)' -- blib/script/instmodsh
MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz
make.exe -- OK
'YAML' not installed, will not store persistent state
Running make test
T:/PERL5/BIN/PERL.EXE "-Iblib/arch" "-Iblib/lib"
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/00compile.t .............
No subtests run
t/arch_check.t ............
No subtests run
t/backwards.t .............
No subtests run
t/basic.t .................
No subtests run
t/build_man.t .............
No subtests run
t/cd.t ....................
No subtests run
t/config.t ................
No subtests run
t/dir_target.t ............
No subtests run
t/FIRST_MAKEFILE.t ........
No subtests run
t/fix_libs.t ..............
No subtests run
t/fixin.t .................
No subtests run
t/hints.t .................
No subtests run
t/INST.t ..................
No subtests run
t/INST_PREFIX.t ...........
No subtests run
t/INSTALL_BASE.t ..........
No subtests run
t/installed_file.t ........
No subtests run
t/is_of_type.t ............
No subtests run
t/Liblist.t ...............
No subtests run
t/Liblist_Kid.t ...........
No subtests run
t/make.t ..................
No subtests run
t/MakeMaker_Parameters.t ..
No subtests run
t/maketext_filter.t .......
No subtests run
t/meta_convert.t ..........
No subtests run
t/metafile_data.t .........
No subtests run
t/metafile_file.t .........
No subtests run
t/min_perl_version.t ......
No subtests run
t/miniperl.t ..............
No subtests run
t/Mkbootstrap.t ...........
No subtests run
t/MM_Any.t ................
No subtests run
t/MM_BeOS.t ...............
No subtests run
t/MM_Cygwin.t .............
No subtests run
t/MM_NW5.t ................
No subtests run
t/MM_OS2.t ................
No subtests run
t/MM_Unix.t ...............
No subtests run
t/MM_VMS.t ................
No subtests run
t/MM_Win32.t ..............
No subtests run
t/oneliner.t ..............
No subtests run
t/parse_abstract.t ........
No subtests run
t/parse_version.t .........
No subtests run
t/PL_FILES.t ..............
No subtests run
t/pm.t ....................
No subtests run
t/pm_to_blib.t ............
No subtests run
t/pod2man.t ...............
No subtests run
t/postamble.t .............
No subtests run
t/prefixify.t .............
No subtests run
t/prereq.t ................
No subtests run
t/prereq_print.t ..........
No subtests run
t/problems.t ..............
No subtests run
t/prompt.t ................
No subtests run
t/recurs.t ................
No subtests run
t/revision.t ..............
No subtests run
t/several_authors.t .......
No subtests run
t/split_command.t .........
No subtests run
t/test_boilerplate.t ......
No subtests run
t/testlib.t ...............
No subtests run
t/VERSION_FROM.t ..........
No subtests run
t/WriteEmptyMakefile.t ....
No subtests run
t/writemakefile_args.t ....
No subtests run
t/xs.t ....................
No subtests run
Test Summary Report
-------------------
t/00compile.t (Wstat: 189 Tests: 0 Failed: 0)
Non-zero wait status: 189
Parse errors: No plan found in TAP output
t/arch_check.t (Wstat: 190 Tests: 0 Failed: 0)
Non-zero wait status: 190
Parse errors: No plan found in TAP output
t/backwards.t (Wstat: 191 Tests: 0 Failed: 0)
Non-zero wait status: 191
Parse errors: No plan found in TAP output
t/basic.t (Wstat: 192 Tests: 0 Failed: 0)
Non-zero wait status: 192
Parse errors: No plan found in TAP output
t/build_man.t (Wstat: 193 Tests: 0 Failed: 0)
Non-zero wait status: 193
Parse errors: No plan found in TAP output
t/cd.t (Wstat: 194 Tests: 0 Failed: 0)
Non-zero wait status: 194
Parse errors: No plan found in TAP output
t/config.t (Wstat: 195 Tests: 0 Failed: 0)
Non-zero wait status: 195
Parse errors: No plan found in TAP output
t/dir_target.t (Wstat: 196 Tests: 0 Failed: 0)
Non-zero wait status: 196
Parse errors: No plan found in TAP output
t/FIRST_MAKEFILE.t (Wstat: 197 Tests: 0 Failed: 0)
Non-zero wait status: 197
Parse errors: No plan found in TAP output
t/fix_libs.t (Wstat: 198 Tests: 0 Failed: 0)
Non-zero wait status: 198
Parse errors: No plan found in TAP output
t/fixin.t (Wstat: 199 Tests: 0 Failed: 0)
Non-zero wait status: 199
Parse errors: No plan found in TAP output
t/hints.t (Wstat: 200 Tests: 0 Failed: 0)
Non-zero wait status: 200
Parse errors: No plan found in TAP output
t/INST.t (Wstat: 201 Tests: 0 Failed: 0)
Non-zero wait status: 201
Parse errors: No plan found in TAP output
t/INST_PREFIX.t (Wstat: 202 Tests: 0 Failed: 0)
Non-zero wait status: 202
Parse errors: No plan found in TAP output
t/INSTALL_BASE.t (Wstat: 203 Tests: 0 Failed: 0)
Non-zero wait status: 203
Parse errors: No plan found in TAP output
t/installed_file.t (Wstat: 204 Tests: 0 Failed: 0)
Non-zero wait status: 204
Parse errors: No plan found in TAP output
t/is_of_type.t (Wstat: 205 Tests: 0 Failed: 0)
Non-zero wait status: 205
Parse errors: No plan found in TAP output
t/Liblist.t (Wstat: 206 Tests: 0 Failed: 0)
Non-zero wait status: 206
Parse errors: No plan found in TAP output
t/Liblist_Kid.t (Wstat: 207 Tests: 0 Failed: 0)
Non-zero wait status: 207
Parse errors: No plan found in TAP output
t/make.t (Wstat: 208 Tests: 0 Failed: 0)
Non-zero wait status: 208
Parse errors: No plan found in TAP output
t/MakeMaker_Parameters.t (Wstat: 209 Tests: 0 Failed: 0)
Non-zero wait status: 209
Parse errors: No plan found in TAP output
t/maketext_filter.t (Wstat: 210 Tests: 0 Failed: 0)
Non-zero wait status: 210
Parse errors: No plan found in TAP output
t/meta_convert.t (Wstat: 211 Tests: 0 Failed: 0)
Non-zero wait status: 211
Parse errors: No plan found in TAP output
t/metafile_data.t (Wstat: 212 Tests: 0 Failed: 0)
Non-zero wait status: 212
Parse errors: No plan found in TAP output
t/metafile_file.t (Wstat: 213 Tests: 0 Failed: 0)
Non-zero wait status: 213
Parse errors: No plan found in TAP output
t/min_perl_version.t (Wstat: 214 Tests: 0 Failed: 0)
Non-zero wait status: 214
Parse errors: No plan found in TAP output
t/miniperl.t (Wstat: 215 Tests: 0 Failed: 0)
Non-zero wait status: 215
Parse errors: No plan found in TAP output
t/Mkbootstrap.t (Wstat: 216 Tests: 0 Failed: 0)
Non-zero wait status: 216
Parse errors: No plan found in TAP output
t/MM_Any.t (Wstat: 217 Tests: 0 Failed: 0)
Non-zero wait status: 217
Parse errors: No plan found in TAP output
t/MM_BeOS.t (Wstat: 218 Tests: 0 Failed: 0)
Non-zero wait status: 218
Parse errors: No plan found in TAP output
t/MM_Cygwin.t (Wstat: 219 Tests: 0 Failed: 0)
Non-zero wait status: 219
Parse errors: No plan found in TAP output
t/MM_NW5.t (Wstat: 220 Tests: 0 Failed: 0)
Non-zero wait status: 220
Parse errors: No plan found in TAP output
t/MM_OS2.t (Wstat: 221 Tests: 0 Failed: 0)
Non-zero wait status: 221
Parse errors: No plan found in TAP output
t/MM_Unix.t (Wstat: 222 Tests: 0 Failed: 0)
Non-zero wait status: 222
Parse errors: No plan found in TAP output
t/MM_VMS.t (Wstat: 223 Tests: 0 Failed: 0)
Non-zero wait status: 223
Parse errors: No plan found in TAP output
t/MM_Win32.t (Wstat: 224 Tests: 0 Failed: 0)
Non-zero wait status: 224
Parse errors: No plan found in TAP output
t/oneliner.t (Wstat: 225 Tests: 0 Failed: 0)
Non-zero wait status: 225
Parse errors: No plan found in TAP output
t/parse_abstract.t (Wstat: 226 Tests: 0 Failed: 0)
Non-zero wait status: 226
Parse errors: No plan found in TAP output
t/parse_version.t (Wstat: 227 Tests: 0 Failed: 0)
Non-zero wait status: 227
Parse errors: No plan found in TAP output
t/PL_FILES.t (Wstat: 228 Tests: 0 Failed: 0)
Non-zero wait status: 228
Parse errors: No plan found in TAP output
t/pm.t (Wstat: 229 Tests: 0 Failed: 0)
Non-zero wait status: 229
Parse errors: No plan found in TAP output
t/pm_to_blib.t (Wstat: 230 Tests: 0 Failed: 0)
Non-zero wait status: 230
Parse errors: No plan found in TAP output
t/pod2man.t (Wstat: 231 Tests: 0 Failed: 0)
Non-zero wait status: 231
Parse errors: No plan found in TAP output
t/postamble.t (Wstat: 232 Tests: 0 Failed: 0)
Non-zero wait status: 232
Parse errors: No plan found in TAP output
t/prefixify.t (Wstat: 233 Tests: 0 Failed: 0)
Non-zero wait status: 233
Parse errors: No plan found in TAP output
t/prereq.t (Wstat: 234 Tests: 0 Failed: 0)
Non-zero wait status: 234
Parse errors: No plan found in TAP output
t/prereq_print.t (Wstat: 235 Tests: 0 Failed: 0)
Non-zero wait status: 235
Parse errors: No plan found in TAP output
t/problems.t (Wstat: 236 Tests: 0 Failed: 0)
Non-zero wait status: 236
Parse errors: No plan found in TAP output
t/prompt.t (Wstat: 237 Tests: 0 Failed: 0)
Non-zero wait status: 237
Parse errors: No plan found in TAP output
t/recurs.t (Wstat: 238 Tests: 0 Failed: 0)
Non-zero wait status: 238
Parse errors: No plan found in TAP output
t/revision.t (Wstat: 239 Tests: 0 Failed: 0)
Non-zero wait status: 239
Parse errors: No plan found in TAP output
t/several_authors.t (Wstat: 240 Tests: 0 Failed: 0)
Non-zero wait status: 240
Parse errors: No plan found in TAP output
t/split_command.t (Wstat: 241 Tests: 0 Failed: 0)
Non-zero wait status: 241
Parse errors: No plan found in TAP output
t/test_boilerplate.t (Wstat: 242 Tests: 0 Failed: 0)
Non-zero wait status: 242
Parse errors: No plan found in TAP output
t/testlib.t (Wstat: 243 Tests: 0 Failed: 0)
Non-zero wait status: 243
Parse errors: No plan found in TAP output
t/VERSION_FROM.t (Wstat: 244 Tests: 0 Failed: 0)
Non-zero wait status: 244
Parse errors: No plan found in TAP output
t/WriteEmptyMakefile.t (Wstat: 245 Tests: 0 Failed: 0)
Non-zero wait status: 245
Parse errors: No plan found in TAP output
t/writemakefile_args.t (Wstat: 246 Tests: 0 Failed: 0)
Non-zero wait status: 246
Parse errors: No plan found in TAP output
t/xs.t (Wstat: 247 Tests: 0 Failed: 0)
Non-zero wait status: 247
Parse errors: No plan found in TAP output
Files=59, Tests=0, 12 wallclock secs (12.62 usr + 0.00 sys = 12.62
CPU)
Result: FAIL
MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz
make.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
reports MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz : make_test NO
install: install a distribution
force: redo a command
Terminal does not support GetHistory.
Lockfile removed.

I then went to the build directory and just did a make install - but
it has made no difference :-(


--
Regards
Dave Saville

Dave Saville 05-22-2012 04:46 PM

Re: Help with install from CPAN
 
On Tue, 22 May 2012 16:03:47 UTC, Ben Morrow <ben@morrow.me.uk> wrote:

<snip>

> OK, now that's really suspicious. Since (I assume) most of those test
> scripts are actually passing, Wstat should be 0 every time; the
> incrementing value makes me think something has gone badly wrong with
> the process-invocation machinery.
>
> I suspect at this point that either your perl binaries or your EMX (or
> whatever it's called) installation are seriously broken. Are you sure
> you installed everything right? Are there any environment variables you
> need to set? Is perl using the right shell (I don't know what the right
> shell is under OS/2, but I understand it isn't cmd.exe)?


It's not EMX as such anymore even us dinosaur move forward :-) Some of
us do have our suspicions about our current libc though. perl 5.8.2
runs more or less OK in doing CPAN as long as there is no compile
involved it usually works - Compile problems because of mis matched
paths between how the binary was built and what I have. So that
eliminates environment variables. The only difference in the setup is
perl 5.8.2 gets PERLLIB_PREFIX correct whilst 5.14 truncates the
paths. When it does the substitution it truncates the modifed path to
the length of the original. We have not tracked down why as the code
in that area does not appear to have changed from 5.10 which worked.
We suspect the issue is the significant rewrite to S_incpush in
perl.c. Near line 4432 we have

libdir = newSVpvn(PERLLIB_MANGLE(dir, len), len);

If we are reading the code right, this will do the substitution and
create a new string chopping it off at the old length. What I don't
understand is why 5.10.0 and older versions seem to work correctly
since the code is similar.


>
> If you run
>
> perl -E"say system q!perl -e1! for 1..3"
>
> what do you get? (You should get 3 lines saying '0'.)


0
0
0

--
Regards
Dave Saville

Dave Saville 05-22-2012 07:52 PM

Re: Help with install from CPAN
 
On Tue, 22 May 2012 17:45:40 UTC, Ben Morrow <ben@morrow.me.uk> wrote:

<snip>
>Are you sure you have PERL_SH_DIR set correctly?
>


Poking into the build environment I found that sh was actually a copy
of ash. I tried with my own systems sh but it makes no difference.

<snip>
doesn't help unless you can rebuild perl, of course.

Passed to our porter

> > > If you run
> > >
> > > perl -E"say system q!perl -e1! for 1..3"
> > >
> > > what do you get? (You should get 3 lines saying '0'.)

> >
> > 0
> > 0
> > 0

>
> OK, so *something*'s working right. That's encouraging; but I'm not sure
> where to go next...
>
> If you're having problems with compiled-in paths being remapped badly,
> is $^X working right?
>
> perl -E'say $^X'
>
> should print a valid path to perl; ideally it would be the full path,
> but perl doesn't know how to find that on all OSes. If it's wrong you
> should be able to set HARNESS_PERL in the environment to override it
> (though other things may well break too).
>
>


That prints correct full path.


--
Regards
Dave Saville

Dave Saville 05-25-2012 07:32 AM

Re: Help with install from CPAN
 
On Mon, 21 May 2012 12:09:10 UTC, Shmuel (Seymour J.) Metz
<spamtrap@library.lspace.org.invalid> wrote:

> In <fV45K0OBJxbE-pn2-vlLdewbMVVxb@localhost>, on 05/21/2012
> at 10:07 AM, "Dave Saville" <dave@invalid.invalid> said:
>
> >Subject: Help with install from CPAN

>
> What happens if you download a package from CPAN manually and try
> installing it? What is your setup?
>
> You might try 5.10; That's what I'm currently running on eCS and I can
> install CPAN packages with it.
>


I installed 5.10 from Paul's site into root of a drive that also had
Paul's environment on it. Once again nothing works CPAN wise. Usually
"make test" runs no tests - they all come back "no subtests run". If
you try the tests individually they sometimes run OK, sometimes fail
and sometimes hang needing a CTRL-C.

On top of this I have the same problem as 5.8.2 in that the supplied
modules are too old to update. Choose a module, does not really matter
which, say A.

A won't install because it requires B.
B won't install because C is too low a level.
C won't install because A .......................

These are modules like Test* Module::Build etc. All you need to get up
tp date - except you can't. :-(

Doing a similar install of 5.14 yeilds the same mess - From a fresh
install I can't even install Astro::Sunrise which is working happily
on my 5.8.2 server from when it was installed on 5.8.0!
Now you see why I am still using 5.8.2. It might be old and
unsupported, but it actually works - as long as I don't need a new
module - which I do :-( This mess all started when I decided I needed
to be able to generate graphs on the fly for web pages.
--
Regards
Dave Saville

Dave Saville 05-25-2012 07:39 PM

Re: Help with install from CPAN
 
On Fri, 25 May 2012 12:30:39 UTC, Shmuel (Seymour J.) Metz
<spamtrap@library.lspace.org.invalid> wrote:

> In <fV45K0OBJxbE-pn2-1eC50O6ZDrsg@localhost>, on 05/25/2012
> at 07:32 AM, "Dave Saville" <dave@invalid.invalid> said:
>
> >I installed 5.10 from Paul's site into root of a drive that also had
> >Paul's environment on it. Once again nothing works CPAN wise.

>
> Have you tried manually downloading and untarring? I've not had the
> problems you describe using that approach.
>


No because there are so many dependencies. Perhaps you have kept your
modules up to date?

--
Regards
Dave Saville

Dave Saville 05-26-2012 12:58 PM

Re: Help with install from CPAN
 
On Fri, 25 May 2012 23:13:42 UTC, Ben Morrow <ben@morrow.me.uk> wrote:

<snip>

> I would recommend you try installing the most recent versions of these
> modules by hand (in this order):
>
> ExtUtils::MakeMaker 6.63


perl Makefie.pl runs clean
make runs clean
and then

[T:\tmp\ExtUtils-MakeMaker-6.63_02]make test
U:/PERL5/BIN/PERL.EXE "-Iblib/arch" "-Iblib/lib"
"-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00compile.t ............. No subtests run
t/arch_check.t ............ No subtests run
t/backwards.t ............. No subtests run
t/basic.t ................. No subtests run
t/build_man.t ............. No subtests run
t/cd.t .................... No subtests run
t/config.t ................ No subtests run
t/dir_target.t ............ No subtests run
t/echo.t .................. No subtests run
t/FIRST_MAKEFILE.t ........ No subtests run
t/fix_libs.t .............. No subtests run
t/fixin.t ................. No subtests run
t/hints.t ................. No subtests run
Could not execute (U:/PERL5/BIN/PERL.EXE -w t/INST.t): open3:
IO::Pipe: Can't sp
awn-NOWAIT: Invalid seek at
/perl5/lib/5.14.2/TAP/Parser/Iterator/Process.pm lin
e 168
make: *** [test_dynamic] Error 29

That last thing I have seen before and *might* be the old drive letter
problem



--
Regards
Dave Saville

Dave Saville 05-26-2012 02:09 PM

Re: Help with install from CPAN
 
On Fri, 25 May 2012 23:13:42 UTC, Ben Morrow <ben@morrow.me.uk> wrote:

<snip>

> I would recommend you try installing the most recent versions of these
> modules by hand (in this order):
>
> ExtUtils::MakeMaker
> Test::More
> Test::Harness
> Module::Build
> CPAN


Having seen that ExtUtils::MakeMaker seem to pass all test run
standalone except those that reinvoke the test method that fails with
"no subtests run" I did a "make install" anyway. This has changed
nothing. So I started onTest::More. There are so many tests I knocked
up my own quick and dirty tester

use strict;
use warnings;
opendir T, 't' or die "Can't open t $!";
my @tests = grep /\.t$/, readdir T;
closedir T;
foreach (@tests)
{
print "\n============ $_ ============\n";
print `perl -Mblib t/$_`;
}
print "\n Completed tests\n";

I then did a "grep -v ^^ok" to strip the ok responses. Problem is I
don't know enough to know if the errors below are real/matter or
whatever. The testers site you quoted says they all should pass.

============ 00compile.t ============
1..14
============ 00test_harness_check.t ============
1..1
============ bad_plan.t ============
1..2
============ bail_out.t ============
1..3
============ BEGIN_require_ok.t ============
1..2
============ BEGIN_use_ok.t ============
1..2
============ buffer.t ============
1..20
============ circular_data.t ============
1..11
============ cmp_ok.t ============
1..20
============ c_flag.t ============
1..1
============ dependents.t ============
1..0 # SKIP Dependents only tested when releasing
============ diag.t ============
1..7
============ died.t ============
1..3
============ dont_overwrite_die_handler.t ============
1..2
============ eq_set.t ============
1..4
not ok 4 # TODO eq_set() doesn't really handle references
# Failed (TODO) test at t/eq_set.t line 32.
============ exit.t ============
# Building up a map of exit codes. May take a while.
# Done.
1..270
============ explain.t ============
1..5
============ extra.t ============
1..5
============ extra_one.t ============
1..2
============ fail-like.t ============
1..4
============ fail-more.t ============
1..80
not ok 69 # TODO cmp_ok() gives the wrong "expected" for undef
# Failed (TODO) test at t/fail-more.t line 446.
# got: '# Failed test 'undef ne empty string'
# # at t/fail-more.t line 437.
# # got: undef
# # expected: anything else
# '
# expected: '# Failed test 'undef ne empty string'
# # at t/fail-more.t line 437.
# # got: undef
# # expected: ''
# '
============ fail.t ============
1..2
============ fail_one.t ============
1..2
============ filehandles.t ============
1..1
============ fork.t ============
1..1
============ harness_active.t ============
1..4
============ import.t ============
1..2
============ is_deeply_dne_bug.t ============
1..2
============ is_deeply_fail.t ============
1..100
============ is_deeply_with_threads.t ============
1..0 # Skip no working threads
============ missing.t ============
1..2
============ More.t ============
1..54
============ new_ok.t ============
1..13
============ note.t ============
1..2
============ no_plan.t ============
1..7
============ no_tests.t ============
1..3
============ overload.t ============
1..19
============ overload_threads.t ============
1..5
not ok 4 - Just checking todo as an overloaded value # TODO not really
todo, testing overloaded reason
# Failed (TODO) test 'Just checking todo as an overloaded value'
# at t/overload_threads.t line 53.
============ plan.t ============
1..4
============ plan_bad.t ============
1..12
============ plan_is_noplan.t ============
1..1
============ plan_no_plan.t ============
not ok 5 # TODO & SKIP Just testing todo_skip
1..6
============ plan_shouldnt_import.t ============
1..1
============ plan_skip_all.t ============
1..0 # SKIP Just testing plan & skip_all
============ pod-coverage.t ============
1..0 # SKIP Test::Pod::Coverage 1.08 required for testing POD coverage
============ pod.t ============
1..0 # SKIP Test::Pod 1.00 required for testing POD
============ require_ok.t ============
1..8
============ simple.t ============
1..3
============ skip.t ============
1..17
============ skipall.t ============
1..2
============ tbm_doesnt_set_exported_to.t ============
1..1
============ threads.t ============
1..0 # Skip: no working threads
============ thread_taint.t ============
1..1
============ todo.t ============
1..36
not ok 1 - Expected failure # TODO Just testing the todo interface.
# Failed (TODO) test 'Expected failure'
# at t/todo.t line 21.
not ok 2 - Another expected failure # TODO Just testing the todo
interface.
# Failed (TODO) test 'Another expected failure'
# at t/todo.t line 22.
not ok 5 - Yet another failure # TODO Just testing the todo interface.
# Failed (TODO) test 'Yet another failure'
# at t/todo.t line 34.
not ok 7 - ok # TODO testing that error messages don't leak out of
todo
# Failed (TODO) test 'ok'
# at t/todo.t line 43.
not ok 8 - like # TODO testing that error messages don't leak out of
todo
# Failed (TODO) test 'like'
# at t/todo.t line 45.
# 'this'
# doesn't match '(?^:that)'
not ok 9 - is # TODO testing that error messages don't leak out of
todo
# Failed (TODO) test 'is'
# at t/todo.t line 46.
# got: 'this'
# expected: 'that'
not ok 10 - isnt # TODO testing that error messages don't leak out of
todo
# Failed (TODO) test 'isnt'
# at t/todo.t line 47.
# got: 'this'
# expected: anything else
not ok 11 - Fooble->can('yarble') # TODO testing that error messages
don't leak out of todo
# Failed (TODO) test 'Fooble->can('yarble')'
# at t/todo.t line 49.
# Fooble->can('yarble') failed
not ok 12 - The class isa yarble # TODO testing that error messages
don't leak out of todo
# Failed (TODO) test 'The class isa yarble'
# at t/todo.t line 50.
# The class isn't a 'yarble' it's a ''
not ok 13 - use Fooble; # TODO testing that error messages don't leak
out of todo
# Failed (TODO) test 'use Fooble;'
# at t/todo.t line 51.
# Tried to use 'Fooble'.
# Error: Can't locate Fooble.pm in @INC (@INC contains:
T:/tmp/Test-Simple-0.98/blib/arch T:/tmp/Test-Simple-0.98/blib/lib
/perl5/lib/site_perl/5.14.2/os2 /perl5/lib/site_perl/5.14.2
/perl5/lib/5.14.2/os2 /perl5/lib/5.14.2 /perl5/lib/site_perl/5.10.0
/perl5/lib/site_perl .) at (eval 11) line 2.
# BEGIN failed--compilation aborted at (eval 11) line 2.
not ok 14 - require Fooble; # TODO testing that error messages don't
leak out of todo
# Failed (TODO) test 'require Fooble;'
# at t/todo.t line 52.
# Tried to require 'Fooble'.
# Error: Can't locate Fooble.pm in @INC (@INC contains:
T:/tmp/Test-Simple-0.98/blib/arch T:/tmp/Test-Simple-0.98/blib/lib
/perl5/lib/site_perl/5.14.2/os2 /perl5/lib/site_perl/5.14.2
/perl5/lib/5.14.2/os2 /perl5/lib/5.14.2 /perl5/lib/site_perl/5.10.0
/perl5/lib/site_perl .) at (eval 12) line 2.
not ok 15 # TODO & SKIP Just testing todo_skip
not ok 16 # TODO & SKIP Just testing todo_skip
not ok 17 # TODO & SKIP Just testing todo_skip
not ok 19 - Just testing todo # TODO testing $TODO with an incorrect
exported_to()
# Failed (TODO) test 'Just testing todo'
# at t/todo.t line 89.
not ok 20 - Testing todo_start() # TODO Expected failures
# Failed (TODO) test 'Testing todo_start()'
# at t/todo.t line 95.
not ok 21 - Testing todo_start() with more than one failure # TODO
Expected failures
# Failed (TODO) test 'Testing todo_start() with more than one
failure'
# at t/todo.t line 96.
not ok 24 - fail 1 # TODO Nesting TODO
# Failed (TODO) test 'fail 1'
# at t/todo.t line 107.
not ok 25 - fail 2 # TODO failure level 1
# Failed (TODO) test 'fail 2'
# at t/todo.t line 110.
not ok 26 - fail 3 # TODO failure_level 2
# Failed (TODO) test 'fail 3'
# at t/todo.t line 114.
not ok 27 - fail 4 # TODO failure level 1
# Failed (TODO) test 'fail 4'
# at t/todo.t line 118.
not ok 28 - fail 4 # TODO Nesting TODO
# Failed (TODO) test 'fail 4'
# at t/todo.t line 123.
not ok 31 - testing todo_start() with no message # TODO
# Failed (TODO) test 'testing todo_start() with no message'
# at t/todo.t line 132.
============ undef.t ============
1..21
============ useing.t ============
1..5
============ use_ok.t ============
1..15
============ utf8.t ============
1..5
============ versions.t ============
1..4
Completed tests

--
Regards
Dave Saville


All times are GMT. The time now is 12:31 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.