Problem with mail/p5-MIME-Tools

Jim Hatfield subscriber at insignia.com
Wed Oct 29 09:12:00 PST 2003


I run two mail gateways, one 4.7 and one 4.6.2, both with MIMEDefang
and SpamAssassin so there are a lot of Perl modules installed.

I recently portupgraded one and now I see the following from the
mail log file:

>Oct 29 15:53:33 highland mimedefang-multiplexor: Starting slave 3 (pid 95931) (1 running): Bringing slaves up to minSlaves (2)
>Oct 29 15:53:34 highland mimedefang-multiplexor: Slave 3 stderr: syntax error at /usr/local/lib/perl5/site_perl/5.005/MIME/Field/ParamVal.pm line 65, near "require v5.6" BEGIN not safe after errors--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/MIME/Field/ParamVal.pm line 68. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/MIME/Head.pm line 124. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/MIME/Parser.pm line 144. BEGIN failed--compilation aborted at /usr/local/bin/mimedefang.pl line 136.
>Oct 29 15:53:34 highland mimedefang-multiplexor: Reap: Idle slave 3 (pid 95931) exited normally with status 255 (SLAVE DIED UNEXPECTEDLY)

This seems to be caused by a recent upgrade to mail/p5-MIME-Tools.

In /usr/local/lib/perl5/site_perl/5.005/MIME/Field/ParamVal.pm I see

># System modules:
>require v5.6;

whereas this was not present in the previous version.

I do not have Perl 5.6 on either machine, yet the portupgrade
went through fine. Does anyone know whether it's safe to just
remove this line, or whether this module really does need Perl
5.6??




More information about the freebsd-ports mailing list