Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68007 - Evolution 2.0.x depends on mit-krb5 instead of virtual/krb5
Summary: Evolution 2.0.x depends on mit-krb5 instead of virtual/krb5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 05:30 UTC by Jose Gonzalez Gomez
Modified: 2004-10-18 12:32 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 Jose Gonzalez Gomez 2004-10-18 05:30:18 UTC
Evolution 2.0.x depends on mit-krb5 instead of virtual/krb5. This makes impossible to install Evolution when having another kerberos implementation installed (heimdal in my case):

ws00 root # emerge -vp evolution

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] app-crypt/heimdal ("virtual/krb5" from pkg app-crypt/mit-krb5-1.3.4)
[ebuild     U ] net-libs/libsoup-2.2.1 [2.2.0] -debug -debug +doc -ipv6 +ssl  394 kB
[ebuild     U ] gnome-extra/evolution-data-server-1.0.2 [1.0.1] -debug -debug +doc +ldap  4,824 kB
[ebuild     U ] gnome-extra/gal-2.2.3 [2.2.2] -debug -debug +doc  1,133 kB
[ebuild     U ] gnome-extra/libgtkhtml-3.2.3 [3.2.2] -debug -debug  1,273 kB
[ebuild  N    ] app-crypt/mit-krb5-1.3.4  -krb4 -static  6,220 kB
[ebuild     U ] mail-client/evolution-2.0.2 [2.0.1] +crypt -debug -debug -debug -debug +doc -ipv6 +kerberos +ldap +mozilla -nntp +pda +spell +ssl  15,039 kB


Reproducible: Always
Steps to Reproduce:
1. emerge heimdal
2. emerge -vp evolution


Actual Results:  
Evolution installation failed due to incorrect blocking dependencies.

Expected Results:  
Evolution should have installed correctly using the installed implementation of
Kerberos (heimdal)

I have successfully compiled Evolution 2.0.1 using heimdal, although I haven't
tested the GSSAPI authentication mechanism. As soon as I have some spare time
I'll test Evolution 2.0.2 compilation and operation.

There is also a bug regarding this and other packages not using virtual/krb5
(bug#47138). It's sad to see that a fresh ebuild comes out with this problem.
Comment 1 Jose Gonzalez Gomez 2004-10-18 10:34:55 UTC
I have successfully compiled and tested Evolution 2.0.2 using heimdal.

ws00 root # emerge -vp cyrus-sasl heimdal evolution

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-libs/cyrus-sasl-2.1.19-r1  -authdaemond +berkdb -debug -gdbm +java +kerberos +ldap +mysql +pam +postgres +ssl -static  0 kB
[ebuild   R   ] app-crypt/heimdal-0.6.3-r1  +berkdb -ipv6 -krb4 +ldap +ssl  0 kB
[ebuild   R   ] mail-client/evolution-2.0.2  +crypt -debug -debug -debug -debug +doc +ipv6 +kerberos +ldap +mozilla -nntp +pda +spell +ssl  0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

The copy of the ebuild in /usr/local/portage is modified to depend on virtual/krb5 instead of mit-krb5.

From /etc/portage/package.keywords:

# Evolution
gnome-extra/evolution-data-server   ~x86
>=gnome-extra/gal-2.1               ~x86
>=gnome-extra/libgtkhtml-3.1        ~x86
>=mail-client/evolution-1.5         ~x86
>=net-libs/libsoup-2.1              ~x86

At the server side:

commserver root # emerge -vp cyrus-imapd

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] net-mail/cyrus-imapd-2.2.8 [2.2.3] -afs -drac +kerberos +pam -snmp +ssl +tcpd  1,892 kB


With this configuration (and with a Kerberos KDC and an authenticated user with its corresponding ticket, of course) I've been able to access my IMAP account using GSSAPI, so I think this works ok
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-10-18 12:32:21 UTC
i've commited the fix. sorry, i wasn't aware of heimdal being an alternative to mit-krb5 and the adoption of virtual/krb5.