Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28265 - db4 and SpamAssassin
Summary: db4 and SpamAssassin
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: db4
  Show dependency tree
 
Reported: 2003-09-09 07:28 UTC by Alessandro Pisani
Modified: 2003-10-01 15:57 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 Alessandro Pisani 2003-09-09 07:28:33 UTC
on a machine with db-4.0.14 emerging Spam-Assassin requires
dev-perl/DB_File-1.803 as dependancy which itself depend on db-3.2.x

proposed solution: use DB_File-1.806 instead which should be db4-safe (cpan>
make test DB_File works fine)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Christian Strauf 2003-09-09 21:56:39 UTC
This problem seems to be critical because after the upgrade spamassassin damages filtered email that is piped through it (empty bodies and mostly empty headers). 
Comment 2 Alessandro Pisani 2003-09-10 10:06:47 UTC
>This problem seems to be critical because after the upgrade spamassassin damages
>filtered email that is piped through it (empty bodies and mostly empty headers).
oops...didn't noticed this.
i'll do more tests on it tonight
Comment 3 Alessandro Pisani 2003-09-10 15:16:35 UTC
I tried unmerging DB_File and using:  cpan> install DB_File  since the ebuild one gave me some "undefined symbol" errors. I then tried the resulting installation and it works for me without damaging bodies and headers.

i'm doing some more tests :)
HTH

alessandro
Comment 4 Alessandro Pisani 2003-09-10 15:24:26 UTC
just a question: why Mail-SpamAssassin depends on DB_File since the perl 5.8.x ebuild already installs it (please also note that perl-5.8.x.ebuild installs version 1.806, which is the right one) ?!? so wouldn't it better to remove the dep in the DB_File ebuild? i might be wrong...please illuminate me :)

alessandro
Comment 5 Christian Strauf 2003-09-10 22:53:40 UTC
I need to check if I can also install the new version of DB_File or if it is still masked. If I can, I will additionally try to find out if SpamAssassin still messes up filtered mails.

Christian
Comment 6 Christian Strauf 2003-09-11 00:22:32 UTC
I have checked, the latest unmasked version of DB_Perl in the portage tree is 1.803-r2. If perl 5.8.0 already installs DB_Perl 1.806 itself, I agree with you that this dependency should either vanish from perl's ebuild or DB_Perl's ebuild should be upgraded to use 1.806.

Christian
Comment 7 Christian Strauf 2003-09-12 05:43:47 UTC
I think that after emerging SpamAssassin one should definitely re-emerge dev-lang/perl. That should fix the problem momentarily. But of course it's only a workaround.

Christian
Comment 8 Christian Strauf 2003-09-12 13:39:03 UTC
Nope, problem is still there. But I saw that today the SpamAssassin version was downgraded to 2.55 again due to the fact that it modified mails that were pipe through it in version 2.60.

Christian
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-01 15:57:49 UTC
SpamAssasin 2.60 works for me now, with DB_File-1.803-r2.