Bug 1713565

Summary: perl-Test-Synopsis-0.15-12.fc31 FTBFS: Failed test 'POD spelling for lib/Test/Synopsis.pm' at xt/author/pod-spell.t line 11.
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Test-SynopsisAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: paul, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Test-Synopsis-0.15-13.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-24 08:47:56 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:

Description Petr Pisar 2019-05-24 07:04:25 UTC
perl-Test-Synopsis-0.15-12.fc31 fails to build in F31 because a test fails:

xt/author/pod-coverage.t ...... ok
BUILDSTDERR: #   Failed test 'POD spelling for lib/Test/Synopsis.pm'
BUILDSTDERR: #   at xt/author/pod-spell.t line 11.
BUILDSTDERR: # Errors:
BUILDSTDERR: #     Mengu
BUILDSTDERR: # 
BUILDSTDERR: # All incorrect words, by number of occurrences:
BUILDSTDERR: #      1: Mengu
BUILDSTDERR: # Looks like you failed 1 test of 1.
xt/author/pod-spell.t ......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

This is triggered by upgrading perl-Test-Spelling from 0.22-1.fc31 to 0.23-1.fc31.

Comment 1 Petr Pisar 2019-05-24 08:39:31 UTC
While the Test-Spelling change is not perfect, the real cause is that Test-Synopsis is missing the word from a stoplist. A posted the patch to the upstream and going to apply to Fedora since we are going to do Perl 5.30 mass rebuild very soon.

Comment 2 Paul Howarth 2019-05-24 09:55:51 UTC
The word was in the stoplist in the test itself already. The Test::Spelling change affected the way the stoplist in the test was processed, and adding "use utf8" to the test fixes it.

See https://github.com/genio/test-spelling/pull/10