Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251687 - mail-filter/spamassassin-fuzzyocr patches for tmpdir bug and . in fname bug
Summary: mail-filter/spamassassin-fuzzyocr patches for tmpdir bug and . in fname bug
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
Keywords: Inclusion
Depends on:
Reported: 2008-12-20 00:44 UTC by Heath Caldwell (RETIRED)
Modified: 2009-11-13 15:31 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

Patch for tmpdir bug (tmpdir-fix.patch,2.82 KB, patch)
2008-12-20 00:45 UTC, Heath Caldwell (RETIRED)
Details | Diff
Patch for . in file name bug (nodotinfname.patch,870 bytes, patch)
2008-12-20 00:46 UTC, Heath Caldwell (RETIRED)
Details | Diff
Overlay with all patches (spamassassin-fuzzyocr.tar.bz2,5.22 KB, application/octet-stream)
2009-06-24 22:22 UTC, Luca "K4my" Camillo

Note You need to log in before you can comment on or make changes to this bug.
Description Heath Caldwell (RETIRED) gentoo-dev 2008-12-20 00:44:26 UTC
There is a bug in FuzzyOCR where it keeps reusing the some tmpdir for images, so processes step on each other's stuff, resulting in errors like this in the log:

Error running preprocessor(pamthreshold): /usr/bin/pamthreshold -simple -threshold 0.5
pamthreshold: bad magic number - not a PAM, PPM, PGM, or PBM file

See and

Also, there is another bug where .'s are used in the image file name when it is generated from the content-id, causing an error when the part after the . is misinterpreted as a file extension.


Please consider including the attached patches to fix these bugs.
Comment 1 Heath Caldwell (RETIRED) gentoo-dev 2008-12-20 00:45:24 UTC
Created attachment 175916 [details, diff]
Patch for tmpdir bug
Comment 2 Heath Caldwell (RETIRED) gentoo-dev 2008-12-20 00:46:08 UTC
Created attachment 175917 [details, diff]
Patch for . in file name bug
Comment 3 Luca "K4my" Camillo 2009-06-24 22:22:40 UTC
Created attachment 195701 [details]
Overlay with all patches

this overlay is build with all patches I can found for FuzzyOcr
Comment 4 Bernard Cafarelli gentoo-dev 2009-11-13 15:31:27 UTC
Thanks for the report! And sorry for the delay

I've just added 3.6.0 in tree, with both patches included (they were reported separately in other bugreports)