public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan@linuxholdings.co.za>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Version conflicts when mixing arch and ~arch
Date: Tue, 10 Oct 2006 22:37:35 +0200	[thread overview]
Message-ID: <200610102237.35667.alan@linuxholdings.co.za> (raw)

Hi,

A portage question, to satisfy my own curiosity i.e. I know how to fix 
the problem I had, but I'd like to know if I fully understand how to 
use portage in a case like this:

My desktop is a mostly stable x86 machine, but I use e17-9999 as my wm. 
x11-wm/e depends on evas which has a hard dependency on cairo:

        cairo? ( >=x11-libs/cairo-1.2 )

I had to unmask e, evas and cairo to get this to emerge.

I also have x86 pygtk and pycairo already installed, pycairo has a hard 
dependency on cairo-1.0*

        =x11-libs/cairo-1.0*

emerge world wants to downgrade cairo to 1.0* to satisfy pycairo, then 
the next emerge world wants to upgrade it to 1.2* to satisfy evas = a 
version conflict which yo-yos back and forth. The fix is obviously to 
keyword pycairo to ~x86 to give consistent dependencies. This is harder 
than it could be: pygtk could also have had it's own conflicts, and it 
takes several 'emerge -pv world' and reading ebuilds to get the whole 
picture. And this is something portage could have figured out itself.

emerge -p world had to parse the entire portage tree anyway, it could 
easily check for versioning conflicts while doing it and display a 
message to the user, much like blockers do currently. I get it that 
portage likely can't suggest resolutions but it would be nice to see in 
one display that evas and pygtk requires mutually exclusive versions of 
cairo.

Can portage do this? Is it something useful that warrants a feature 
request? Or am I missing an option in the man page even though I've 
read it >30 times? :-)

alan
-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2006-10-11  6:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-10 20:37 Alan McKinnon [this message]
2006-10-11  9:19 ` [gentoo-user] Version conflicts when mixing arch and ~arch Bo Ørsted Andresen
2006-10-11 10:50   ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200610102237.35667.alan@linuxholdings.co.za \
    --to=alan@linuxholdings.co.za \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox