Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199543 - circular dependencies between dev-python/qscintilla and dev-python/PyQt
Summary: circular dependencies between dev-python/qscintilla and dev-python/PyQt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-18 15:33 UTC by Ivan
Modified: 2007-11-21 22:36 UTC (History)
1 user (show)

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 Ivan 2007-11-18 15:33:25 UTC
!!! Error: circular dependencies:

('ebuild', '/', 'dev-python/qscintilla-2.1', 'merge') depends on
   ('ebuild', '/', 'dev-python/PyQt-3.17.3', 'merge') (medium)
('ebuild', '/', 'dev-python/PyQt-3.17.3', 'merge') depends on
   ('ebuild', '/', 'dev-python/qscintilla-2.1', 'merge') (hard)


Reproducible: Always

Steps to Reproduce:
1.emerge -v PyQt
2.or emerge -v qscintilla
3.

Actual Results:  
unable to install amarok, for example
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2007-11-20 05:53:17 UTC
This is because dev-python/PyQt needs qscintilla to build and qscintilla's
python bindings need PyQt. I've moved dev-python/qscintilla to
x11-libs/qscintilla today and added a separate package called
qscintilla-python to the tree. This should fix this problem.
Thanks for reporting ;)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-21 22:00:43 UTC
Well, now we have a nifty collision on upgrade because the order is wrong...

# emerge -uDpv world

[ebuild  N    ] dev-python/qscintilla-python-2.1  USE="qt4" 0 kB 
[ebuild     U ] x11-libs/qscintilla-2.1-r1 [2.1] USE="-debug -doc -examples python qt4" 0 kB 

Change it like this:

<snip>
--- qscintilla-python-2.1.ebuild	2007-11-20 06:04:49.000000000 +0100
+++ qscintilla-python-2.1.ebuild	2007-11-21 22:57:48.000000000 +0100
@@ -19,6 +19,7 @@
 
 DEPEND=">=dev-python/sip-4.4
 	=x11-libs/qscintilla-${PV}*
+	!<x11-libs/qscintilla-2.1-r1
 	qt4? ( dev-python/PyQt4 )
 	!qt4? ( dev-python/PyQt )"
 RDEPEND="${DEPEND}"
</snip>

and it works:

# emerge -uDpv world

[ebuild     U ] x11-libs/qscintilla-2.1-r1 [2.1] USE="-debug -doc -examples python qt4" 0 kB 
[ebuild  N    ] dev-python/qscintilla-python-2.1  USE="qt4" 0 kB 
Comment 3 Ali Polatel (RETIRED) gentoo-dev 2007-11-21 22:36:11 UTC
thanks, fixed.