Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31550 - SpamAssassin 2.60-r1 uses wrong paths
Summary: SpamAssassin 2.60-r1 uses wrong paths
Status: RESOLVED DUPLICATE of bug 29404
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-19 16:02 UTC by Andreas Klauer
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Andreas Klauer 2003-10-19 16:02:19 UTC
Freshly installed SpamAssassin 2.60 seems to use wrong paths;
for example the sa-learn script in /usr/bin/sa-learn tries
to access files in /var/tmp/portage/

---- 8< ----
$PREFIX = '/var/tmp/portage/Mail-SpamAssassin-2.60-r1/image//usr';
$DEF_RULES_DIR = '/var/tmp/portage/Mail-SpamAssassin-2.60-r1/image//usr/share/sp
amassassin';
$LOCAL_RULES_DIR = '/var/tmp/portage/Mail-SpamAssassin-2.60-r1/image//usr/etc/ma
il/spamassassin';
use lib '/var/tmp/portage/Mail-SpamAssassin-2.60-r1/image//usr/lib/perl5/vendor_
perl/5.8.0';
---- 8< ---

sa-learn (and other components of SpamAssassin) refused to work correctly until
I corrected those paths by cutting everything before those //.

Reproducible: Always
Steps to Reproduce:
1. emerge Mail-SpamAssassin
2.
3.




Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo//
http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/
ftp://ftp.caliu.info/pub/gentoo/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 foomaticdb mad -3dfx 3dnow aalib -acl acpi -afs -alsa apache2 -apm arts
-atlas avi -berkdb -bonobo -canna cdr cjk crypt cups -debug dga doc -dvb dvd
emacs encode -esd -ethereal -ev6 -evo -fbcon -firebird -flash -freetds -freewnn
-gb gd -gdbm -ggi gif -gnome gpm -gps gtk -gtk2 -gtkhtml -guile -icc -icc-pgo
imap imlib -innodb -informix ipv6 -jack java jikes jpeg junit kde -kerberos
-krb4 -ladcca lcms -ldap -leim -libg++ -libgda libwww -lirc maildir -matrox
-mbox -mcal mikmod -memlimit mmx motif mozilla mpeg -mpi mule mysql -nas ncurses
-nhc98 nls nocardbus -oci8 -odbc oggvorbis opengl -oss pam -pcmcia -pda pdflib
perl -plotutils png -pnp -postgres -prebuilt -python qt quicktime readline -ruby
-samba sasl scanner sdl slang slp -snmp -socks5 spell sse ssl -static -svga
tcltk tcpd tetex tiff truetype -trusted usb -voodoo3 -wavelan wmf X -Xaw3d xface
-xinerama xml xml2 xmms xv -zeo zlib"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-19 16:41:54 UTC

*** This bug has been marked as a duplicate of 29404 ***