Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113691 - spamassassin-3.1.0-r2 fails with perl-error
Summary: spamassassin-3.1.0-r2 fails with perl-error
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
: 125888 (view as bug list)
Depends on:
Reported: 2005-11-27 03:20 UTC by Dead Schorsch
Modified: 2006-03-30 15:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Dead Schorsch 2005-11-27 03:20:58 UTC
>>> emerge (1 of 1) mail-filter/spamassassin-3.1.0-r2 to /
>>> md5 files   ;-) spamassassin-3.1.0-r1.ebuild
>>> md5 files   ;-) spamassassin-3.1.0.ebuild
>>> md5 files   ;-) spamassassin-3.1.0-r2.ebuild
>>> md5 files   ;-) spamassassin-3.0.4.ebuild
>>> md5 files   ;-) files/spamd.init
>>> md5 files   ;-) files/3.0.0-spamd.conf
>>> md5 files   ;-) files/3.0.0-spamd.init
>>> md5 files   ;-) files/digest-spamassassin-3.1.0-r2
>>> md5 files   ;-) files/digest-spamassassin-3.1.0
>>> md5 files   ;-) files/digest-spamassassin-3.0.4
>>> md5 files   ;-) files/spamd.conf
>>> md5 files   ;-) files/
>>> md5 files   ;-) files/digest-spamassassin-3.1.0-r1
>>> md5 src_uri ;-) Mail-SpamAssassin-3.1.0.tar.bz2
>>> Unpacking source...
>>> Unpacking Mail-SpamAssassin-3.1.0.tar.bz2 to /var/tmp/portage/spamassassin-3
tar: Read 6656 bytes from -
>>> Source unpacked.
 * Using ExtUtils::MakeMaker
What email address or URL should be used in the suspected-spam report
text for users who want more information on your filter installation?
(In particular, ISPs should change this to a local Postmaster contact)
default text: [the administrator of that system] the administrator of that syste m

NOTE: settings for "make test" are now controlled using "t/config.dist".
See that file if you wish to customise what tests are run, and how.

checking module dependencies and their versions...
perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.7/i686-linux/auto/DB_F
ile/ undefined symbol: db_version_4000
make: *** No rule to make target `spamc/Makefile'.  Stop.
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: mail-filter/spamassassin-3.1.0-r2 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:

Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4,
glibc-2.2.5-r2,glibc-2.3.5-r3, 2.6.14-gentoo-r2 i686)
System uname: 2.6.14-gentoo-r2 i686 AMD Sempron(tm)   2800+
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
CFLAGS="-march=athlon-xp -O3 -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
CXXFLAGS="-march=athlon-xp -O3 -pipe"
FEATURES="autoconfig ccache distcc distlocks fixpackages sandbox sfperms strict
userpriv usersandbox"
USE="x86 3dnow 3dnowext X aac aalib acpi acpi4linux activefilter adns aim alsa
apache2 async audiofile avi bash-completion berkdb bitmap-fonts bluetooth bmp
bonobo bzip2 bzlib cddb cdinstall cdparanoia cdr chroot crypt cups curl dbus dga
divx4linux doc dts dvb dvd dvdr eds emboss encode esd evo exif expat fam fbcon
flac foomaticdb fortran ftp gd gdbm gif gimp gimpprint glut gnome gnomedb
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv idn imagemagick imap
imlib imlib2 ipv6 irmc java jikes jpeg junit lcms ldap libg++ libwww live
lzw-tiff mad mbox mhash mime mmx mmx2 mmxext mng mozilla moznocompose moznoirc
moznomail mozp3p mozplaintext mozsvg mp3 mpeg mpeg4 msn ncurses netbeans nls
nocd nptl ntplonly nvidia ogg oggvorbis openal opengl pam pcre pda pdflib perl
php png posix postgres ppds python quicktime readline recode samba scanner sdl
slang smime sockets sox speex spell sse ssl svg svga tcpd tetex tga tiff
truetype-fonts type1-fonts udev unicode usb vcd videos vidix vorbis win32codecs
wmf xfs xine xinerama xml xml2 xosd xpm xv xvid xvmc zlib linguas_de
userland_GNU kernel_linux elibc_glibc"
Comment 1 Tom Martin (RETIRED) gentoo-dev 2005-11-27 03:31:03 UTC
The weird thing is, you're USEing berkdb so perl-core/DB_File should be dragged
in as a dependency without issue.

I wonder what happens if you try:

emerge --oneshot perl-core/DB_File
emerge spamassassin
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-11-27 03:43:16 UTC
Looks like your sys-libs/db install is somewhat broken - see Bug 85727.
Comment 3 Dead Schorsch 2005-11-27 10:50:21 UTC
As for comment #1: DB_File emerges, but that does not affect the outcome of
emerge spamassassin. Still does fail.
Comment 4 Dead Schorsch 2005-11-27 10:59:27 UTC
As for comment #2, I had to change the symlink db.h to version 4.2 manually,
after that, SpamAssassing emerged. 

As for sys-lib/db: why is it, that 

$ emerge --search db displays
*  sys-libs/db
      Latest version available: 4.2.52_p2
      Latest version installed: 4.2.52_p2

while $ emerge --prune sys-lib/db displays
    selected: 4.0.14-r2 4.1.25_p1-r4 4.2.52_p2 1.85-r3
   protected: 3.2.9-r10
     omitted: none

What makes emerge want to remove the newer versions and keep 3.2 series?

Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-11-28 00:57:24 UTC
(In reply to comment #4)
> As for comment #2, I had to change the symlink db.h to version 4.2 manually,
> after that, SpamAssassing emerged. 

Thanks for reporting back.

> What makes emerge want to remove the newer versions and keep 3.2 series?

emerge prune does not handle slots and you definitely should *not* unmerge the
other sys-libs/db versions. This is a separate issue anyway, this bug can be
probably closed. 
Comment 6 Dead Schorsch 2005-11-28 01:28:08 UTC
Indeed, can be closed. Thanks for assistance.
Comment 7 Dead Schorsch 2005-12-23 00:47:32 UTC
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-03-12 00:25:21 UTC
*** Bug 125888 has been marked as a duplicate of this bug. ***
Comment 9 John Cox 2006-03-12 08:19:50 UTC
(In reply to comment #8)
> *** Bug 125888 has been marked as a duplicate of this bug. ***
> I eventually re-emerged db, then DB_file, and then spamassassin, in that order and spamd started. I had no clue that db was involved. 

Is there something that should be added into the emerge to require that db get updated? Some change could greatly assist those of us who are marginally competent in this area.

Thanks for the help. 
Comment 10 Michael Cummings (RETIRED) gentoo-dev 2006-03-30 15:11:22 UTC
db isn't a 100% requiement for spamassassin to work - just to avoid some misleading error messages. the dep is visible if you emerge -av spamassassin (db is one of the use flags).