Run "rpmbuild --rebuild perl-DateManip-5.40-30.src.rpm" several times (!) in a row. Repeat until you see that test "t/events" fails. Example output (this can be different because t/events performs multiple tests: [...] t/delta_format.........ok t/delta_romanian.......ok t/events...............######################## Expected = [ 2000020100:00:00 [ Winter Event1 ] ] Got = [ 2000020100:00:00 [ Event1 Winter ] ] ======================== Test = 2000-02-01 ######################## t/events...............FAILED test 1 Failed 1/8 tests, 87.50% okay t/getnext..............ok [...] The t/events tests checks a returned list of event names and expects constant order. But Perl's "keys" functions returns a list of keys in random order. Hence the list must be sorted to match what is expected by test t/events. Further details: http://rt.cpan.org/NoAuth/Bug.html?id=3896 https://bugzilla.fedora.us/show_bug.cgi?id=714#c9 Version-Release number of selected component (if applicable): perl-DateManip-5.40-30 How reproducible: Always, because the Perl code is clearly wrong.
Created attachment 94802 [details] proposed fix
I'd also appreciate if perl-DateManip would be upgraded to 5.42a while at it, version 5.40 has problems that make some apps depending on it unusable at least on RHL9 and UTF-8 locales, for example: https://bugzilla.fedora.us/show_bug.cgi?id=714#c4 https://bugzilla.fedora.us/attachment.cgi?id=369&action=view See the links in the fedora.us bugreport for an updated package (which doesn't yet contain Michael's fix for the test failures). [I would have bumped the severity and priority of this bug, but Bugzilla (justifiedly) won't allow me to do it :]
For cross-reference: The UTF-8 issues are reported in bug 74884 and a duplicate, bug 88017. If I could link bugs other than with blocks/depends_on, I would do that. It's only "perl-libxml-enno" which depends on Date::Manip. Foomatic uses perl-libxml-enno somehow. I would also suggest Severn beta3 gets perl-DateManip 5.42a plus the fix for this build-bug.
FYI: http://rt.cpan.org/NoAuth/Bug.html?id=3911 [...] Setting PERL_HASH_SEED = 0 in the build environment before running 'make test' allows the event tests to pass without modification. [...] This should also be an easy fix for Red Hat. Works for me with make PERL_HASH_SEED=0 test in the spec file.
triage->easyfix : comment 4
checked in, but do not know when rebuild will happen