Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590200 - incorrect dep in dev-python/pyqwt-5.2.0-r1:5/5 (needed by net-wireless/gnuradio-3.7.9.2)
Summary: incorrect dep in dev-python/pyqwt-5.2.0-r1:5/5 (needed by net-wireless/gnurad...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-01 12:12 UTC by Alarig Le Lay
Modified: 2016-08-03 02:16 UTC (History)
2 users (show)

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


Attachments
emerge --info (file_590200.txt,6.21 KB, text/plain)
2016-08-01 12:19 UTC, Alarig Le Lay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alarig Le Lay 2016-08-01 12:12:16 UTC
Hi,

I had a strange behaviour with dev-qt/qtxml-5.6.1:5/5.6, dev-qt/qtsvg-5.6.1:5/5.6, dev-qt/qtprintsupport-5.6.1:5/5.6 and dev-python/PyQt5-5.5.1. emerge wanted to install them at each system update:

airmure ~ # emerge -va --update --newuse --deep --with-bdeps=y @world
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-qt/qtxml-5.6.1:5/5.6::gentoo  USE="-debug {-test}" 0 KiB
[ebuild  NS    ] dev-qt/qtsvg-5.6.1:5/5.6::gentoo [4.8.6-r1:4::gentoo] USE="-debug {-test}" 0 KiB
[ebuild  N     ] dev-qt/qtprintsupport-5.6.1:5/5.6::gentoo  USE="cups -debug -gles2 {-test}" 0 KiB
[ebuild  N     ] dev-python/PyQt5-5.5.1::gentoo  USE="dbus examples gui network opengl printsupport svg widgets -debug -declarative -designer -doc -gles2 -help -multimedia -positioning -sensors -serialport -sql -testlib -webchannel -webkit -websockets -x11extras -xmlpatterns" PYTHON_TARGETS="python2_7 python3_4 -python3_3 (-python3_5)" 0 KiB

Total: 4 packages (3 new, 1 in new slot), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/PyQt4:0

  (dev-python/PyQt4-4.11.4-r1:0/0::gentoo, ebuild scheduled for merge) conflicts with
    <dev-python/PyQt4-4.11.2-r1[python_targets_python2_7(-),-python_single_target_python2_7(-)] required by (dev-python/pyqwt-5.2.0-r1:5/5::gentoo, installed)
    ^                 ^^^^^^^^^                                                                

And then, removed them at depclean:

airmure ~ # emerge -va --depclean --with-bdeps=y
>>> Calculating removal order...

>>> These are the packages that would be unmerged:

 dev-python/PyQt5
    selected: 5.5.1 
   protected: none 
     omitted: none 

 dev-qt/qtxml
    selected: 5.6.1 
   protected: none 
     omitted: none 

 dev-qt/qtsvg
    selected: 5.6.1 
   protected: none 
     omitted: 4.8.6-r1 

 dev-qt/qtprintsupport
    selected: 5.6.1 
   protected: none 
     omitted: none 

After removing dev-python/pyqwt and net-wireless/gnuradio, emerge just update PyQt4:

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

Calculating dependencies... done!
[ebuild     U  ] dev-python/PyQt4-4.11.4-r1::gentoo [4.11.1::gentoo] USE="X dbus examples opengl svg -compat% -debug -declarative -designer -doc -help -kde -multimedia -phonon -script -scripttools -sql -testlib% -webkit -xmlpatterns" PYTHON_TARGETS="python2_7 python3_4 -python3_3 (-python3_5)" 11 052 KiB

Total: 1 package (1 upgrade), Size of downloads: 11 052 KiB

Would you like to merge these packages? [Yes/No] 

Thanks,
-- 
alarig
Comment 1 Alarig Le Lay 2016-08-01 12:19:39 UTC
Created attachment 442188 [details]
emerge --info

emerge --info
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2016-08-03 01:04:57 UTC
Re-assigning to correct maintainer.
Comment 3 Mike Gilbert gentoo-dev 2016-08-03 01:25:04 UTC
You needed to enable the compat USE flag on PyQt4.
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2016-08-03 02:16:02 UTC
The PyQt4 stuff is explained by the fact that emerge prefers to skip a package update (updating PyQt4 to 4.11.4-r1 in this case) rather than requesting/suggesting a USE flag change on a package that is already installed. That's undesirable in this specific scenario, but might make sense in others. In any case that's the current portage depsolver behavior and it's unlikely to change in the near future (or ever).

The install/depclean cycle of PyQt5 is much more fishy though... and it must be caused by some other package, since pyqwt doesn't depend on PyQt5. Do you have any packages installed that depend on || ( PyQt4 PyQt5 ), e.g. qtconsole?