Error and parts leading up to it: --- /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.000001" -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" spamc/configure.pl: version.h.pl: Failed to get the version from Mail::SpamAssassin. 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 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux /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. cd spamc /usr/bin/perl version.h.pl version.h.pl: creating version.h make: *** [spamc/Makefile] Error 2 --- Reproducible: Always Steps to Reproduce: I had berkdb in my local USE flags for it (/etc/portage/package.use) Portage 2.0.51-r3 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.6.6 distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -frename-registers -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -frename-registers -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs candy ccache digest distlocks prelink sandbox userpriv usersandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/var/pub/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="3dnow 3dnowex S3TC X X509 Xaw3d aalib acpi acpi4linux aim alsa audiofile avi cddb cdr cjk crypt cups curl dga directfb divx divx4linux dmx dnd dvd dvdread encode esd ext-png fam foomaticdb freetype gif gimpprint gnome gnutls gstreamer gtk gtk2 hal imlib imlib2 jabber java javascript jpeg libwww matroska md5sum mmx mozilla moznocompose moznoirc moznomail mpeg mpeg4 mpi mplayer msn ncurses nls nocardbus nocd nodod nowin nptl nptlonly nvidia offensive oggvorbis openal opengl oscar pam pdflib pic png ppds quicktime readline real samba sdl session silc slp spamassassin spell src sse ssl stencil-buffer svg svga tcpd theora threads truetype unicode usb userlocales videos x86 xine xml xml2 xosd xv xvid yahoo"
After remerging _both_ dev-perl/Digest-SHA1 AND dev-perl/HTML-Parser it would compile. Did I miss a perl upgrade warning thing before? I noticed that in both instances when the old version was removed, it took some (moved I presume) .so files with it. Should this be documented? Or am I just special?
I didn't rebuild perl modules. Sorry.