Skip Menu |

This queue is for tickets about the Genealogy-Gedcom-Date CPAN distribution.

Report information
The Basics
Id: 107777
Status: rejected
Priority: 0/
Queue: Genealogy-Gedcom-Date

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

Bug Information
Severity: Normal
Broken in: 1.16
Fixed in: 2.01



Subject: Fails to install on some machines
Sometimes it fails to install. Let me know if I can help you in any way. Here is the output of 'make test TEST_VERBOSE=1' PERL_DL_NONLAZY=1 "/Users/hornenj/perl5/perlbrew/perls/perl-5.8.9/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t ===( 1;0 1/? 0/? 0/? )=========================================# Start testing parse_approximate_date(...) ===( 4;0 3/? 0/? 1/? )=========================================# Start testing parse_date_period(...) with style 'american' ===( 10;0 6/? 1/? 3/? )=========================================# Start testing parse_date_period(...) with style 'standard' # Start testing parse_date_period(...) # Start testing parse_approximate_date(...) # Start testing parse_date_period(...) ok ===( 27;0 15/? 5/? )============================================= # Failed test 'Testing: To 25 Dec 2011' # at t/escape.t line 235. # Failed test 'Testing: To @\#DGregorian@ 25 Dec 2011' # at t/escape.t line 235. # Looks like you failed 2 tests of 11. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/11 subtests ===( 47;0 29/? 0/? )=============================================# Start testing parse_date_range(...) # Start testing parse_datetime(...) with style 'english' # Start testing parse_datetime(...) with style 'american' # Start testing parse_interpreted_date(...) ok t/value.t ... ok 1 - use Genealogy::Gedcom::Date; ok 2 - An object of class 'Genealogy::Gedcom::Date' isa 'Genealogy::Gedcom::Date' # Start testing parse_date_value(...) ok 3 - Testing: (Unknown date) ok 4 - Testing: Abt 1 Jan 2001 ok 5 - Testing: Aft 1 Jan 2001 ok 6 - Testing: From 0 ok Test Summary Report ------------------- t/escape.t (Wstat: 512 Tests: 11 Failed: 2) Failed tests: 10-11 Non-zero exit status: 2 Files=4, Tests=59, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.37 cusr 0.06 csys = 0.46 CPU) Result: FAIL Failed 1/4 test programs. 2/59 subtests failed. Makefile:872: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 This particular failure was on OS/X running an ancient Perl - 5.8.9.
Maybe it would help to track if this line in t/escape.t: my($parser) = Genealogy::Gedcom::Date -> new(debug => 0); Were to be replaced by my($parser) = Genealogy::Gedcom::Date -> new(debug => ($ENV{'TEST_VERBOSE'} || 0));
Subject: Re: [rt.cpan.org #107777] Fails to install on some machines
Date: Thu, 15 Oct 2015 08:47:00 +1100
To: bug-Genealogy-Gedcom-Date [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Nigel On 15/10/15 02:38, Nigel Horne via RT wrote: Show quoted text
> Queue: Genealogy-Gedcom-Date > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107777 > > > Maybe it would help to track if this line in t/escape.t: > > my($parser) = Genealogy::Gedcom::Date -> new(debug => 0); > > Were to be replaced by > > my($parser) = Genealogy::Gedcom::Date -> new(debug => ($ENV{'TEST_VERBOSE'} || 0));
Thanx for the messages. These mysterious fails are a significant part of why I'm re-writing the code. There's no point in tracking this down. I've decided to abandon that version of the code and only work with my new, unreleased, version. I'm glad to say I'm part-way thru the new docs, but have not considered the calendar-changing options. -- Ron Savage - savage.net.au
I've completely re-written the code. See V 2.01 for details.