Justa a small nag from 3.2.0...

2007-05-04 Thread Luis Hernán Otegui

Hi, list, I have a cron job running in order to learn from each user's
HAM and SPAM subdirs. Whenever it runs, it complains like this:

Subroutine FuzzyOcr::O_NONBLOCK redefined at
/usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19

Any hints on how to avoid this nag?


Luis
--
-
GNU-GPL: May The Source Be With You...
-


Re: Justa a small nag from 3.2.0...

2007-05-04 Thread Matt Kettler
Luis Hernán Otegui wrote:
 Hi, list, I have a cron job running in order to learn from each user's
 HAM and SPAM subdirs. Whenever it runs, it complains like this:

 Subroutine FuzzyOcr::O_NONBLOCK redefined at
 /usr/share/perl/5.8/Exporter.pm line 65.
 at /usr/lib/perl/5.8/POSIX.pm line 19

 Any hints on how to avoid this nag? 
That looks to be a bug in the perl core itself.

No part of FuzzyOcr or SpamAssassin is defining O_NONBLOCK, but parts of
the perl core are, and doing it twice, once in POSIX, once in Fnctl.

This apparently is fixed in perl 5.8.8, but still happens in 5.8.6,
5.8.5, etc.

See also:
http://fuzzyocr.own-hero.net/ticket/16



Re: Justa a small nag from 3.2.0...

2007-05-04 Thread Gary V

Luis Hernán Otegui wrote:
 Hi, list, I have a cron job running in order to learn from each user's
 HAM and SPAM subdirs. Whenever it runs, it complains like this:

 Subroutine FuzzyOcr::O_NONBLOCK redefined at
 /usr/share/perl/5.8/Exporter.pm line 65.
 at /usr/lib/perl/5.8/POSIX.pm line 19

 Any hints on how to avoid this nag?
That looks to be a bug in the perl core itself.

No part of FuzzyOcr or SpamAssassin is defining O_NONBLOCK, but parts of
the perl core are, and doing it twice, once in POSIX, once in Fnctl.

This apparently is fixed in perl 5.8.8, but still happens in 5.8.6,
5.8.5, etc.

See also:
http://fuzzyocr.own-hero.net/ticket/16



I'm not convinced upgrading to 5.8.8 will necessarily solve this problem.
http://marc.info/?l=spamassassin-usersm=116829902909608

Gary V

_
Exercise your brain! Try Flexicon. 
http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07




Re: Justa a small nag from 3.2.0...

2007-05-04 Thread kshatriyak

On Fri, 4 May 2007, Matt Kettler wrote:


This apparently is fixed in perl 5.8.8, but still happens in 5.8.6,
5.8.5, etc.


Hm, I have a Slackware 11.0 box with perl 5.8.8 and I'm getting the same 
message. This problem also was there already with the previous version of 
spamassassin and FuzzyOcr, however, FuzzyOcr works fine, there are no 
warnings during execution, only when running spamassassin --lint


K.



Re: Justa a small nag from 3.2.0...

2007-05-04 Thread Graham Murray
Matt Kettler [EMAIL PROTECTED] writes:

 This apparently is fixed in perl 5.8.8, but still happens in 5.8.6,
 5.8.5, etc.

I see it in perl 5.8.8


Re: Justa a small nag from 3.2.0...

2007-05-04 Thread Luis Hernán Otegui

Ditto. I'm running 5.8.4 in one machine, and 5.8.8-4 in another, and
happens in both of them...

2007/5/4, Graham Murray [EMAIL PROTECTED]:

Matt Kettler [EMAIL PROTECTED] writes:

 This apparently is fixed in perl 5.8.8, but still happens in 5.8.6,
 5.8.5, etc.

I see it in perl 5.8.8




--
-
GNU-GPL: May The Source Be With You...
-


RE: Justa a small nag from 3.2.0...

2007-05-04 Thread Rosenbaum, Larry M.
 From: Luis Hernán Otegui [mailto:[EMAIL PROTECTED]
 
 Hi, list, I have a cron job running in order to learn from each user's
 HAM and SPAM subdirs. Whenever it runs, it complains like this:
 
 Subroutine FuzzyOcr::O_NONBLOCK redefined at
 /usr/share/perl/5.8/Exporter.pm line 65.
  at /usr/lib/perl/5.8/POSIX.pm line 19
 
 Any hints on how to avoid this nag?

Edit /usr/local/spamassassin/FuzzyOcr.pm and make the following change:

 use POSIX;
---
 use POSIX qw(SIGTERM);


Re: Justa a small nag from 3.2.0...

2007-05-04 Thread Jim Knuth
Heute (04.05.2007/18:44 Uhr) schrieb Rosenbaum, Larry M.,

 From: Luis Hernán Otegui [mailto:[EMAIL PROTECTED]
 
 Hi, list, I have a cron job running in order to learn from each user's
 HAM and SPAM subdirs. Whenever it runs, it complains like this:
 
 Subroutine FuzzyOcr::O_NONBLOCK redefined at
 /usr/share/perl/5.8/Exporter.pm line 65.
  at /usr/lib/perl/5.8/POSIX.pm line 19
 
 Any hints on how to avoid this nag?

 Edit /usr/local/spamassassin/FuzzyOcr.pm and make the following change:

  use POSIX;
 ---
 use POSIX qw(SIGTERM);


Great @Larry, then I have searched for a long time. Thanks


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867
--
Zufalls-Zitat
--
Um klar zu sehen, genügt oft ein Wechsel der Blickrichtung. 
(Antoine de Saint-Exupery)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 2240 Build 9743  04.05.2007