spamassassin can't locate Digest/SHA1.pm in perl. But I do have it: me@gentoo # locate SHA1.pm /usr/lib/perl5/vendor_perl/5.8.5/Digest/HMAC_SHA1.pm /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Digest/SHA1.pm emerge info: Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 20:06:10)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium-m -O3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium-m -O3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS=" http://gentoo.chem.wisc.edu/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://chod.cwru.edu/gentoo http://mirror.clarkson.edu/pub/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apm avi berkdb bitmap-fonts cdr cjk crypt cups curl dbus dga directfb divx4linux dvd dvdr dvdread emboss encode esd f77 fam fbcon font-server foomaticdb fortran gdbm gif gimpprint gnome gpm gtk gtk2 hal howl imlib ipv6 ithreads java jpeg lcd ldap libg++ libwww mad mikmod mmx motif mozilla mozsvg mpeg mpeg4 ncurses nls nptl nptlonly offensive oggvorbis openal opengl openssh oss pam pcmcia pdflib perl pic png python qt quicktime readline real samba sdl spell sse sse2 ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts unicode userlocales utf8 v4l2 xinerama xml2 xmms xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: 1.emerge -avuDt world These are the packages that I would merge, in reverse order: Calculating world dependencies ...done! [ebuild U ] sys-apps/slocate-2.7-r7 [2.7-r5] -debug (-uclibc) 95 kB [ebuild U ] net-im/gaim-1.1.4 [1.1.3] +cjk -debug -eds -gnutls -krb4 -nas +nls +perl -silc +spell -tcltk 5,073 kB [ebuild U ] x11-themes/fluxbox-styles-fluxmod-20050128 [20041024] 1,249 kB [nomerge ] media-video/mplayer-1.0_pre5-r5 -3dfx -3dnow -3dnowex +X -aalib +alsa (-altivec) -arts +avi -bidi -cdparanoia -debug +dga +directfb +divx4linux -doc -dvb +dvd +dvdread -edl +encode +esd +fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -lzo +mad -matroska -matrox +mmx -mmx2 +mpeg -mythtv -nas -network +nls -nvidia +oggvorbis +opengl +oss +png +real -rtc +samba +sdl +sse +sse2 +svga -tga -theora +truetype -v4l +v4l2 -xanim +xinerama* +xmms +xv +xvid -xvmc [ebuild U ] media-libs/win32codecs-20050115 [20040916-r1] +quicktime +real 12,288 kB [ebuild U ] media-libs/libdv-0.102 [0.99-r1] -debug +gtk +sdl +xv 465 kB [nomerge ] app-admin/metalog-0.8_pre20031130 [ebuild U ] dev-libs/libpcre-5.0 [4.5] -debug 454 kB [ebuild U ] x11-wm/fluxbox-0.9.12-r1 [0.9.11] -bigger-fonts -disablexmb +gnome* +imlib -kde +nls +truetype +xinerama* 633 kB [nomerge ] mail-client/evolution-2.0.2-r1 +crypt -debug -doc +ipv6 -kerberos +ldap* +mozilla -nntp -pda +spell +ssl [ebuild U ] mail-filter/spamassassin-3.0.2-r1 [3.0.2] +berkdb -doc -qmail +ssl 0 kB Total size of downloads: 20,261 kB 2. 3. Actual Results: FIX="/usr" <lib/Mail/SpamAssassin/Plugin/RelayCountry.pm >blib/lib/Mail/SpamAssassin/Plugin/RelayCountry.pm /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.000002" -DPREFIX="/usr" <lib/Mail/SpamAssassin/Util/RegistrarBoundaries.pm >blib/lib/Mail/SpamAssassin/Util/RegistrarBoundaries.pm /usr/bin/perl spamc/configure.pl --prefix="/usr" --sysconfdir="/etc/mail/spamassassin" --datadir="/usr/share/spamassassin" --enable-ssl="yes" cd spamc /usr/bin/perl version.h.pl version.h.pl: creating version.h spamc/configure.pl: version.h.pl: Failed to get the version from Mail::SpamAssas sin. Please use the --with-version= switch to specify it manually. The error was: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: Can't locate Digest/SHA1.pm in @INC (@INC contains: ../lib /etc/perl /usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl .) at ../lib/Mail/SpamAssassin/EvalTests.pm line 33. BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/EvalTests.pm line 33. Compilation failed in require at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56. BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56. Compilation failed in require at ../lib/Mail/SpamAssassin.pm line 74. BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin.pm line 74. Compilation failed in require at version.h.pl line 27. make: *** [spamc/Makefile] Error 2 !!! ERROR: mail-filter/spamassassin-3.0.2-r1 failed. !!! Function perl-module_src_compile, Line 65, Exitcode 2 !!! compilation failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: spamassassin emerged
But that isn't part of your @INC - /usr/lib/perl5/5.8.5/i686-linux-thread-multi vs where you found it, /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/. Looks like at some point you had/have a threaded perl installed. You will need to reinstall this module, and likely more, to get over this change of heart on your end. I'd recommend using $PORTDIR/dev-lang/perl/files/perl_cleaner with the rebuild modules option to clear this up most simply.
Michael, thanks for helping me solve the problem. I re-emerged perl without ithread, and it's working now.