Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2009 10:57:00 -0500
From:      sho@wirewalk.com
To:        freebsd-ports@freebsd.org
Subject:   amavisd errors after perl upgrade
Message-ID:  <ac5e31010901290757l7397fd8awcda426ba59716c7a@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I recently upgraded perl to 5.8.9, with portupgrade -rR, run
perl-after-upgrade. Still run into some problems after that.
Manually deinstalled and reinstalled many SA and Amavisd-new dependenices,
but still get these errors in Amavisd-new with Mail:SPF.  I completely
unistalled and reinstalled p5-Mail-SPF and p5-Mail-SPF-Query, but this isn't
going away. Even rebuilding SA without SPF support doesn't fix this. Any
suggestions ? I'd hate to switch to CPAN builds, the ports system is more
managable.  Thanks a lot in advance.

fetch_modules: error loading optional module Mail/SPF/Request.pm:
  Base class package "Error" is empty.
      (Perhaps you need to 'use' the module which defines that package
first,
      or make that module available in @INC (@INC contains:
/usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach
/usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach
/usr/local/lib/perl5/5.8.9).
   at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Exception.pm line 15
  BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Exception.pm line 15.
  Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Util.pm line 26.
  BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Util.pm line 26.
  Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Request.pm line 26.
  BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Request.pm line 26.
  Compilation failed in require at /usr/local/sbin/amavisd line 195.
fetch_modules: error loading optional module Mail/SPF/Mech/A.pm:
  Can't locate object method "explanation_templates_by_result_code" via
package "Mail::SPF::SenderIPAddrMech" at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/SenderIPAddrMech.pm line 28.
  BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/SenderIPAddrMech.pm line 34.
  Compilation failed in require at (eval 136) line 3.
      ...propagated at /usr/local/lib/perl5/5.8.9/base.pm line 93.
  BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mech/A.pm line 22.
  Compilation failed in require at /usr/local/sbin/amavisd line 195.
fetch_modules: error loading optional module Mail/SPF/Mech/PTR.pm:
  Can't locate object method "make_accessor" via package
"Mail::SPF::Mech::PTR" at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mech/PTR.pm line 127.
  Compilation failed in require at /usr/local/sbin/amavisd line 195.
fetch_modules: error loading optional module Mail/SPF/Mech/All.pm:
  Can't locate object method "explanation_templates_by_result_code" via
package "Mail::SPF::Mech::All" at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mech/All.pm line 30.
  BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mech/All.pm line 35.
  Compilation failed in require at /usr/local/sbin/amavisd line 195.
fetch_modules: error loading optional module Mail/SPF/Mech/Exists.pm:
  Can't locate object method "make_accessor" via package
"Mail::SPF::Mech::Exists" at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mech/Exists.pm line 126.
  Compilation failed in require at /usr/local/sbin/amavisd line 195.
fetch_modules: error loading optional module Mail/SPF/Mech/IP4.pm:
  Can't locate object method "make_accessor" via package
"Mail::SPF::Mech::IP4" at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mech/IP4.pm line 133.
  Compilation failed in require at /usr/local/sbin/amavisd line 195.
fetch_modules: error loading optional module Mail/SPF/Mech/IP6.pm:
  Can't locate object method "make_accessor" via package
"Mail::SPF::Mech::IP6" at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mech/IP6.pm line 131.
  Compilation failed in require at /usr/local/sbin/amavisd line 195.
fetch_modules: error loading optional module Mail/SPF/Mech/Include.pm:
  Base class package "Error" is empty.
      (Perhaps you need to 'use' the module which defines that package
first,
      or make that module available in @INC (@INC contains:
/usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach
/usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach
/usr/local/lib/perl5/5.8.9).
   at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Result.pm line 23
  BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Result.pm line 23.
  Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mech/Include.pm line 24.
  BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mech/Include.pm line 24.
  Compilation failed in require at /usr/local/sbin/amavisd line 195.
fetch_modules: error loading optional module Mail/SPF/Mech/MX.pm:
  Can't locate object method "make_accessor" via package
"Mail::SPF::Mech::MX" at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mech/MX.pm line 156.
  Compilation failed in require at /usr/local/sbin/amavisd line 195.
fetch_modules: error loading optional module Mail/SPF/Mod/Exp.pm:
  Base class package "Mail::SPF::GlobalMod" is empty.
      (Perhaps you need to 'use' the module which defines that package
first,
      or make that module available in @INC (@INC contains:
/usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach
/usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach
/usr/local/lib/perl5/5.8.9).
   at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mod/Exp.pm line 23
  BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mod/Exp.pm line 23.
  Compilation failed in require at /usr/local/sbin/amavisd line 195.
fetch_modules: error loading optional module Mail/SPF/Mod/Redirect.pm:
  Base class package "Mail::SPF::GlobalMod" is empty.
      (Perhaps you need to 'use' the module which defines that package
first,
      or make that module available in @INC (@INC contains:
/usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach
/usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach
/usr/local/lib/perl5/5.8.9).
   at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mod/Redirect.pm line 23
  BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Mod/Redirect.pm line 23.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac5e31010901290757l7397fd8awcda426ba59716c7a>