Skip Menu |

This queue is for tickets about the Chess-PGN-EPD CPAN distribution.

Report information
The Basics
Id: 67745
Status: open
Worked: 15 min
Priority: 0/
Queue: Chess-PGN-EPD

People
Owner: Nobody in particular
Requestors: olivier.demarchi [...] free.fr
Cc:
AdminCc:

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



Subject: installation module error
Date: Mon, 25 Apr 2011 16:36:45 +0200
To: bug-Chess-PGN-EPD [...] rt.cpan.org
From: Olivier De Marchi <olivier.demarchi [...] free.fr>
Hi I have an error with the module Chess-PGN-EPD installation. On debian squeeze : Linux squeeze 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux perl -v This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi # perl -MCPAN -e 'install Chess::PGN::EPD' CPAN: Storable loaded ok (v2.25) Going to read '/root/.cpan/Metadata' Database was generated on Mon, 25 Apr 2011 13:33:53 GMT Running install for module 'Chess::PGN::EPD' CPAN: YAML loaded ok (v0.71) Running make for H/HS/HSMYERS/Chess-PGN-EPD-0.25.tar.gz CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.02) Checksum for /root/.cpan/sources/authors/id/H/HS/HSMYERS/Chess-PGN-EPD-0.25.tar.gz ok CPAN: Archive::Tar loaded ok (v1.52) Chess-PGN-EPD-0.25/ Chess-PGN-EPD-0.25/Changes Chess-PGN-EPD-0.25/CSV/ Chess-PGN-EPD-0.25/CSV/ECO.txt Chess-PGN-EPD-0.25/CSV/NIC.txt Chess-PGN-EPD-0.25/CSV/Opening.txt Chess-PGN-EPD-0.25/EPD.pm Chess-PGN-EPD-0.25/Makefile.PL Chess-PGN-EPD-0.25/MANIFEST Chess-PGN-EPD-0.25/META.yml Chess-PGN-EPD-0.25/README Chess-PGN-EPD-0.25/sample/ Chess-PGN-EPD-0.25/sample/readme.txt Chess-PGN-EPD-0.25/sample/sample.pgn Chess-PGN-EPD-0.25/sample/sample1.pl Chess-PGN-EPD-0.25/sample/sample2.pl Chess-PGN-EPD-0.25/sample/sample3.pl Chess-PGN-EPD-0.25/scripts/ Chess-PGN-EPD-0.25/scripts/db.pl Chess-PGN-EPD-0.25/t/ Chess-PGN-EPD-0.25/t/01_epdcode.t Chess-PGN-EPD-0.25/t/02_Storable.t Chess-PGN-EPD-0.25/t/03_epdlist.t Chess-PGN-EPD-0.25/t/04_epdstr.t Chess-PGN-EPD-0.25/t/05_list-str.t Chess-PGN-EPD-0.25/t/06_epdgetboard.t Chess-PGN-EPD-0.25/t/07_psquares.t Chess-PGN-EPD-0.25/t/08_epdset.t CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build H/HS/HSMYERS/Chess-PGN-EPD-0.25.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Chess::PGN::EPD cp EPD.pm blib/lib/Chess/PGN/EPD.pm Manifying blib/man3/Chess::PGN::EPD.3pm /usr/bin/perl scripts/db.pl Source CSV/ECO.txt Building ECO.stor ok Source CSV/NIC.txt Building NIC.stor ok Source CSV/Opening.txt Building Opening.stor ok HSMYERS/Chess-PGN-EPD-0.25.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01_epdcode.t ...... # No tests run! t/01_epdcode.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 7/7 subtests t/02_Storable.t ..... ok t/03_epdlist.t ...... No subtests run t/04_epdstr.t ....... No subtests run t/05_list-str.t ..... No subtests run t/06_epdgetboard.t .. No subtests run t/07_psquares.t ..... No subtests run t/08_epdset.t ....... No subtests run Test Summary Report ------------------- t/01_epdcode.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 7 tests but ran 0. t/03_epdlist.t (Wstat: 0 Tests: 0 Failed: 0) Parse errors: No plan found in TAP output t/04_epdstr.t (Wstat: 0 Tests: 0 Failed: 0) Parse errors: No plan found in TAP output t/05_list-str.t (Wstat: 0 Tests: 0 Failed: 0) Parse errors: No plan found in TAP output t/06_epdgetboard.t (Wstat: 0 Tests: 0 Failed: 0) Parse errors: No plan found in TAP output t/07_psquares.t (Wstat: 0 Tests: 0 Failed: 0) Parse errors: No plan found in TAP output t/08_epdset.t (Wstat: 0 Tests: 0 Failed: 0) Parse errors: No plan found in TAP output Files=8, Tests=3, 1 wallclock secs ( 0.02 usr 0.02 sys + 0.62 cusr 0.04 csys = 0.70 CPU) Result: FAIL Failed 7/8 test programs. 0/3 subtests failed. make: *** [test_dynamic] Erreur 255 HSMYERS/Chess-PGN-EPD-0.25.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports HSMYERS/Chess-PGN-EPD-0.25.tar.gz Running make install make test had returned bad status, won't install without force
This is a problem linked to the way paths are represented on Unix / Linux vs Windows. A patch which works for me is attached.
Subject: patch.diff
diff -r Chess-PGN-EPD-0.25/EPD.pm Chess-PGN-EPD-0.25.orig/EPD.pm 31c31 < $db_dir_qfn = realpath('db'); --- > $db_dir_qfn = realpath('.\db');
Subject: Re: [rt.cpan.org #67745] installation module error
Date: Tue, 26 Apr 2011 18:41:21 +0200
To: bug-Chess-PGN-EPD [...] rt.cpan.org
From: Olivier De Marchi <olivier.demarchi [...] free.fr>
Le 26/04/2011 15:09, Olivier Macchioni via RT a écrit : Show quoted text
> This is a problem linked to the way paths are represented on Unix / > Linux vs Windows. > > A patch which works for me is attached. > >
OK it works. thank you.