As per summary. Bottom of compilation log is as follows: 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::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.2/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /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.2 /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /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. make: *** [spamc/Makefile] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -u spamassassin 3. Actual Results: version.h.pl during the spamassassin build failed to run. Expected Results: Install spamassassin upgrade. :-) hex root # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.28 i686) ================================================================= System uname: 2.4.28 i686 AMD Duron(tm) processor Gentoo Base System version 1.4.16 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/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O3 -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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" USE="X apache2 berkdb bitmap-fonts crypt cups encode f77 font-server foomaticdb fortran gdbm gif gtk2 imap ipv6 java jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis pam pdflib perl png python readline samba slang spell ssl tcltk tcpd tiff truetype-fonts type1-fonts x86 xml2 zlib"
The first line in the error says: Can't locate Digest/SHA1.pm Solution: emerge dev-perl/Digest-SHA1 I also had to: emerge dev-perl/HTML-Parser. Then: emerge -u spamassassin
I already have both of those emerged on my system. I'll try re-emerging them... (maybe a new stable revision needs to appear to force this?) Yes, that worked, thanks.
clearly this is an issue, and I've just synced the tree, so why is this problem yet on the stable branch? :S
Digest-SHA1 is a dep for spamassassin - if it wasn't pulled in, then that means your portage is confused (nicest way to say it). I recommend running dev-lang/perl/files/perl-cleaner - at least with the modules option - to re-emerge old module installs that might be compiled against old libperl's.
*** Bug 80876 has been marked as a duplicate of this bug. ***
I'd actually forgotten about this bug, and since then my system upgraded normally to spamassassin-3.0.2-r1 without any special intervention.
In that case I'm just waiting on mog.johnny to confirm. Will leave open for a few days and see if we hear anything. Thanks Rachel, Mike
emerge dev-perl/Digest-SHA1 dev-perl/HTML-Parser ; emerge -u spamassassin worked. We can close this bug. Johnny
okies