Bug 229715 - dev-java/xalan-serializer:0 slot conflict with dev-java/xalan-2.7.0-r5 and app-office/openoffice-2.4.1 requiring different versions
Bug#: 229715 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: java@gentoo.org Reported By: optiluca@gmail.com
Component: Applications
URL: 
Summary: dev-java/xalan-serializer:0 slot conflict with dev-java/xalan-2.7.0-r5 and app-office/openoffice-2.4.1 requiring different versions
Keywords:  
Status Whiteboard: 
Opened: 2008-06-27 12:03 0000
Description:   Opened: 2008-06-27 12:03 0000
Hi.  After an emerge --sync, emerge -uDNa gives me this error
!!! Multiple versions within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-java/xalan-serializer:0

  ('ebuild', '/', 'dev-java/xalan-serializer-2.7.0', 'merge') pulled in by
    ('installed', '/', 'dev-java/xalan-2.7.0-r5', 'nomerge')

  ('installed', '/', 'dev-java/xalan-serializer-2.7.1', 'nomerge') pulled in by
    ('installed', '/', 'dev-java/xerces-2.9.1', 'nomerge')
    ('installed', '/', 'app-office/openoffice-2.4.1', 'nomerge')


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.

However, equery d tells me that openoffice depends on xalan 2.7, so openoffice
is effectively requiring both dev-java/xalan-serializer-2.7.0 and
dev-java/xalan-serializer-2.7.1

Reproducible: Always

Steps to Reproduce:
1.emerge --sync (27/6/08 13:00 GMT), openoffice emerged with java use flag
2.emerge -uDNa world 
3.

Actual Results:  
Slot conflict

Expected Results:  
Emerge the required packages, with openoffice depending on only one
xalan-serializer version

------- Comment #1 From Christian Schwinn 2008-06-27 19:39:08 0000 -------
Same problem here.

Synced: 2008-06-27 20:00 GMT

------- Comment #2 From Peter Ansell 2008-06-27 22:12:09 0000 -------
Same problem here except that only xalan and xerces are present.

It looks like someone forgot to insert xalan-2.7.1 when they put the
xalan-serializer-2.7.1 in, as there is a direct version dependency between the
two packages.

------- Comment #3 From Peter Ansell 2008-06-27 22:52:18 0000 -------
Created an attachment (id=158699) [details]
xalan-2.7.1.ebuild

xalan-2.7.1 ebuild, changes to the binary source file name, xerces dependency
and the xalan.readme.txt disappeared, so I used the readme.html instead.

------- Comment #4 From Christian Schwinn 2008-06-28 16:30:32 0000 -------
Built successfully.
Many thanks!

Chris

------- Comment #5 From Petteri Räty 2008-06-29 21:27:55 0000 -------
Bumped to 2.7.1.