Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528894 - mail-filter/amavisd-new-2.10.1 - fetch_modules: error loading required module MIME/Head.pm: Insecure dependency in eval while running with -T switch at /usr/lib64/perl5/vendor_perl/5.20.1/Mail/Field.pm line 49.
Summary: mail-filter/amavisd-new-2.10.1 - fetch_modules: error loading required module...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-11 03:51 UTC by renato gallo
Modified: 2018-11-22 03:12 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description renato gallo 2014-11-11 03:51:01 UTC
/etc/init.d/amavisd start
 * Starting amavisd-new ...
fetch_modules: error loading required module MIME/Head.pm:
  Insecure dependency in eval while running with -T switch at /usr/lib64/perl5/vendor_perl/5.20.1/Mail/Field.pm line 49.
  BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.20.1/MIME/Field/ConTraEnc.pm line 44.
  Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.20.1/MIME/Head.pm line 127.
  BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.20.1/MIME/Head.pm line 127.
  Compilation failed in require at /usr/sbin/amavisd line 209.
fetch_modules: error loading required module MIME/Entity.pm:
  Attempt to reload MIME/Head.pm aborted.
  Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.20.1/MIME/Entity.pm line 234.
  BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.20.1/MIME/Entity.pm line 234.
  Compilation failed in require at /usr/sbin/amavisd line 209.
fetch_modules: error loading required module MIME/Parser.pm:
  Attempt to reload MIME/Head.pm aborted.
  Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.20.1/MIME/Parser.pm line 141.
  BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.20.1/MIME/Parser.pm line 141.
  Compilation failed in require at /usr/sbin/amavisd line 209.
ERROR: MISSING REQUIRED BASIC MODULES:
  MIME::Head
  MIME::Entity
  MIME::Parser
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 249.                                                                                        [ !! ]
 * ERROR: amavisd failed to start

vajra amavisd-new # perl --version

This is perl 5, version 20, subversion 1 (v5.20.1) built for x86_64-linux
(with 24 registered patches, see perl -V for more detail)

Copyright 1987-2014, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

vajra amavisd-new # 


Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/amavisd start

Actual Results:  
crash

Expected Results:  
start

emerge --info
Portage 2.2.14 (python 2.7.8-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.20, 3.16.3-gentoo x86_64)
=================================================================
System uname: Linux-3.16.3-gentoo-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     3795656 total,   1072636 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Fri, 07 Nov 2014 20:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p30
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.2.5, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.3
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.3, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo sunrise
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise"
SYNC="rsync://rsync.ie.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl alsa amd64 apache2 apng atmo audit authfile auto-hinter autoipd avahi ban bash-completion bcmath berkdb bidi bittorrent bluetooth bzip2 cairo calendar case cdb cdda cddb cdr cgi cjk clamav clamdtop cli cnijtools courier cracklib crypt ctrls cups curl curlwrappers cxx dbus dc1394 dconf declarative deflate desktopglobe dga dhcpcd dirac directfb djvu dlz dri dts dvb dvd dynamicplugin eds embed enchant encode epydoc esd examples exec exif extras fbcon ffmpeg filter flac flatfile fluidsynth fontconfig fontforge foomaticdb fortran fpm ftp g3dvl gbm gd gdbm ggi gif gimp gme gmp gnome gnome-keyring gphoto2 gpm gstreamer gtk gtk3 gudev hpijs httpd hwdb iconv icu id3tag ident ieee1394 ifsession inifile inline-init-failopen intl introspection iodbc ip1900 ip3600 ip4600 ipmi ipq ix6550 java jce jpeg jpeg2k kate kde lame lapack large-pcap-64bit lcms libass libcaca libkms libnotify libproxy libtiger libv4l2 linux-smp-stats live lua lzma mad matroska mdnsresponder-compat mhash midi milter minizip mmx mng mod modplug modules mp190 mp240 mp3 mp540 mp630 mpeg mtp multilib musepack mx360 mx410 mx420 mx880 mysql mysqli mysqlnd mythtv ncurses nfq nls nptl nsplugin nspluginwrapper nss odbc odk ogg openexr opengl openmp openssl optimisememory oss ovftool pam pango pasteafter pcntl pcre pdf pdfimport pdo perl phonon php pic plasma playlist png policykit poll ppds projectm ps pulseaudio pvr python python2 python3 qalculate qt3support qwt rar ratio raw readline readme reload-error-restar remoteosd rewrite romio rpc rtsp run-as-root samba schroedinger scim screensaver script sdk sdl sdl-image semantic-desktop server session setup sftp shaper shine shout sitemisc skins slp smbsharemodes smp snmp soap sockets softquota spamassassin speex spell sql sqlite sqlite2 sse sse2 ssl static-ppds stream stunnel suhosin svg swat system-libvncserver systemd taglib tcpd templates theora threads tidy tiff tilepath tk tools trace truetype truetype-debugger twolame type3 udev udisks unicode upcall upnp ups_drivers_netxml-ups ups_drivers_nut-ipmipsu ups_drivers_snmp-ups usb utils v4l2 vaapi vala vcdx vdpau vix vlm vmware-tools vmware_guest_freebsd vmware_guest_linux vmware_guest_netware vmware_guest_solaris vmware_guest_winPre2k vmware_guest_windows vorbis vroot wddx webinterface webkit winbind wma-fixed wmf wxwidgets x264 xa xattr xml xmlreader xmlrpc xmlwriter xosd xpm xsl xv xvfb zip zlib zvbi" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 renato gallo 2014-11-11 03:56:09 UTC
neither reemerging MIME-tools nor reemerging amavisd-new solves the problem
Comment 2 Michael Orlitzky gentoo-dev 2018-10-13 01:50:27 UTC
> ERROR: MISSING REQUIRED BASIC MODULES:
>  MIME::Head
>  MIME::Entity
>  MIME::Parser

This looks like something that would have been solved by "perl-cleaner --reallyall". I realize this was 4 years ago... did this go away on its own?
Comment 3 Michael Orlitzky gentoo-dev 2018-11-22 03:12:00 UTC
I've added myself as a maintainer of amavisd-new and am willing to troubleshoot this if it's still a problem. Please reopen in that case!