Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273473 - pykde4:4.2 blocks PyQt4-4.5 and sip-4.8
Summary: pykde4:4.2 blocks PyQt4-4.5 and sip-4.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://websvn.kde.org/?view=rev&revis...
Whiteboard:
Keywords:
: 273510 273552 273573 273594 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-10 07:23 UTC by Leonid Podolny
Modified: 2009-07-04 09:48 UTC (History)
9 users (show)

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


Attachments
emerge --info (emerge.info,4.99 KB, text/plain)
2009-06-10 07:24 UTC, Leonid Podolny
Details
proposed patch (pykde4_sip-4.8.patch,4.43 KB, patch)
2009-06-11 12:08 UTC, Markos Chandras (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Podolny 2009-06-10 07:23:17 UTC
I'm not sure if it's not a duplicate of B272174.

user@box ~ % sudo emerge -uDpvN @world

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

Calculating dependencies... done!
[ebuild     U ] dev-python/sip-4.8 [4.7.9] USE="-debug -doc%" 599 kB
[ebuild     U ] app-portage/eix-0.16.1 [0.16.0] USE="nls sqlite -doc -tools" 464 kB
[ebuild     U ] net-dns/libidn-1.15 [1.14] USE="java nls -doc -emacs -mono" 2,574 kB
[ebuild     U ] dev-perl/DBD-mysql-4.01.1 [4.01.0] 123 kB
[ebuild  N    ] dev-python/PyQt4-4.5  USE="X assistant dbus examples kde opengl qt3support sql svg webkit -debug -doc -phonon -xmlpatterns" 6,780 kB
[ebuild  N    ] kde-base/pykde4-4.2.4  USE="examples semantic-desktop -akonadi -debug -kdeprefix" 0 kB
[ebuild   R   ] kde-base/kdebase-meta-4.2.4  USE="semantic-desktop* -kdeprefix" 0 kB
[blocks B     ] >=dev-python/PyQt4-4.5_pre1 (">=dev-python/PyQt4-4.5_pre1" is blocking kde-base/pykde4-4.2.4)

Total: 7 packages (4 upgrades, 2 new, 1 reinstall), Size of downloads: 10,538 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'kde-base/pykde4-4.2.4', 'merge') pulled in by
    >=kde-base/pykde4-4.2.4:4.2[-kdeprefix] required by ('installed', '/', 'kde-base/plasma-workspace-4.2.4', 'nomerge')

  ('ebuild', '/', 'dev-python/PyQt4-4.5', 'merge') pulled in by
    >=dev-python/PyQt4-4.4.4-r1[dbus,qt3support,svg,webkit,X] required by ('ebuild', '/', 'kde-base/pykde4-4.2.4', 'merge')
    >=dev-python/PyQt4-4.4.0[X] required by ('installed', '/', 'kde-base/plasma-workspace-4.2.4', 'nomerge')
Comment 1 Leonid Podolny 2009-06-10 07:24:43 UTC
Created attachment 194082 [details]
emerge --info
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2009-06-10 09:02:49 UTC
Sorry we cant fix that. pykde4 doesnt work with latest PyQt4-4.5. So if you want the latest PyQt4 you need to remove pykde4. If you dont want that, you can mask dev-python/sip-4.8 and dev-python/PyQt4-4.5

Thanks
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2009-06-10 12:17:49 UTC
*** Bug 273510 has been marked as a duplicate of this bug. ***
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2009-06-10 13:35:51 UTC
*** Bug 273552 has been marked as a duplicate of this bug. ***
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2009-06-10 16:02:51 UTC
*** Bug 273573 has been marked as a duplicate of this bug. ***
Comment 6 Ben de Groot (RETIRED) gentoo-dev 2009-06-10 17:25:47 UTC
pykde4:4.2 needs ~PyQt4-4.4.4, so it blocks PyQt4-4.5 and sip-4.8

So you have the choice to: 
1) upgrade pykde4 to pykde4:4.3 from kde testing overlay
2) uninstall pykde4
3) mask PyQt4-4.5 and sip-4.8
Comment 7 Maciej Mrozowski gentoo-dev 2009-06-10 17:28:43 UTC
*** Bug 273594 has been marked as a duplicate of this bug. ***
Comment 8 Ben de Groot (RETIRED) gentoo-dev 2009-06-11 06:14:37 UTC
Reopening to correctly assign and resolve as later (when pykde4:4.3 enters the tree).
Comment 9 Trevor Forbes 2009-06-11 08:13:40 UTC
Try uninstalling pykde4 and emerge -auD world.
Things get worse..
Comment 10 Juergen Rose 2009-06-11 08:29:35 UTC
1)  If I try the hint 1 of Comment  #6, I get:
root@grizzly:/root(36)#  emerge -pvuDNt world
...
* Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'kde-base/pykde4-4.2.4', 'merge') pulled in by
    >=kde-base/pykde4-4.2.4:4.2[-kdeprefix] required by ('installed', '/', 'kde-base/marble-4.2.4', 'nomerge')
    >=kde-base/pykde4-4.2.4:4.2[-kdeprefix] required by ('installed', '/', 'kde-base/plasma-workspace-4.2.4', 'nomerge')

