Bug 1495084 - hunspell-en-0.20140811.1-8.fc28 does not recognize valid words (from, the, process)
Summary: hunspell-en-0.20140811.1-8.fc28 does not recognize valid words (from, the, pr...
Keywords:
Status: CLOSED DUPLICATE of bug 1494698
Alias: None
Product: Fedora
Classification: Fedora
Component: hunspell-en
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL: https://apps.fedoraproject.org/kosche...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-25 07:23 UTC by Petr Pisar
Modified: 2017-09-25 10:12 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-25 10:12:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1492306 0 unspecified CLOSED English (Australia) marks "etc etc." as misspelled 2021-02-22 00:41:40 UTC

Internal Links: 1492306

Description Petr Pisar 2017-09-25 07:23:24 UTC
perl-Test-Spelling-0.20-9.fc28 fails to build in F28 because tests fail:

+ make test
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/*.t
#   Failed test 'subtest 'good pod has no errors' of '' compare ok'
#   at t/basic.t line 17.
#          got: '0'
#     expected: '1'
#   Failed test 'subtest 'bad pod has no errors' of '' compare diag'
#   at t/basic.t line 22.
# Got diag (44 bytes):
# 'Errors:'
# '    NAME'
# '    incorectly'
# '    spelled'
# Expected diag (23 bytes):
# 'Errors:'
# '    incorectly'
# Looks like you failed 2 tests of 19.
t/basic.t ......... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/19 subtests 
[...]
Test Summary Report
-------------------
t/basic.t       (Wstat: 512 Tests: 19 Failed: 2)
  Failed tests:  10, 19
  Non-zero exit status: 2
t/pod-spell.t   (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/stopword.t    (Wstat: 512 Tests: 13 Failed: 2)
  Failed tests:  7, 11
  Non-zero exit status: 2
Files=6, Tests=56,  1 wallclock secs ( 0.03 usr  0.01 sys +  1.03 cusr  0.12 csys =  1.19 CPU)
Result: FAIL

A difference between passing and failing build root is <https://apps.fedoraproject.org/koschei/build/3501070>. It's probably caused by upgrading hunspell-en from 0.20140811.1-6.fc26 to 0.20140811.1-8.fc28 because of bug #1492306.

Comment 1 Petr Pisar 2017-09-25 08:08:29 UTC
I confirm downgrading to hunspell-en-0.20140811.1-6.fc26 helps.

I can also see similar bug when running rpmlint on gscan2pdf source package:

$ rpmlint -f .rpmlint gscan2pdf-1.8.7-1.fc28.src.rpm 
gscan2pdf.src: W: spelling-error Summary(en_US) for -> fora, foo
gscan2pdf.src: W: spelling-error Summary(en_US) producing -> programming
gscan2pdf.src: W: spelling-error Summary(en_US) a -> h, N, T
gscan2pdf.src: W: spelling-error Summary(en_US) from -> frog
gscan2pdf.src: W: spelling-error Summary(en_US) scan -> can, cans, scag
gscan2pdf.src: W: spelling-error %description -l en_US to -> toy
gscan2pdf.src: W: spelling-error %description -l en_US ease -> lase, weasel
gscan2pdf.src: W: spelling-error %description -l en_US the -> tee, theory
gscan2pdf.src: W: spelling-error %description -l en_US process -> compress
gscan2pdf.src: W: spelling-error %description -l en_US of -> op, foo
gscan2pdf.src: W: spelling-error %description -l en_US producing -> programming
gscan2pdf.src: W: spelling-error %description -l en_US a -> h, N, T
gscan2pdf.src: W: spelling-error %description -l en_US from -> frog
gscan2pdf.src: W: spelling-error %description -l en_US scan -> can, cans, scag

This looks like a bug in the hundspell-en dictionary.

Comment 2 Caolan McNamara 2017-09-25 10:12:13 UTC

*** This bug has been marked as a duplicate of bug 1494698 ***


Note You need to log in before you can comment on or make changes to this bug.