Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 105313

Summary: pine and uw-imap conflict with FEATURES=collision-protect
Product: Gentoo Linux Reporter: Zak Kipling <zak.kipling>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: bugsubmit, grundman, wasowski
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Zak Kipling 2005-09-08 15:53:18 UTC
It appears that both ebuilds produce:

/usr/bin/mtest
/usr/bin/mailutil
/usr/share/man/man1/mailutil.1.gz


Reproducible: Always
Steps to Reproduce:
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-09-17 17:04:00 UTC
Hm, correct. I wonder how to resolve this - maybe checking if the other package
is installed and do not install these three files in that case? This in both
pine and uw-imap, of course.

Another option would be to rename one instance, f.e. mailutil-pine, mtest-pine,
but that's probably not a good idea, since the package might call these two
binaries directly.
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2005-09-17 17:32:59 UTC
Neither way is a GoodThing(tm), I guess I'll just put mailutil into a separate
package, just as OpenBSD does it.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-10-05 15:07:33 UTC
Looks like all UW mail software has a delicate build system, it will not be
trivial to pry mailutil/mtest out of there as a separate package.
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2005-10-06 02:18:00 UTC
why don't you just set DEPEND= !mail-client/pine in uw-imap and vice versa?
that's what blocks are for
Comment 5 Zak Kipling 2005-10-06 02:28:26 UTC
Because it's entirely reasonable to want both uw-imap and pine installed on the
same system.

Debian, for instance, has three separate packages: uw-imap, pine, uw-mailutils
(the latter also built from the uw-imap source).
Comment 6 Simon Matthews 2005-10-10 15:19:49 UTC
To add to the previous comment -- if I want BOTH pine and the uw POP and IMAP
servers, exactly how do I accomplish this? 

Actually, just to show what a mess the dependencies are today, it is entirely
possible today, if one gets the right order:
1. uw-mailutils
2. pine
3. uw-imap

Done in this order, there are no dependency blockages. But that is hardly the
point. I should not be able to work either around the dependencies, but I should
be able to install the Pine email client AND the UW POP and IMAP servers without
having to worry about the order. 
Comment 7 Andrej Kacian (RETIRED) gentoo-dev 2005-10-10 15:32:20 UTC
This is the issue I'm trying to fix in bug #108647 - uw-imap and uw-mailutils
went into stable early due to security bug #108206, but pine didn't. Currently,
only hppa arch hasn't stabilized pine-4.64-r1, rest of the arches should just
wait for their mirrors to sync with main portage mirror, and all will be fine.

Of course, if you're upgrading from lower version of pine or uw-imap, you'll
need to unmerge the old version first. Sorry about that, but it's a better
solution than not putting in those blocks and having the emerge process bail out
in the middle of a batch upgrade, on a collision-protect warning.
Comment 8 M Grundman 2006-01-24 08:06:43 UTC
pine and uw-imap are written by the same persons and these packages share a lot of common source code, it is possible that there is no conflict and these commands are identical
Comment 9 Andrej Kacian (RETIRED) gentoo-dev 2006-10-06 18:18:20 UTC
Closing this bug, as pine-4.64-r1 has been stablilized for all arches long time ago.