Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104037

Summary: upgrading mail-filter/spamassassin to version 3.0.4 fails
Product: Gentoo Linux Reporter: Stefan Kögl <koeglstefan>
Component: [OLD] ServerAssignee: Gentoo Perl team <perl>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: howard_b_golden, matrixhax0r
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Kögl 2005-08-28 07:56:18 UTC
emerging mail-filter/spamassassin-3.0.4 fails during compilation with the
following error-messages:

FIX="/usr" <lib/Mail/SpamAssassin/Util/RegistrarBoundaries.pm >blib/lib/Mail/Spa
mAssassin/Util/RegistrarBoundaries.pm
/usr/bin/perl spamc/configure.pl --prefix="/usr" --sysconfdir="/etc/mail/spamass
assin" --datadir="/usr/share/spamassassin" --enable-ssl="no"
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 /et
c/perl /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi /usr/lib/perl5/sit
e_perl/5.8.7 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i686-linu
x-thread-multi /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.4
 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl
5/vendor_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/
perl5/5.8.7/i686-linux-thread-multi /usr/lib/perl5/5.8.7 /usr/local/lib/site_per
l .) 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 5 6.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/PerMsgStatus.pm li
ne 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] Fehler 2

!!! ERROR: mail-filter/spamassassin-3.0.4 failed.
!!! Function perl-module_src_compile, Line 119, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:




steve ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo i686)
=================================================================
System uname: 2.6.12-gentoo i686 Genuine Intel(R) CPU 3.06GHz
Gentoo Base System version 1.12.0_pre6
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe
-funroll-loops -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe
-funroll-loops -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_EN.UTF-8"
LC_ALL="de_AT.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts
cdr crypt cups curl doc dvd dvdr eds emboss encode esd fam flac foomaticdb
fortran gcj gdbm gif gnome gstreamer gtk gtk2 imagemagick imlib jack java jikes
jpeg junit ldap libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mysql
ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png python quicktime
readline ruby samba sdl slang spell sse sse2 ssl svga tcltk tcpd tetex threads
tiff truetype truetype-fonts type1-fonts unicode vorbis xine xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Howard B. Golden 2005-09-03 11:24:30 UTC
Stefan,

Please see bug 80876, bug 83342, bug 96807 and bug 97719 for suggestions.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-04 04:12:27 UTC
Mass re-assign.
Comment 3 David Li 2005-09-10 14:48:14 UTC
Basicly try these, in order:

1) Make sure perl and libperl aren't compiled with ithreads
2) re-emerge Digest-SHA1 and HTML-Parser
3) run "perl-cleaner all"

Especially about item #1. I believe the Stage 3/1 installation guide in the
forums unforunately recomend those.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-11-09 09:11:14 UTC
Mass re-assign.
Comment 5 Chris White (RETIRED) gentoo-dev 2006-01-27 21:40:39 UTC
Request test case be completed as recommended in comment 3.