If I then uninstall plasma-workspace and and marble I get the same message,
because marble is required by kdeedu-meta and plasma-workspace is required by kdebase-meta.


2) If I try the hint 2 of Comment  #6, I get:
root@condor:/root(30)#  emerge -pvuDNt world

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=dev-python/sip-4.8" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/sip-4.8 (masked by: package.mask)
...
#>=x11-libs/qt-xmlpatterns-4.5.0_rc1
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "dev-python/PyQt-3.18" [ebuild])
(dependency required by "dev-python/matplotlib-0.98.5.2-r3" [installed])
(dependency required by "dev-lang/gdl-0.9_rc1" [installed])
(dependency required by "world" [argument])
Comment 11 Bastiaan Visser 2009-06-11 08:40:43 UTC
i added "kde-base/plasma-workspace -python" to /etc/package.use.
gets the job done, IF you dont need python support in plasma...
Comment 12 Juergen Rose 2009-06-11 08:46:34 UTC
If I add kde-testing to my overlays, 'emerge -uvD world' fails again:
root@grizzly:/root(42)# layman -a kde-testing   
* Running command "/usr/bin/git clone "git://git.overlays.gentoo.org/proj/kde.git" "/usr/local/portage/layman/kde-testing""...
Initialized empty Git repository in /usr/local/portage/layman/kde-testing/.git/
remote: Counting objects: 78912, done.
remote: Compressing objects: 100% (35068/35068), done.
remote: Total 78912 (delta 54676), reused 65624 (delta 42983)
Receiving objects: 100% (78912/78912), 15.73 MiB | 179 KiB/s, done.
Resolving deltas: 100% (54676/54676), done.
* Successfully added overlay "kde-testing".
root@grizzly:/root(43)# emerge -pvuDNt world

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=dev-python/sip-4.8" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/sip-4.8 (masked by: package.mask)
/usr/local/portage/layman/kde-testing/profiles/package.mask:
# ABCD <en.ABCD@gmail.com> (08 Jun 2009)
# Autogenerated by regenerate-files, DO NOT EDIT.
# You can use this file to mask/unmask KDE 4.3 release.
# Edit Documentation/package.unmask/kde-4.3.d/ files instead.
# TODO add eigen


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "dev-python/PyQt-3.18" [ebuild])
(dependency required by "dev-python/matplotlib-0.98.5.2-r3" [installed])
(dependency required by "dev-lang/gdl-0.9_rc1" [installed])
(dependency required by "world" [argument])
Comment 13 Jonathan Callen (RETIRED) gentoo-dev 2009-06-11 08:49:59 UTC
(In reply to comment #12)
> If I add kde-testing to my overlays, 'emerge -uvD world' fails again:
> !!! All ebuilds that could satisfy ">=dev-python/sip-4.8" have been masked.
[...]
> (dependency required by "dev-python/PyQt-3.18" [ebuild])
> (dependency required by "dev-python/matplotlib-0.98.5.2-r3" [installed])
> (dependency required by "dev-lang/gdl-0.9_rc1" [installed])
> (dependency required by "world" [argument])
> 

If you add ">=dev-python/PyQt-3.18" to /etc/portage/package.mask, everything should Just Work.
Comment 14 Juergen Rose 2009-06-11 09:02:10 UTC
Masking of >=dev-python/PyQt4-4.5 following the hint of Comment 13 does not help:

root@grizzly:/root(49)# echo ">=dev-python/PyQt-3.18" >> /etc/portage/package.mask;   emerge -uvDN world

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=dev-python/PyQt4-4.5" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/PyQt4-4.5 (masked by: package.mask)
/usr/local/portage/layman/kde-testing/profiles/package.mask:
# ABCD <en.ABCD@gmail.com> (08 Jun 2009)
# Autogenerated by regenerate-files, DO NOT EDIT.
# You can use this file to mask/unmask KDE 4.3 release.
# Edit Documentation/package.unmask/kde-4.3.d/ files instead.
# TODO add eigen


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "dev-python/qscintilla-python-2.4" [ebuild])
(dependency required by "x11-libs/qscintilla-2.4" [ebuild])
(dependency required by "dev-python/PyQt-3.17.6" [installed])
(dependency required by "dev-python/matplotlib-0.98.5.2-r3" [installed])
(dependency required by "dev-lang/gdl-0.9_rc1" [installed])
(dependency required by "world" [argument])
Comment 15 Jonathan Callen (RETIRED) gentoo-dev 2009-06-11 09:06:26 UTC
(In reply to comment #14)
> Masking of >=dev-python/PyQt4-4.5 following the hint of Comment 13 does not
> help:
[...]
> (dependency required by "dev-python/qscintilla-python-2.4" [ebuild])
> (dependency required by "x11-libs/qscintilla-2.4" [ebuild])

Add >=dev-python/qscintilla-python-2.4 and >=x11-libs/qscintilla-2.4 to that list (note, all these can be dropped as soon as KDE 4.3 is released and added to the tree).
Comment 16 Juergen Rose 2009-06-11 09:08:56 UTC
Following Comment 11 and removing additionally the python USE flag from marble now 'emerge -pvuDN' does no more complain about blocking packages.
Comment 17 Juergen Rose 2009-06-11 09:10:26 UTC
Still an addition to Comment 16. I also removed the kde-testing overlay.
Comment 18 Leonid Podolny 2009-06-11 09:16:06 UTC
(In reply to comment #2)
> Sorry we cant fix that. pykde4 doesnt work with latest PyQt4-4.5. So if you
> want the latest PyQt4 you need to remove pykde4. If you dont want that, you can
> mask dev-python/sip-4.8 and dev-python/PyQt4-4.5
> 
> Thanks
> 

Thanks,
Does it mean that upstream kde do not intend to support 4.5 in kde 4.2.x series?
Comment 19 Markos Chandras (RETIRED) gentoo-dev 2009-06-11 10:38:09 UTC
(In reply to comment #18)
> (In reply to comment #2)
> > Sorry we cant fix that. pykde4 doesnt work with latest PyQt4-4.5. So if you
> > want the latest PyQt4 you need to remove pykde4. If you dont want that, you can
> > mask dev-python/sip-4.8 and dev-python/PyQt4-4.5
> > 
> > Thanks
> > 
> 
> Thanks,
> Does it mean that upstream kde do not intend to support 4.5 in kde 4.2.x
> series?
> 

I think yes. We 'll try to backport the patch ( if possible ) from :4.3 packages
Comment 20 Markos Chandras (RETIRED) gentoo-dev 2009-06-11 12:08:30 UTC
Created attachment 194234 [details, diff]
proposed patch

Could somebody test this patch using any <PyQt4-4.5. It works with PyQt4-4.5 ( for me at least )
Comment 21 Markos Chandras (RETIRED) gentoo-dev 2009-06-11 12:09:39 UTC
Re-opening since now there is a patch available. On URL you can find the two revisions that add support for the new sip/pyqt4 on pykde4
Comment 22 Markos Chandras (RETIRED) gentoo-dev 2009-06-11 13:31:44 UTC
New ebuild committed. Re-open if you still have issues 
Comment 23 André Terpstra 2009-06-11 17:53:11 UTC
OK this was a fast fix. I can confirm success:

ZeusGentoo2 ~ # emerge -pv1 pykde4 PyQt4 sip

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

Calculating dependencies... done!
[ebuild   R   ] dev-python/sip-4.8  USE="doc -debug" 0 kB
[ebuild   R   ] dev-python/PyQt4-4.5  USE="X dbus doc kde opengl phonon* qt3support svg webkit -assistant -debug -examples -sql -xmlpatterns" 0 kB
[ebuild   R   ] kde-base/pykde4-4.2.4-r1  USE="akonadi -debug -examples -kdeprefix -semantic-desktop" 0 kB

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
ZeusGentoo2 ~ #
Comment 24 thomas 2009-06-14 08:28:25 UTC
I just synced but it still does not work for me:
[ebuild     U ] dev-python/sip-4.8 [4.7.9] USE="-debug -doc%" 599 kB
[ebuild     U ] dev-python/PyQt4-4.5 [4.4.4-r5] USE="X dbus kde opengl qt3support svg webkit -assistant -debug -doc -examples -phonon -sql -xmlpatterns" 6,780 kB
[ebuild     U ] kde-base/pykde4-4.2.4-r1 [4.2.4] USE="-akonadi -debug -examples -kdeprefix -semantic-desktop" 0 kB
[blocks b     ] >=dev-python/PyQt4-4.5_pre1 (">=dev-python/PyQt4-4.5_pre1" is blocking kde-base/pykde4-4.2.4)
Comment 25 Jonathan Callen (RETIRED) gentoo-dev 2009-06-14 08:53:44 UTC
(In reply to comment #24)
> I just synced but it still does not work for me:
> [ebuild     U ] dev-python/sip-4.8 [4.7.9] USE="-debug -doc%" 599 kB
> [ebuild     U ] dev-python/PyQt4-4.5 [4.4.4-r5] USE="X dbus kde opengl
> qt3support svg webkit -assistant -debug -doc -examples -phonon -sql
> -xmlpatterns" 6,780 kB
> [ebuild     U ] kde-base/pykde4-4.2.4-r1 [4.2.4] USE="-akonadi -debug -examples
> -kdeprefix -semantic-desktop" 0 kB
> [blocks b     ] >=dev-python/PyQt4-4.5_pre1 (">=dev-python/PyQt4-4.5_pre1" is
> blocking kde-base/pykde4-4.2.4)
> 

Notice the lowercase "b" in "[blocks b     ]" -- that means that portage will take care of the blocker for you, if you just let it emerge.  If you allow the emerge process to continue, then everything should Just Work, even though the message may seem scary.
Comment 26 thomas 2009-06-14 08:54:53 UTC
You are right, sorry. Actually, my problem is this:

dev-python/sip:0

  ('installed', '/', 'dev-python/sip-4.7.9', 'nomerge') pulled in by
    ~dev-python/sip-4.7.9 required by ('installed', '/', 'dev-python/PyQt-3.17.6', 'nomerge')
    (and 2 more)

  ('ebuild', '/', 'dev-python/sip-4.8', 'merge') pulled in by
    >=dev-python/sip-4.8 required by ('ebuild', '/', 'dev-python/PyQt4-4.5', 'merge')
    (and 2 more)
Comment 27 Markos Chandras (RETIRED) gentoo-dev 2009-06-14 09:16:56 UTC
Update your PyQt to 3.18
Comment 28 thomas 2009-06-14 09:31:57 UTC
Thanks, after adding this to package.keywords, it works:

=dev-python/PyQt-3.18
=x11-libs/qscintilla-2.4
=dev-python/qscintilla-python-2.4

Comment 29 Ben de Groot (RETIRED) gentoo-dev 2009-06-14 13:47:39 UTC
You should use ~ instead of =, so you still get the revisions.
Comment 30 thomas 2009-06-14 13:56:26 UTC
Thanks, I did not know this feature. In the meantime, I realized that PyQt-3.18 won't compile and I have to use PyQt-3.18-r1 instead.
Comment 31 Markos Chandras (RETIRED) gentoo-dev 2009-06-14 13:58:31 UTC
(In reply to comment #30)
> Thanks, I did not know this feature. In the meantime, I realized that PyQt-3.18
> won't compile and I have to use PyQt-3.18-r1 instead.
> 

You probably have Python<2.6 . PyQt-3.18 doesnt build with python <2.6 but PyQt-3.18-r1 does
Comment 32 thomas 2009-06-14 14:12:32 UTC
Yep, 2.5.4-r2.
Comment 33 Paul Hewlett 2009-07-04 09:44:17 UTC
Is this bug considered fixed because I get the following even after following all the suggestions in previous comments:

dirac portage # emerge -pv1 pykde4 PyQt4 sip

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

Calculating dependencies... done!
[ebuild     UD] dev-python/sip-4.7.9 [4.8] USE="-debug (-doc%)" 0 kB
[ebuild   R   ] kde-base/pykde4-4.2.4-r2  USE="-akonadi -debug -examples (-kdeprefix) -semantic-desktop" 0 kB
[ebuild     UD] dev-python/PyQt4-4.4.4-r2 [4.5] USE="X dbus opengl qt3support%* svg webkit -debug -doc -examples (-assistant%) (-kde%*) (-phonon%) (-sql%*) (-xmlpatterns%)" 6,819 kB

Total: 3 packages (2 downgrades, 1 reinstall), Size of downloads: 6,819 kB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/PyQt4:0

  ('installed', '/', 'dev-python/PyQt4-4.5', 'nomerge') pulled in by
    >=dev-python/PyQt4-4.5_pre1[dbus,svg,webkit,X] required by ('ebuild', '/', 'kde-base/pykde4-4.2.4-r2', 'merge')
    (and 1 more)

  ('ebuild', '/', 'dev-python/PyQt4-4.4.4-r2', 'merge') pulled in by
    PyQt4

  Explanation:

    New USE for 'dev-python/PyQt4:0' are incorrectly set. In order to
    solve this, adjust USE to satisfy '>=dev-
    python/PyQt4-4.5_pre1[dbus,svg,webkit,X]'.


dirac portage #

Is this a bug or am I doing something wrong?
Comment 34 Markos Chandras (RETIRED) gentoo-dev 2009-07-04 09:48:18 UTC
Did you actually read the error message?

" Explanation:

    New USE for 'dev-python/PyQt4:0' are incorrectly set. In order to
    solve this, adjust USE to satisfy '>=dev-
    python/PyQt4-4.5_pre1[dbus,svg,webkit,X]'."

So enable dbus,svg,webkit and X use flags on PyQt4 and you should be fine