Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78348 - Upgrading spamassassin from 2.64 to 3.0.2 fails during compilation
Summary: Upgrading spamassassin from 2.64 to 3.0.2 fails during compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 80876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-17 04:33 UTC by Rachel Greenham
Modified: 2005-02-11 05:29 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 Rachel Greenham 2005-01-17 04:33:31 UTC
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"
Comment 1 Ole Hansen 2005-01-18 10:43:15 UTC
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
Comment 2 Rachel Greenham 2005-01-18 10:54:33 UTC
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.
Comment 3 André Lemos 2005-01-23 11:07:36 UTC
clearly this is an issue, and I've just synced the tree, so why is this problem yet on the stable branch? :S
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-02-10 03:00:59 UTC
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.
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-02-10 03:01:52 UTC
*** Bug 80876 has been marked as a duplicate of this bug. ***
Comment 6 Rachel Greenham 2005-02-10 03:27:09 UTC
I'd actually forgotten about this bug, and since then my system upgraded normally to spamassassin-3.0.2-r1 without any special intervention.
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2005-02-11 04:38:42 UTC
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
Comment 8 Hans-Christian Armingeon 2005-02-11 05:18:33 UTC
emerge dev-perl/Digest-SHA1 dev-perl/HTML-Parser ; emerge -u spamassassin worked.

We can close this bug.

Johnny
Comment 9 Michael Cummings (RETIRED) gentoo-dev 2005-02-11 05:29:18 UTC
okies