Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182465 - mail-filter/spamassassin-3.2.1 fails with error
Summary: mail-filter/spamassassin-3.2.1 fails with error
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-18 14:45 UTC by Marc Geerlings
Modified: 2009-11-14 20:53 UTC (History)
1 user (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 Marc Geerlings 2007-06-18 14:45:41 UTC
emerge spamassassin fails with error:

REQUIRED module out of date: Net::DNS
optional module missing: Mail::SPF
optional module missing: Mail::SPF::Query
optional module missing: IP::Country
optional module missing: Razor2
optional module missing: Net::Ident
optional module missing: IO::Socket::INET6
optional module missing: Mail::DomainKeys
optional module missing: Mail::DKIM
optional module missing: DBI
optional module missing: LWP::UserAgent
optional module missing: Encode::Detect

warning: some functionality may not be available,
please read the above report before continuing!


!!! ERROR: mail-filter/spamassassin-3.2.1 failed.
Call stack:
  ebuild.sh, line 1629:   Called dyn_compile
  ebuild.sh, line 975:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  spamassassin-3.2.1.ebuild, line 99:   Called perl-module_src_prep
  perl-module.eclass, line 125:   Called die

!!! Unable to build! (are you using USE="build"?)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/mail-filter/spamassassin-3.2.1/temp/build.log'.

net::DNS is on its latest portage version:
emerge -p dev-perl/Net-DNS
[ebuild   R   ] dev-perl/Net-DNS-0.59

emerge -upv spamassassin
[ebuild     U ] mail-filter/spamassassin-3.2.1 [3.1.8-r1] USE="berkdb ipv6 ssl -doc -ldap -mysql -postgres -qmail -sqlite -tools" 0 kB

Steps I tried:
>revdep-rebuild
>emerge --oneshot perl
>emerge dev-perl/XML-LibXML Net-DNS HTML-Parser Digest-SHA1 spamassassin -av
>perl-cleaner all ask


Reproducible: Always

Steps to Reproduce:
1. emerge spamassassin


Actual Results:  
emerge fails

Expected Results:  
New version of spamassassin

Portage 2.1.3_rc4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.21-suspend2-r5 x86_64)
=================================================================
System uname: 2.6.21-suspend2-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 18 Jun 2007 09:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-mtune=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
PKGDIR="/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/musicbrainz /usr/local/portage /usr/local/misc_overlays /usr/local/portage-aeskulap /usr/local/portage-musicbrainz"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accesibility accessibility acl acpi aiglx alsa amd64 audiofile avahi avi beagle berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli cracklib crypt cups daap dbus dpms dri dv dvd dvdr dvdread eds emul-linux-x86 encode evo exif fam ffmpeg firefox foomaticdb fortran galago gb gcj gdbm gif glitz glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv ieee1394 imagemagick imap imlib ipv6 isdnlog java javascript joystick jpeg keyring libg++ libnotify mad midi mikmod mime mmx mng mono mozsvg mp3 mp4 mpeg mudflap ncurses networkmanager nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcmcia pcre pdf perl png postscript pppd python quicktime readline reflection samba scanner sdl session sndfile sockets sox speex spell spl sse sse2 ssl svg tcpd theora threads tiff tracker truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis wifi wmf wxwindows xinerama xml xml2 xorg xosd xpm xrandr xv xvid zlib" ALSA_CARDS="intel8x0 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Allen Brooker (AllenJB) 2007-10-03 20:14:31 UTC
I get a similar problem:

REQUIRED module missing: HTML::Parser
optional module missing: Mail::SPF
optional module missing: Razor2
optional module out of date: Compress::Zlib
optional module missing: Mail::DomainKeys
optional module missing: Mail::DKIM
optional module missing: Encode::Detect

warning: some functionality may not be available,
please read the above report before continuing!

USE flags:
mail-filter/spamassassin-3.2.3  USE="-berkdb -doc ipv6 -ldap -mysql -postgres -qmail -sqlite ssl tools"

emerge --info:
Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.20-xen-r3 i686)
=================================================================
System uname: 2.6.20-xen-r3 i686 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Wed, 03 Oct 2007 20:00:06 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.7.9-r1, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask -vat -kn --with-bdeps=y --alphabetical"
FEATURES="buildpkg collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="         http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo         http://mirror.switch.ch/mirror/gentoo/         http://pandemonium.tiscali.de/pub/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 bash-completion bitmap-fonts bzip2 cli cracklib crypt cups dri fortran iconv ipv6 isdnlog ithreads midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl tcpd threads truetype-fonts type1-fonts unicode vhosts x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
Comment 2 Allen Brooker (AllenJB) 2007-10-03 20:16:42 UTC
Forgot to mention, in my case it's worse - I installed the required package seperately:
[I] dev-perl/HTML-Parser
     Available versions:  3.48 ~3.54 3.55 3.56 {unicode}
     Installed versions:  3.56(15:39:16 09/29/07)(unicode)

And I still get the same error. I've tried an rm -rf /var/tmp/portage/mail-filter/*

I also got the same problem with SpamAssassin 3.54
Comment 3 Andreas Nüßlein 2008-01-26 23:26:42 UTC
re-emerging Net-DNS did the trick for me... look on the top of the merge .. it should say which package is the misbehaving
Comment 4 David Abbott (RETIRED) gentoo-dev 2009-11-14 20:53:43 UTC
I did not have any problem emerging the latest stable 3.2.1-r1 or 3.2.5-r1 in ~amd64 so I am going to close as it works for me. Please reopen if needed.