Bug 1143822
| Summary: | Do not set default switches in Test::Harness | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jitka Plesnikova <jplesnik> | ||||
| Component: | perl-ExtUtils-MakeMaker | Assignee: | Jitka Plesnikova <jplesnik> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 20 | CC: | mmaslano, perl-devel, ppisar | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | https://koji.fedoraproject.org/koji/taskinfo?taskID=7605019 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | perl-ExtUtils-MakeMaker-6.64-4.fc19 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-09-28 04:27:22 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1127476, 1127477 | ||||||
| Attachments: |
|
||||||
perl-ExtUtils-MakeMaker-6.64-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/perl-ExtUtils-MakeMaker-6.64-4.fc19 perl-ExtUtils-MakeMaker-6.72-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/perl-ExtUtils-MakeMaker-6.72-3.fc20 Package perl-ExtUtils-MakeMaker-6.72-3.fc20: * 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: https://admin.fedoraproject.org/updates/FEDORA-2014-11034/perl-ExtUtils-MakeMaker-6.72-3.fc20 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. |
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 commit 37c20b4442e87cb678301cf742604f23a8d30a82 Author: Ricardo Signes <rjbs> AuthorDate: Sat Sep 21 10:12:51 2013 +0900 Commit: Ricardo Signes <rjbs> 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).