Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170886 - qt4.eclass missing qt-4.2.3 in QT4VERSIONS
Summary: qt4.eclass missing qt-4.2.3 in QT4VERSIONS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-14 14:46 UTC by Emiliano Vavassori
Modified: 2007-03-14 14:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emiliano Vavassori 2007-03-14 14:46:01 UTC
On ~x86, a custom ebuild that says:
inherit qt4
...
DEPEND="$(qt4_min_version 4.2.2)
..."

Makes conflict in pushing qt-4.2.2 for the custom ebuild and 4.2.3 for others in the same slot.

Reproducible: Always

Actual Results:  
emerge -auDNv world

These are the packages that would be merged, in order:

Calculating world dependencies \
!!! Multiple versions within a single package slot have been 
!!! pulled into the dependency graph:

('ebuild', '/', 'x11-libs/qt-4.2.2', 'nomerge') pulled in by
  ('ebuild', '/', 'sci-geosciences/qgis-0.8.0-r1', 'nomerge')

('ebuild', '/', 'x11-libs/qt-4.2.3', 'merge') pulled in by
  ('ebuild', '/', 'dev-python/PyQt4-4.1.1', 'nomerge')
  ('ebuild', '/', 'app-text/poppler-bindings-0.5.4', '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.

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

!!! Depgraph creation failed.

sci-geosciences/qgis-0.8.0-r1 can be found on Gentoo-GIS overlay (http://gentoo-gis.sf.net/).

Expected Results:  
No conflicts and emerging of qt-4.2.3.

Probabily the best way to solve the issue is adding 4.2.3 to QT4VERSIONS in qt4.eclass:
sed -i -e 's/QT4VERSIONS="\(.*\)$/QT4VERSIONS="4.2.3 \1/' qt4.eclass
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2007-03-14 14:58:46 UTC
sorry about that - just plain forgot!

should be fixed now.