Created attachment 938748 [details]
Patch with fix
I tried to update perl-Syntax-Highlight-Engine-Kate to version 0.09, but it failed with following error
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'warn'
# at t/02-perl.t line 31.
# found carped warning: undefined language: 'Klingon' at t/02-perl.t line 26.
# found warning: Use of uninitialized value in concatenation (.) or string at /builddir/build/BUILD/Syntax-Highlight-Engine-Kate-0.09/blib/lib/Syntax/Highlight/Engine/Kate/Template.pm line 499.
# found carped warning: cannot create plugin for language 'Klingon'
# expected to find carped warning: (?^:undefined language: 'Klingon')
# expected to find carped warning: (?^:cannot create plugin for language 'Klingon')
# Looks like you failed 1 test of 2.
# Failed test 'klingon'
# at t/02-perl.t line 33.
The source of the issue is old version of perl-ExtUtils-MakeMaker, which allows to set default switches (e.g. -w) in Test::Harness.
It was fixed at version 6.77_7
Author: Ricardo Signes <firstname.lastname@example.org>
AuthorDate: Sat Sep 21 10:12:51 2013 +0900
Commit: Ricardo Signes <email@example.com>
CommitDate: Sat Sep 21 10:12:51 2013 +0900
do not set default switches in Test::Harness; not even -w
New test command generated by updated EU::MM passed.
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/02-perl.t
t/02-perl.t .. ok
All tests successful.
Fedora 19 is also affected.
The patch works for both (F19 and F20).
perl-ExtUtils-MakeMaker-6.64-4.fc19 has been submitted as an update for Fedora 19.
perl-ExtUtils-MakeMaker-6.72-3.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-ExtUtils-MakeMaker-6.72-3.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
perl-ExtUtils-MakeMaker-6.72-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
perl-ExtUtils-MakeMaker-6.64-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.