Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171436 - mail-filter/spamassassin-fuzzyocr-3.5.1 should RDEPEND on dev-perl/MLDBM
Summary: mail-filter/spamassassin-fuzzyocr-3.5.1 should RDEPEND on dev-perl/MLDBM
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-19 12:22 UTC by Peter Gantner (a.k.a. nephros)
Modified: 2013-01-25 11:20 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 Peter Gantner (a.k.a. nephros) 2007-03-19 12:22:31 UTC
I have emerged mail-filter/spamassassin-fuzzyocr-3.5.1  with USE="gocr logrotate ocrad tesseract -amavis -dbm -mysql" but upon restarting spamd it fails with

Mar 19 13:15:47 scourge spamd[21395]: Can't locate MLDBM/Sync.pm in @INC (@INC contains: .. /etc/mail/spamassassin lib ../lib /usr/lib/perl5/vendor_perl/5.8.
8/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /etc/perl /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8
.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/lib/perl5/vendor_perl/5.8.8/FuzzyOcr/Config.pm line 39.

Neither MLDBM nor MLDBM-Sync were installed.

After emergeing MLDBM (but not MLDBM-Sync) spamd starts normally.

Reproducible: Always

Steps to Reproduce:
Comment 1 Tom Knight (RETIRED) gentoo-dev 2007-05-10 20:34:19 UTC
Hmm, MLDBM::Sync is only needed if you have the dbm USE flag set. The code that checks if MLDBM::Sync is installed is called from within an eval block so it shouldn't cause spamd to die. SO it looks like something else is causing the problem.

Please post your emerge --info and the versions that you have installed of the following packages:

mail-filter/spamassassin
dev-lang/perl
sys-apps/baselayout
Comment 2 Peter Gantner (a.k.a. nephros) 2007-05-10 23:17:21 UTC
sure:

Portage 2.1.2.6 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r2, 2.6.20.10-sc
3 i686)
=================================================================
System uname: 2.6.20.10-sc3 i686 AMD Athlon(TM) MP 1800+
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 09 May 2007 15:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-w -mtune=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -malign-functions=4 -malign-loops=2 -malign-jumps=2 -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache1-php4/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /usr/X11R6/lib/X11/xkb;/usr/X11R6/lib/X11/locale"
CXXFLAGS="-w -mtune=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -malign-functions=4 -malign-loops=2 -malign-jumps=2 -fno-ident -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LINGUAS="C POSIX en en_GB en_US de_AT"
MAKEOPTS="-j4 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/musicbrainz /usr/portage/local/layman/armagetron /usr/portage/local/layman/voip /usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise /usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext aalib acl acpi alsa apache2 avi bash-completion berkdb bitmap-fonts cairo caps cdr cli cracklib crypt cups dga dlloader dri dvb dvd dvdr fam flac fortran gdbm glitz gpm gtk2 icc icc-pgo iconv imlib innodb isdnlog java joystick kdeenablefinal kdehiddenvisibility kdexdeltas ldap libg++ logrotate midi mikmod mmx mmx2 mmxext mp3 ncurses nocardbus nptl nptlonly nsplugin offensive ogg oggvorbis openal openexr opengl pam pcre pdflib perl pic pie ppds pppd psyco qt qtmt quicktime readline reflection samba sasl scanner session skey slp spl sse ssl svgalib tcpd theora tiff truetype-fonts type1-fonts unicode usb v4l vhosts vim-syntax vorbis wifi wmf x86 xml xml2 xorg xv xvid zlib" ALSA_CARDS="bt87x cmipci dummy emu10k1 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon directory samsung sonydscf1 sonydscf55 template" DVB_CARDS="tda1004x" ELIBC="glibc" INPUT_DEVICES="evdev fpit joystick keyboard magellan mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="C POSIX en en_GB en_US de_AT" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nv nvidia none v4l vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

[nephros@scourge]~ $ emerge -pv  mail-filter/spamassassin dev-lang/perl sys-apps/baselayout
[ebuild     U ] dev-util/re2c-0.12.0 [0.11.3] 596 kB 
[ebuild   R   ] dev-lang/perl-5.8.8-r2  USE="berkdb gdbm ithreads -build -debug -doc -perlsuid" 9,887 kB 
[ebuild   R   ] sys-apps/baselayout-1.12.10-r3  USE="static unicode -bootstrap -build" 0 kB 
[ebuild   R   ] mail-filter/spamassassin-3.2.0-r1  USE="berkdb qmail ssl tools -doc -ipv6 -ldap -mysql -postgres -sqlite" 0 kB 
Comment 3 Pacho Ramos gentoo-dev 2013-01-21 18:12:30 UTC
Still valid with 3.6.0-r2?
Comment 4 Peter Gantner (a.k.a. nephros) 2013-01-25 11:20:37 UTC
Wow, blast from the past! :)

I have not been using fuzzyocr for some time (because the spammers seem to have given up on the spam-as-an-image trick).

I emerged it today like this, with MLDBM nor MLDBM-Sync NOT installed:

  chalice:~ [147] #  USE="gocr logrotate ocrad tesseract -amavis -dbm -mysql" emerge -1va mail-filter/spamassassin-fuzzyocr

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] media-gfx/gifsicle                                    [1.67]                        USE="-X" 253 kB
[ebuild  N     ] app-text/ocrad                                        [0.17]                        80 kB
[ebuild  N     ] dev-perl/Tie-Cache                                    [0.190.0]                     12 kB
[ebuild  N     ] app-text/gocr                                         [0.49]                        USE="-doc -scanner -tk" 384 kB
[ebuild  N     ] dev-perl/String-Approx                                [3.260.0]                     44 kB
[ebuild  N    ~] mail-filter/spamassassin-fuzzyocr                     [3.6.0-r2]                    USE="gocr logrotate ocrad tesseract -amavis -dbm -mysql" 125 kB


It seems to be running OK.