Description of problem: The package is clearly missing provides as it does not require an ocr engine and then complains about it every time spamassassin is run (fun when sa is used in regular cron jobs and each warning translates into a cron mail) Aug 6 08:00:09.716 [18128] warn: FuzzyOcr: Cannot find executable for gocr Aug 6 08:00:09.716 [18128] warn: FuzzyOcr: Cannot find executable for tesseract Version-Release number of selected component (if applicable): spamassassin-FuzzyOcr-3.6.0-3.fc14.noarch
I left that out as fedora has 3 OCR engines, the user should have the choice to choose which one they want to install as there is no meta package that can require an ocr engine. Surely a user intending to use fuzzy ocr should know that underlying that an ocr engine is required.
(In reply to comment #1) > I left that out as fedora has 3 OCR engines, the user should have the choice to > choose which one they want to install as there is no meta package that can > require an ocr engine. Surely a user intending to use fuzzy ocr should know > that underlying that an ocr engine is required. Please don't do that. Deps are here so that packages just work when installed and users don't have to worry about them. Please either choose one ocr engine, or ask the maintainers of the ocr packages add a common virtual provide your package can rely on, but never release packages that need additional bits you've not required to be functional
No problem will fix. will go with ocrad as in my experience it is more accurate.
On checking the spec, actually the statements above are incorrect, the package does specify ocrad as a requirement. The logs above are just warnings not fatal and do not stop the package from operating correctly. spamassassin --debug FuzzyOcr < /usr/share/doc/spamassassin-FuzzyOcr-3.6.0/samples/ocr-animated.eml > /dev/null Aug 10 04:29:00.493 [23861] info: FuzzyOcr: Using ocrad => /usr/bin/ocrad Aug 10 04:29:00.493 [23861] warn: FuzzyOcr: Cannot find executable for gocr .. .. Aug 10 04:29:03.432 [23861] info: FuzzyOcr: Scanset "ocrad" generates enough hits (4), skipping further scansets... Aug 10 04:29:03.433 [23861] info: FuzzyOcr: Message is spam, score = 9.000 Aug 10 04:29:03.433 [23861] info: FuzzyOcr: Words found: Aug 10 04:29:03.433 [23861] info: FuzzyOcr: "price" in 1 lines Aug 10 04:29:03.433 [23861] info: FuzzyOcr: "company" in 1 lines Aug 10 04:29:03.433 [23861] info: FuzzyOcr: "alert" in 1 lines Aug 10 04:29:03.433 [23861] info: FuzzyOcr: "news" in 1 lines Aug 10 04:29:03.433 [23861] info: FuzzyOcr: (6 word occurrences found)
set focr_verbose 1 if you do not want the warnings clogging you logs or cron messages.
(In reply to comment #5) > set focr_verbose 1 > > if you do not want the warnings clogging you logs or cron messages. Why is this not set by default? This is the setting most users will want, it should not require manual reconfiguration
Well, in that case reword you bug report to indicate that, i am not going to rebuild a whole package just for a warning message, most uses run fuzzocr as part of an mta setup not via cron. I do not consider this a blocker and will update that when there is a new upstream release.
spamassassin-FuzzyOcr emits warnings when installed, and complains the configuration is not good when the packaging is already supposed to pull in everything which is required. Spamassassin if often run from cron jobs (for example, when users have special mail folders when they can depose ham or spam so sa's behaviour on the mail server can be automatically ajusted). Every useless warning in sa triggers repeated mail alerts admin-side Sa should never emit any warning when it is properly configured.
spamassassin-FuzzyOcr-3.6.0-4.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/spamassassin-FuzzyOcr-3.6.0-4.fc13
spamassassin-FuzzyOcr-3.6.0-4.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/spamassassin-FuzzyOcr-3.6.0-4.fc12
spamassassin-FuzzyOcr-3.6.0-4.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/spamassassin-FuzzyOcr-3.6.0-4.fc14
spamassassin-FuzzyOcr-3.6.0-4.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/spamassassin-FuzzyOcr-3.6.0-4.el5
spamassassin-FuzzyOcr-3.6.0-4.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update spamassassin-FuzzyOcr'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/spamassassin-FuzzyOcr-3.6.0-4.el5
spamassassin-FuzzyOcr-3.6.0-4.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
spamassassin-FuzzyOcr-3.6.0-4.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
spamassassin-FuzzyOcr-3.6.0-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
spamassassin-FuzzyOcr-3.6.0-4.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.