Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108529 - I can't update uw-imap because the pine is blocking net-mail/uw-mailutils
Summary: I can't update uw-imap because the pine is blocking net-mail/uw-mailutils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrej Kacian (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 108647
Blocks:
  Show dependency tree
 
Reported: 2005-10-08 12:42 UTC by Henrique Dias
Modified: 2005-10-10 02:53 UTC (History)
3 users (show)

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


Attachments
Output from 'emerge info' and 'emerge pine' (typescript,10.50 KB, text/plain)
2005-10-09 13:08 UTC, Christer Ekholm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrique Dias 2005-10-08 12:42:33 UTC
I don't use net-mail/uw-mailutils but I use pine. To update the uw-imap I need
umerge the pine and if I tray emerge pine the system say "The above package list
contains packages which cannot be installed!!! on the same system."

Reproducible: Always
Steps to Reproduce:
1. emerge net-mail/uw-imap
2.
3.

Actual Results:  
pine is blocking net-mail/uw-mailutils

Expected Results:  
emerge pine.

I need the pine client to read my mail...
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-08 13:02:08 UTC
> I don't use net-mail/uw-mailutils but I use pine.
Henrique: You use uw-imap, which depends on uw-mailutils. Due to this
_intentional_ blocker you can either use pine or uw-imap, but not both.

Andrej: When you add a blocker it has always to be mutual.
Comment 2 Henrique Dias 2005-10-08 13:16:09 UTC
(In reply to comment #1)
> > I don't use net-mail/uw-mailutils but I use pine.
> Henrique: You use uw-imap, which depends on uw-mailutils. Due to this
> _intentional_ blocker you can either use pine or uw-imap, but not both.
> 
> Andrej: When you add a blocker it has always to be mutual.

I unmerge the "net-mail/uw-mailutils" but now the system try install the package
again...

Calculating world dependencies ...done!
[blocks B     ] <mail-client/pine-4.64-r1 (is blocking net-mail/uw-mailutils-2004g)
[ebuild  N    ] net-mail/uw-mailutils-2004g
 
!!! Error: The above package list contains packages which cannot be installed
!!!        on the same system.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-09 06:48:04 UTC
(In reply to comment #2)
> I unmerge the "net-mail/uw-mailutils" but now the system try install the
> package again...

Sure, because uw-imap needs it. Either unmerge that or pine.
Comment 4 Paul Kronenwetter 2005-10-09 07:25:20 UTC
Perhaps, but I do not have pine installed and I'm trying to upgrade uw-imap and
portage says that uw-imap < 2005g blocks uw-mailutils!  Duh?

gw ~ # emerge uw-imap -p

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

Calculating dependencies ...done!
[blocks B     ] <net-mail/uw-imap-2004g-r1 (is blocking net-mail/uw-mailutils-2004g)
[ebuild  N    ] net-mail/uw-mailutils-2004g  
[ebuild     U ] net-mail/uw-imap-2004g-r1 [2004c-r3] 

If this is a different bug, please let me know...
Comment 5 Paul Kronenwetter 2005-10-09 07:39:41 UTC
Looking at it Pine *requires* both uw-mailutils and uw-imap, so we are having
the same problem with the uw-imap / mailutils ebuilds.

I have a workaround, but it's something that should be (have been) fixed with
the ebuild.
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2005-10-09 12:21:43 UTC
Actually, situation is like this: both uw-imap and pine need uw-mailutils,
because it provides files which were provided by both of these packages, thus
causing a file collision with FEATURES="collision-protect" (bug #105313).

The problem is that due to security bug #108206, both uw-imap and uw-mailutils
went almost directly into stable, leaving pine-4.64-r1 - the first pine ebuild
aware of uw-mailutils in unstable, thus causing error message in comment #2.

Incidentally, I was mostly offline for the weekend (family issues), so I didn't
get to my bugmail - and to this report - soon enough. When I realized it, I
moved 4.64-r1 to stable on x86 and asked amd64 team to do the same.

Right now, the problem should be gone on x86 arch - I'm not sure about amd64,
but I will see to it ASAP.

Please accept my apology for any inconveniences coming from this, it was all
done in bit of a hurry, because of the security hole in uw-imap.
Comment 7 Christer Ekholm 2005-10-09 13:08:35 UTC
Created attachment 70249 [details]
Output from 'emerge info' and 'emerge pine'
Comment 8 Christer Ekholm 2005-10-09 13:10:51 UTC
I tried to get the new pine to install by first unmerging the old one.
Unfortunately the new pine wants to emerge net-mail/uw-mailutils-2004g which
doesn't build on my machine.  My amateur analysis is that it tries to use
headers from pam which I do not have (I use USE=-pam)

Just FYI.

Should I create a separate bug-entry for net-mail/uw-mailutils-2004g about this?

Attached is output from my 'emerge info' and 'emerge pine'
Comment 9 Andrej Kacian (RETIRED) gentoo-dev 2005-10-09 13:49:03 UTC
Can you please tell me what happens if you change line 39 in the ebuild to:

yes | make slx EXTRACFLAGS="${CFLAGS}" SSLTYPE=none || die

You will need to recreate the ebuild digest by running 
$ ebuild uw-mailutils-2004g.ebuild digest
after you modify it.
Comment 10 Christer Ekholm 2005-10-09 13:58:28 UTC
Yes that did it. Total success. Both net-mail/uw-mailutils-2004g and
mail-client/pine-4.64-r1 emerged cleanly.
Comment 11 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-09 14:15:12 UTC
*** Bug 108659 has been marked as a duplicate of this bug. ***
Comment 12 Andrej Kacian (RETIRED) gentoo-dev 2005-10-09 14:21:20 UTC
The change has been committed to CVS.

Are there any more issues?
Comment 13 Henrique Dias 2005-10-10 02:53:59 UTC
(In reply to comment #12)
> The change has been committed to CVS.
> 
> Are there any more issues?

Now everything looks great.
Thanks for your help.