PaulHowarth/Blog/2008-09-02

Tuesday 2nd September 2008

Local Packages

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

  • New package perl-Clone (0.28)

  • New package perl-Data-OptList (0.103)

  • New package perl-List-MoreUtils (0.22)

  • New package perl-Params-Util (0.17 for RHL9, FC1, FC2, RHEL3, all of which have Scalar::Util < 0.14, 0.33 for more recent distributions)

  • New package perl-Perl-MinimumVersion (1.18)

  • New package perl-PPI (1.201)

  • New package perl-Sub-Exporter (0.979)

  • New package perl-Taint-Runtime (0.03)

  • New package perl-Test-MinimumVersion (0.008)

  • New package perl-Test-Object (0.07)

  • New package perl-Test-Output (0.10)

Other updates:

  • Updated curl to 7.19.0

  • Updated dovecot to 1.1.3

  • Updated perl-Test-Pod to 1.26

  • Updated perl-HTML-SimpleLinkExtor to 1.21

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.


Recent