When I tried update spamassassin to version 3.0.4 , emerge failed with this message /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.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /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. #esync 2. #emerge spamassassin 3. Actual Results: Emerge failed My emerge info : # emerge info Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.4.20040808- r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 24 2004, 02:42:32)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable d] dev-lang/python: 2.3.4 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.14.90.0.8-r3 sys-devel/libtool: 1.5.2-r5 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/shar e/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.gentoo.sk/pub" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://mirror.gentoo.sk/gentoo-portage" USE="x86 acl apache2 berkdb bitmap-fonts bzlib cdr crypt cups curl dedicated e mboss ethereal exif firebird foomaticdb fortran ftp gd gdbm gif gpm imap imlib jpeg libclamav libg++ libwww mad maildir mikmod mime mmap mmx mysql ncurses n ls nptl pam pam-mysql pdflib perl png posix postgres ppds python readline samb a sasl sdl spell ssl tidy tiff truetype truetype-fonts trusted type1-fonts vho sts wifi wmf xinerama xml xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVER LAY
Thank you for taking the time to report this bug. It appears that some of your perl modules have not been rebuilt after an update of perl. Please use perl cleaner to update your modules to see if that fixes the issue: # perl-cleaner all
It works now. Spamassassin successfully merged. Thank you.