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

Bug 171840

Summary: emerge gnome - Multiple versions within a single package slot...
Product: Portage Development Reporter: Todd Partridge <Partridge.Todd>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 172589    

Description Todd Partridge 2007-03-22 19:38:07 UTC
partridge-macbook image # emerge gnome
Calculating dependencies /
!!! Multiple versions within a single package slot have been 
!!! pulled into the dependency graph:

('ebuild', '/', 'app-crypt/gnupg-1.4.7', 'merge') pulled in by
  ('ebuild', '/', 'mail-client/evolution-2.8.3-r1', 'merge')

('ebuild', '/', 'app-crypt/gnupg-2.0.3', 'merge') pulled in by
  ('ebuild', '/', 'mail-filter/spamassassin-3.1.8-r1', 'merge')

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.


Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2007-03-22 20:09:53 UTC
The following dependency of evolution-2.8.3-r1 is triggering this problem:

|| ( =app-crypt/gnupg-1.4* >=app-crypt/gnupg-2.0.1-r2 )

As a workaround:

echo "<app-crypt/gnupg-2.0.1-r2" >> /etc/portage/package.mask
Comment 2 Zac Medico gentoo-dev 2007-03-22 20:26:14 UTC
(In reply to comment #1)
> The following dependency of evolution-2.8.3-r1 is triggering this problem:
> 
> || ( =app-crypt/gnupg-1.4* >=app-crypt/gnupg-2.0.1-r2 )

I've converted that to || ( >=app-crypt/gnupg-2.0.1-r2 =app-crypt/gnupg-1.4* ) in order to avoid triggering this issue.
Comment 3 Zac Medico gentoo-dev 2007-03-22 20:41:06 UTC
This bug is nearly identical to bug 159360.  In cases like this where multiple choices intersect the same slot, the resolver needs to automatically prefer the choice with the highest version.
Comment 4 Zac Medico gentoo-dev 2007-03-23 03:03:08 UTC
This is fixed in svn r6266:r6270.
Comment 5 Zac Medico gentoo-dev 2007-03-29 22:37:32 UTC
This has been released in 2.1.2.3.