Skip Menu |

This queue is for tickets about the MIME-tools CPAN distribution.

Report information
The Basics
Id: 31032
Status: resolved
Priority: 0/
Queue: MIME-tools

People
Owner: Nobody in particular
Requestors: OSALAUN [...] cpan.org
rt.cpan.org [...] darkart.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 5.425
Fixed in: (no value)



Subject: Can't locate object method "seek" via package "File::Temp"
We are using MIME::Tools with Sympa mailing list software. The plateform is a RedHat Linux server release 5. After a security upgrade of the pcre (perl regular expressions engine) RPM, we've had fatal errors from Sympa while processing MIME messages. The error message was : "Can't locate object method "seek" via package "File::Temp" at /usr/lib/perl5/site_perl/5.8.8/MIME/Entity.pm line 1566." After a reinstallation of MIME::Tools, the problem is fixed. MIME::Tools is the only CPAN module (among 30 others) that was broken after the pcre update, though the pcre update was only a security update, not a new release.
Subject: Re: [rt.cpan.org #31032] Can't locate object method "seek" via package "File::Temp"
Date: Wed, 28 Nov 2007 11:35:43 -0500
To: OSALAUN via RT <bug-MIME-tools [...] rt.cpan.org>
From: "Dave O'Neill" <dmo [...] dmo.ca>
On Wed, Nov 28, 2007 at 08:10:57AM -0500, OSALAUN via RT wrote: Show quoted text
> After a security upgrade of the pcre (perl regular expressions engine) > RPM, we've had fatal errors from Sympa while processing MIME messages. > The error message was : "Can't locate object method "seek" via package > "File::Temp" at /usr/lib/perl5/site_perl/5.8.8/MIME/Entity.pm line 1566."
I don't see how upgrading pcre could have caused this, because Perl doesn't use the pcre libraries. Perl uses its own regex engine, and PCRE implements a "Perl compatible" regular expression engine in a completely separate library. Show quoted text
> > After a reinstallation of MIME::Tools, the problem is fixed. >
What version of MIME::Tools were you using before, and what version did you reinstall? Cheers, Dave
Subject: Append to #31032: Can't locate object method "seek" via package "File::Temp"
Date: Fri, 29 Feb 2008 01:50:10 +0000
To: bug-MIME-tools [...] rt.cpan.org
From: Eric Hall <rt.cpan.org [...] darkart.com>
Please append to bug: #31032: Can't locate object method "seek" via package "File::Temp" With perl 5.8.8, the included File::Temp is version 0.16, insufficient for MIME::Tools 5.425, perhaps that's the problem report in bug #31032. As well, 'perl Makefile.PL' for MIME::Tools 5.425 exits with status 0 if File::Temp is at version 0.16. -eric
Oops. ->seek() didn't work until 0.17. Will fix required version in next release.
Prerequisite version bumped in 5.426