Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79366 - with USE="berkdb" spamassassin-3.0.2 needs dev-perl/DB_File which sometimes fails to install
Summary: with USE="berkdb" spamassassin-3.0.2 needs dev-perl/DB_File which sometimes f...
Status: RESOLVED DUPLICATE of bug 71659
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-24 10:49 UTC by Stelian Ionescu
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
make spamassassin require DB_File only if perl version is <5.8.5 (spamass_dbfile.patch,302 bytes, patch)
2005-01-24 10:52 UTC, Stelian Ionescu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stelian Ionescu 2005-01-24 10:49:55 UTC
if the flag "berkdb" is enabled spamassassin-3.0.2 pulls in dev-perl/DB_file, but the DB_File module is already supplied with perl >=5.8.5 and installing it fails because i have enabled "collision-protect" in FEATURES.
I suggest applying the following patch to all the spamassassin ebuilds
Comment 1 Stelian Ionescu 2005-01-24 10:52:02 UTC
Created attachment 49399 [details, diff]
make spamassassin require DB_File only if perl version is <5.8.5
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2005-01-26 09:53:08 UTC
DB_File is a part of all perl installs, not just 5.8.5. The dep is because spamassassin requires a newer version than what your got with 5.8.5.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-01-26 09:53:23 UTC

*** This bug has been marked as a duplicate of 71659 ***
Comment 4 Stelian Ionescu 2005-01-26 10:53:06 UTC
i see that now the newest version of DB_File in portage is 1.808, but perl's changelogs show that perl-5.8.5 contains DB_File-1.809 and perl-5.8.6 contains DB_File-1.810. I also see that the newest version of DB_File in CPAN is 1.810: http://search.cpan.org/search?mode=module&query=DB_File
therefore the newest version of DB_File that spamassassin can use now is the one supplied with perl