Summary: | smplayer requires qt-4.3 while last stable qt in portage is 4.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcello Magaldi <magowiz> |
Component: | Current packages | Assignee: | Ben de Groot (RETIRED) <yngwin> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | media-video |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marcello Magaldi
2009-01-19 17:42:33 UTC
The dependency in the ebuild looks sane to me: DEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3* )" Does this still happen, when you mask older qt-4 versions like this? <x11-libs/qt-4.4:4 (In reply to comment #1) > The dependency in the ebuild looks sane to me: > > DEPEND="|| ( x11-libs/qt-gui:4 > =x11-libs/qt-4.3* )" > > Does this still happen, when you mask older qt-4 versions like this? > > <x11-libs/qt-4.4:4 I don't know but as far as I know how portage calculate dependencies doing so will make emerge claim about all versions that solves =qt-4.3 are masked. Why should I mask <4.4 since I have smplayer that wants explicitly =4.3* ? Anyway I solved my issue re-masking qt-4.4 packages. Adding theese lines to /etc/portage/package.mask : =x11-libs/qt-4.4.2 x11-libs/qt-core =dev-python/PyQt4-4.4.4-r1 =dev-python/qscintilla-python-2.3.2 and this one to /etc/portage/package.keywords : =dev-python/qscintilla-python-2.3 ~x86 (In reply to comment #2) > I don't know but as far as I know how portage calculate dependencies doing so > will make emerge claim about all versions that solves =qt-4.3 are masked. It is not an explicit depencency. That's why the "||" operator is present. It tells portage that it can choose from either of the given packages to satisfy the package's dependency. > Why > should I mask <4.4 since I have smplayer that wants explicitly =4.3* ? Because that way, portage is forced to choose the x11-libs/qt-gui:4 depencendy which is not affected by the "<x11-libs/qt-4.4:4" mask I suggested. > solved my issue re-masking qt-4.4 packages. > Adding theese lines to /etc/portage/package.mask : > =x11-libs/qt-4.4.2 > x11-libs/qt-core > =dev-python/PyQt4-4.4.4-r1 > =dev-python/qscintilla-python-2.3.2 > > and this one to /etc/portage/package.keywords : > =dev-python/qscintilla-python-2.3 ~x86 > This will work until qt-4.3* ebuild get removed from portage, so no long-time solution. (In reply to comment #1) > The dependency in the ebuild looks sane to me: > > DEPEND="|| ( x11-libs/qt-gui:4 > =x11-libs/qt-4.3* )" > > Does this still happen, when you mask older qt-4 versions like this? > > <x11-libs/qt-4.4:4 you are right, putting that line in package.mask solved my issue, thank you very much. I didn't know how the || operator works. I'm sorry about this. The idea was that qt-4.3* would be masked simultaneously with marking 4.4.2 stable, but it got unmasked again because some packages (not smplayer) escaped my attention. |