Tuesday 2nd September 2008

Local Packages

More perl modules from the Test::Output dependency tree:

Other updates:

I did have an issue building perl-Test-Output for Fedora 8 (and only Fedora 8). The test suite failed like this:

t/00.load............# Testing Test::Output 0.10
ok
t/combined_is........
#   Failed test 'Test 'STDOUT matches success' completed'
#   at t/combined_is.t line 16.
# Can't use string ("Test::Tester::Capture") as a HASH ref while "strict refs" in use at /usr/lib/perl5/5.8.8/Test/Builder.pm line 1602.

#   Failed test 'Test 'STDOUT matches success' result count'
#   at t/combined_is.t line 16.
#          got: 0
#     expected: 1

By a process of elimination, I tracked this down to the fact that perl-Test-Simple package in the Fedora 8 updates repository, whilst claiming to be version 0.62, is in fact version 0.78, and that a change introduced in Test::Simple 0.77 was the cause of the test suite failures. Fedora 9 and Rawhide are not affected by this yet because their perl-Test-Simple packages are still at version 0.72. The update to 0.78 in Fedora 8 was a response to Bug #434865 so I added a comment there. Not sure what the fix will be, or if indeed the broken part is Test::Simple or Test::Output's test suite. For the time being I worked around the problem by building a package perl-Test-Simple at version 0.75 and adding it to my Fedora 8 buildsystem. This is used in preference to the 0.78 version from Fedora updates because the Fedora updates package is still versioned at 0.62 for reasons I don't know.


last edited 2008-09-03 09:40:35 by PaulHowarth