Re: [gentoo-user] Qt blocking @world update
Alan McKinnon writes: On 05/11/2013 15:37, Alex Schuster wrote: [kde-misc/fsrunner pulls in QT 4.8.4] This does not make any sense, does it? Actually, it does make sense, in a weird kind of way kid3 and fsrunner are not part of KDE proper (i.e. they are not shipped in the huge KDE tarballs). So they may be inconsistent with the main release due to no QA checks beyond what the dev does. And I doubt the gentoo KDE team checks such packages before updating ebuilds. But what exactly is it that pulls in the older Qt? I would use this approach: Remove from world every KDE package that is not in kde-base (quickpkg first to make restores easier), then update world and do a depclean. Chances are very good it will complete cleanly. Well, I was at this point already, after excluding fsrunner and kid3. Then emerge all those KDE packages back in using the -t option to emerge and see what is causing issues. emerge fsrunner would happily just install fsrunner, but emerge -Dpu fsrunner again wants to downgrade Qt to 4.8.4. The same goes for kid3. No big deal, I don't really need those. I think the odds are very good you will find an out-of-sync package that directly DEPENDS on some old version of Qt (or something equally silly). That package might even already be in the emerge output, but buried in the voluminous output portage gives these days But emerge -uD @world no longer complains. Of course I have other problems now... but I will start a new thread for that. Alex
Re: [gentoo-user] Qt blocking @world update
On Sat, Nov 02, 2013 at 11:02:27PM +0100, Alex Schuster wrote: Hi there! My @world update did not go well. It was much worse some while ago, so I just did an emerge -e @world, after manually removing stuff from /var/lib/portage/world until I got no complaints any more. I had to remove kde-misc/publictransport and kde-misc/plasma-emergelog for that. After most was done, it stopped after one package failed to build, and was unable to resume due to blockers. emerge --resume gives this: weird portage # emerge -aj --resume These are the packages that would be merged, in order: [...] !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-qt/qtgui:4 (dev-qt/qtgui-4.8.5-r1::gentoo, installed) pulled in by =dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] required by (kde-base/libkworkspace-4.11.2::gentoo, installed) ~dev-qt/qtgui-4.8.5[aqua=,debug=,egl=,qt3support=] required by (dev-qt/qtopengl-4.8.5::gentoo, installed) (and 283 more with the same problems) (dev-qt/qtgui-4.8.4-r1::gentoo, ebuild scheduled for merge) pulled in by =dev-qt/qtgui-4.7.4:4[accessibility,dbus] required by (kde-misc/fsrunner-0.7.5::kde, installed) =dev-qt/qtgui-4.7.4:4[accessibility,dbus] required by (media-sound/kid3-2.2.1::kde, installed) ~dev-qt/qtgui-4.8.4[accessibility=,aqua=,debug=,qt3support] required by (dev-qt/qt3support-4.8.4::gentoo, ebuild scheduled for merge) (and 1 more with the same problems) [...] Any enlightenment would be very much appreciated. I just don't know how to get my system back working. ATM, KDE is mostly at version 4.11.2-r1, but some KDE packages still need to be updated. So, it does not work right now, unknown protocol file and such errors. I, too, had been having qt blocking qt, and I had no idea what was causing it. I guess I caused it myself because I updated qt with --nodeps (long story, kde 4.11.2 needs akonadi-server 1.10.3 which needed the then keyworded qt 4.8.5). Both 4.8.4 and 4.8.5 were stable by the end, but still something caused to pull in both, just as in your output. Yesterday I wanted to clean up emerge output so I can ask about it here. So I updated everything except qt (without --nodeps). And now world update is clean again. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any Facebook service. Yesterday we stood at the abyss. Today we are one step further. signature.asc Description: Digital signature
Re: [gentoo-user] Qt blocking @world update
Alan McKinnon writes: Excuse the top-posting; if I try inter-post between all those blockers you'll never find what I reply :-) I would, but for everyone else it's a mess. E-mail with line breaks is not suited for this kind of output. First I recommend to sync your tree again, just in case you got yours between two Qt commits and things are not consistent anymore. Ah, I have this problem for weeks now, but did not care enough. And did not have the time for this. You seem to have at least two things happening: python-exec qt To deal with the first, try remove python-exec and re-merge it (but quickpkg a backup first) quickpkg python-exec emerge -avC python-exec emerge -av1 python-exec This is untested so I don't know if it will bork. If it does, you have a quickpkg that you can untar and get things back. Thanks, a simple upgrade just worked, as I wrote in the reply to Walt. Onto Qt: I've had similar things over the years and it always made little sense. Eventually I removed all references to Qt from world, sets in use and USE then let portage figure out what to do. Rationale: Qt is a basic toolkit that stuff uses, so stuff should decide what it needs and not me. I want the stuff and if that requires Qt then just let portage give me what is required. This will show all references to Qt to consider: grep -ir /qt /etc/portage/ /var/lib/portage/world* /etc/portage/sets.portage/qt-split:x11-libs/qt-assistant /etc/portage/sets.portage/qt-split:x11-libs/qt-core /etc/portage/sets.portage/qt-split:x11-libs/qt-dbus /etc/portage/sets.portage/qt-split:x11-libs/qt-demo /etc/portage/sets.portage/qt-split:x11-libs/qt-gui /etc/portage/sets.portage/qt-split:x11-libs/qt-opengl /etc/portage/sets.portage/qt-split:x11-libs/qt-phonon /etc/portage/sets.portage/qt-split:x11-libs/qt-qt3support /etc/portage/sets.portage/qt-split:x11-libs/qt-script /etc/portage/sets.portage/qt-split:x11-libs/qt-sql /etc/portage/sets.portage/qt-split:x11-libs/qt-svg /etc/portage/sets.portage/qt-split:x11-libs/qt-test /etc/portage/sets.portage/qt-split:x11-libs/qt-webkit /etc/portage/sets.portage/qt-split:x11-libs/qt-xmlpatterns /etc/portage/package.use/misc:dev-qt/qt-creator doc examples perforce qtscript /etc/portage/package.use/misc:dev-qt/qt-meta:3 doc mysql /etc/portage/package.use/misc:dev-qt/qthelp doc /etc/portage/package.use/misc:dev-qt/qtsql mysql /etc/portage/package.use/misc:=dev-qt/qtgui-4.8.4-r1 gtkstyle /etc/portage/package.use/misc:=dev-qt/qtsql-4.8.4mysql /etc/portage/package.use/misc:=dev-qt/qtgui-4.8.4-r1 gtkstyle /etc/portage/package.use/misc:=dev-qt/qtgui-4.8.4-r1 gtkstyle /etc/portage/package.use/misc:=dev-qt/qtsql-4.8.4mysql /etc/portage/package.use/misc:=dev-qt/qtgui-4.8.4-r1 gtkstyle /var/lib/portage/world:dev-qt/qt-meta:3 In your case, I see portage wants to downgrade several Qt packages due to fsrunner, but there's nothing in that ebuild or the kde4-base eclass it inherits, which leads me to believe you might have a config setting somewhere that wants to exclude latest Qt somehow. I commented them all out, I still get the error about multiple Qt versions. Portage and the tree by itself isn't doing it, here's my output: $ emerge -pvt fsrunner These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] kde-misc/fsrunner-0.7.5:4 USE=(-aqua) -debug 18 kB Total: 1 package (1 new), Size of downloads: 18 kB Same here, except that it's emerged already. OK, I have no clue how to further debug this. But what I did is: for (( i=500; i 0; i-=20 )) do emerge -DautvNj $( head -n $i /var/lib/portage/world ) done This failed until $i was 260, so I tried a little more, and removed media-sound/kid3 from @world. Along with fsrunner of course. Now, it's building. This does not make any sense, does it? Wonko
Re: [gentoo-user] Qt blocking @world update
On 05/11/2013 15:37, Alex Schuster wrote: Portage and the tree by itself isn't doing it, here's my output: $ emerge -pvt fsrunner These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] kde-misc/fsrunner-0.7.5:4 USE=(-aqua) -debug 18 kB Total: 1 package (1 new), Size of downloads: 18 kB Same here, except that it's emerged already. OK, I have no clue how to further debug this. But what I did is: for (( i=500; i 0; i-=20 )) do emerge -DautvNj $( head -n $i /var/lib/portage/world ) done This failed until $i was 260, so I tried a little more, and removed media-sound/kid3 from @world. Along with fsrunner of course. Now, it's building. This does not make any sense, does it? Actually, it does make sense, in a weird kind of way kid3 and fsrunner are not part of KDE proper (i.e. they are not shipped in the huge KDE tarballs). So they may be inconsistent with the main release due to no QA checks beyond what the dev does. And I doubt the gentoo KDE team checks such packages before updating ebuilds. I would use this approach: Remove from world every KDE package that is not in kde-base (quickpkg first to make restores easier), then update world and do a depclean. Chances are very good it will complete cleanly. Then emerge all those KDE packages back in using the -t option to emerge and see what is causing issues. I think the odds are very good you will find an out-of-sync package that directly DEPENDS on some old version of Qt (or something equally silly). That package might even already be in the emerge output, but buried in the voluminous output portage gives these days -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Qt blocking @world update
Excuse the top-posting; if I try inter-post between all those blockers you'll never find what I reply :-) First I recommend to sync your tree again, just in case you got yours between two Qt commits and things are not consistent anymore. You seem to have at least two things happening: python-exec qt To deal with the first, try remove python-exec and re-merge it (but quickpkg a backup first) quickpkg python-exec emerge -avC python-exec emerge -av1 python-exec This is untested so I don't know if it will bork. If it does, you have a quickpkg that you can untar and get things back. Onto Qt: I've had similar things over the years and it always made little sense. Eventually I removed all references to Qt from world, sets in use and USE then let portage figure out what to do. Rationale: Qt is a basic toolkit that stuff uses, so stuff should decide what it needs and not me. I want the stuff and if that requires Qt then just let portage give me what is required. This will show all references to Qt to consider: grep -ir /qt /etc/portage/ /var/lib/portage/world* In your case, I see portage wants to downgrade several Qt packages due to fsrunner, but there's nothing in that ebuild or the kde4-base eclass it inherits, which leads me to believe you might have a config setting somewhere that wants to exclude latest Qt somehow. Portage and the tree by itself isn't doing it, here's my output: $ emerge -pvt fsrunner These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] kde-misc/fsrunner-0.7.5:4 USE=(-aqua) -debug 18 kB Total: 1 package (1 new), Size of downloads: 18 kB On 03/11/2013 00:02, Alex Schuster wrote: Hi there! My @world update did not go well. It was much worse some while ago, so I just did an emerge -e @world, after manually removing stuff from /var/lib/portage/world until I got no complaints any more. I had to remove kde-misc/publictransport and kde-misc/plasma-emergelog for that. After most was done, it stopped after one package failed to build, and was unable to resume due to blockers. emerge --resume gives this: weird portage # emerge -aj --resume These are the packages that would be merged, in order: Calculating dependencies... done! * Invalid resume list: * * (u'ebuild', u'/', u'sys-apps/lshw-02.17b', u'merge') * (u'ebuild', u'/', u'net-print/foomatic-filters-4.0.17-r1', u'merge') [snipping some dozen lines] * (u'ebuild', u'/', u'media-video/kmplayer-0.11.3d-r1', u'merge') * (u'ebuild', u'/', u'media-libs/phonon-vlc-0.6.2', u'merge') * * One or more packages are either masked or have missing dependencies: * * dev-lang/python-exec:=[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] pulled in by: * (dev-java/java-config-2.2.0::gentoo, installed) [snipping LOTS of similar output again] * * dev-lang/python-exec:=[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] pulled in by: * (dev-libs/libpeas-1.8.1::gentoo, installed) * * dev-lang/python-exec:=[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] pulled in by: * (dev-python/pygobject-3.8.3::gentoo, installed) * * =dev-libs/icu-3.8.1-r1:0/51.1= pulled in by: * (net-libs/webkit-gtk-1.10.2-r300::gentoo, installed) * * ~app-emulation/emul-linux-x86-medialibs-20130224 pulled in by: * (app-emulation/emul-linux-x86-qtlibs-20130224::gentoo, installed) * * The resume list contains packages that are either masked or have * unsatisfied dependencies. Please restart/continue the operation * manually, or use --skipfirst to skip the first package in the list and * any other packages that may be masked or have missing dependencies. Wow, I don't even... anyway, I thought emerge -DuN @world might work now, but it does not, again due to Qt problems. And those I do not understand: Total: 178 packages (148 upgrades, 9 downgrades, 12 new, 1 in new slot, 8 reinstalls, 4 uninstalls), Size of downloads: 349,914 kB Fetch Restriction: 1 package Conflict: 18 blocks !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-qt/qtgui:4 (dev-qt/qtgui-4.8.5-r1::gentoo, installed) pulled in by =dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] required by (kde-base/libkworkspace-4.11.2::gentoo, installed) ~dev-qt/qtgui-4.8.5[aqua=,debug=,egl=,qt3support=] required by (dev-qt/qtopengl-4.8.5::gentoo, installed) (and 283 more with
Re: [gentoo-user] Qt blocking @world update
Walter Dnes writes: On Sat, Nov 02, 2013 at 11:02:27PM +0100, Alex Schuster wrote * One or more packages are either masked or have missing dependencies: * * dev-lang/python-exec:=[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] pulled in by: * (dev-java/java-config-2.2.0::gentoo, installed) [snipping LOTS of similar output again] Let's start at the top, as the python errors may cascade and cause other errors. From that output, it looks like you do not have any version of python_single_targetX_Y enabled. That could be your problem right there. What python settings do you have in make.conf? I have 3 lines. PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7 USE_PYTHON=2.7 I only have PYTHON_TARGETS=python2_7, but commented. Don't remember when or why I did this. Bit it is set per default, emerge --info gives: PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7 python3_2 USE_PYTHON is unset AFAIK PYTHON_TARGETS defines for which versions of python you build packages. And in case a package only allows to be built for a single version of portage, this is set with PYTHON_SINGLE_TARGET. But what does USE_PYTHON do? Is it documented anywhere? I don't find it in the man pages of make.conf, portage or emerge. Also what do you get when you type eselect python list? In my case I get [i660][waltdnes][~] eselect python list Available Python interpreters: [1] python2.7 * [2] python3.2 weird ~ # eselect python list Available Python interpreters: [1] python2.6 [2] python2.7 * [3] python3.2 [4] python3.3 So, all looks fine to me. USE_PYTHON=2.7 emerge --resume gives the same error. But then I upgraded python-exec. This went without problems, and now the python errors are gone, and I only get this: * One or more packages are either masked or have missing dependencies: * * =dev-libs/icu-3.8.1-r1:0/51.1= pulled in by: * (net-libs/webkit-gtk-1.10.2-r300::gentoo, installed) * * ~app-emulation/emul-linux-x86-medialibs-20130224 pulled in by: * (app-emulation/emul-linux-x86-qtlibs-20130224::gentoo, installed) Hmm. I have icu-51.2 installed, and emerge -u icu would happily upgrade to 51.2-r1. But with -deep I get app-emulation/emul-linux-x86 blockers (xlibs, baselibs, opengl). Well, I'd say let's skip this. The failed emerge -e was days ago, the portage tree has changed, my interest is not so much continuing this failed emerge, but being able to update @world again. Thanks for responding Walt! Alex
[gentoo-user] Qt blocking @world update
Hi there! My @world update did not go well. It was much worse some while ago, so I just did an emerge -e @world, after manually removing stuff from /var/lib/portage/world until I got no complaints any more. I had to remove kde-misc/publictransport and kde-misc/plasma-emergelog for that. After most was done, it stopped after one package failed to build, and was unable to resume due to blockers. emerge --resume gives this: weird portage # emerge -aj --resume These are the packages that would be merged, in order: Calculating dependencies... done! * Invalid resume list: * * (u'ebuild', u'/', u'sys-apps/lshw-02.17b', u'merge') * (u'ebuild', u'/', u'net-print/foomatic-filters-4.0.17-r1', u'merge') [snipping some dozen lines] * (u'ebuild', u'/', u'media-video/kmplayer-0.11.3d-r1', u'merge') * (u'ebuild', u'/', u'media-libs/phonon-vlc-0.6.2', u'merge') * * One or more packages are either masked or have missing dependencies: * * dev-lang/python-exec:=[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] pulled in by: * (dev-java/java-config-2.2.0::gentoo, installed) [snipping LOTS of similar output again] * * dev-lang/python-exec:=[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] pulled in by: * (dev-libs/libpeas-1.8.1::gentoo, installed) * * dev-lang/python-exec:=[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] pulled in by: * (dev-python/pygobject-3.8.3::gentoo, installed) * * =dev-libs/icu-3.8.1-r1:0/51.1= pulled in by: * (net-libs/webkit-gtk-1.10.2-r300::gentoo, installed) * * ~app-emulation/emul-linux-x86-medialibs-20130224 pulled in by: * (app-emulation/emul-linux-x86-qtlibs-20130224::gentoo, installed) * * The resume list contains packages that are either masked or have * unsatisfied dependencies. Please restart/continue the operation * manually, or use --skipfirst to skip the first package in the list and * any other packages that may be masked or have missing dependencies. Wow, I don't even... anyway, I thought emerge -DuN @world might work now, but it does not, again due to Qt problems. And those I do not understand: Total: 178 packages (148 upgrades, 9 downgrades, 12 new, 1 in new slot, 8 reinstalls, 4 uninstalls), Size of downloads: 349,914 kB Fetch Restriction: 1 package Conflict: 18 blocks !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-qt/qtgui:4 (dev-qt/qtgui-4.8.5-r1::gentoo, installed) pulled in by =dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] required by (kde-base/libkworkspace-4.11.2::gentoo, installed) ~dev-qt/qtgui-4.8.5[aqua=,debug=,egl=,qt3support=] required by (dev-qt/qtopengl-4.8.5::gentoo, installed) (and 283 more with the same problems) (dev-qt/qtgui-4.8.4-r1::gentoo, ebuild scheduled for merge) pulled in by =dev-qt/qtgui-4.7.4:4[accessibility,dbus] required by (kde-misc/fsrunner-0.7.5::kde, installed) =dev-qt/qtgui-4.7.4:4[accessibility,dbus] required by (media-sound/kid3-2.2.1::kde, installed) ~dev-qt/qtgui-4.8.4[accessibility=,aqua=,debug=,qt3support] required by (dev-qt/qt3support-4.8.4::gentoo, ebuild scheduled for merge) (and 1 more with the same problems) dev-qt/qtcore:4 (dev-qt/qtcore-4.8.4-r5::gentoo, ebuild scheduled for merge) pulled in by ~dev-qt/qtcore-4.8.4[aqua=,debug=] required by (dev-qt/qtscript-4.8.4::gentoo, ebuild scheduled for merge) (and 4 more with the same problem) (dev-qt/qtcore-4.8.5::gentoo, installed) pulled in by ~dev-qt/qtcore-4.8.5[aqua=,debug=,qt3support=] required by (dev-qt/qtopengl-4.8.5::gentoo, installed) =dev-qt/qtcore-4.8.5:4 required by (app-office/akonadi-server-1.10.3::gentoo, installed) (and 12 more with the same problems) dev-qt/qtscript:4 (dev-qt/qtscript-4.8.5::gentoo, installed) pulled in by ~dev-qt/qtscript-4.8.5[aqua=,debug=] required by (dev-qt/designer-4.8.5::gentoo, installed) (and 2 more with the same problem) (dev-qt/qtscript-4.8.4::gentoo, ebuild scheduled for merge) pulled in by ~dev-qt/qtscript-4.8.4[aqua=,debug=] required by (dev-qt/qtgui-4.8.4-r1::gentoo, ebuild scheduled for merge) dev-qt/qtdbus:4 (dev-qt/qtdbus-4.8.4::gentoo, ebuild scheduled for merge) pulled in by ~dev-qt/qtdbus-4.8.4[aqua=,debug=] required by (dev-qt/qtgui-4.8.4-r1::gentoo, ebuild scheduled for merge) (dev-qt/qtdbus-4.8.5::gentoo, installed) pulled in by =dev-qt/qtdbus-4.8.5:4 required by (app-office/akonadi-server-1.10.3::gentoo, installed)
Re: [gentoo-user] Qt blocking @world update
On Sat, Nov 02, 2013 at 11:02:27PM +0100, Alex Schuster wrote * One or more packages are either masked or have missing dependencies: * * dev-lang/python-exec:=[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] pulled in by: * (dev-java/java-config-2.2.0::gentoo, installed) [snipping LOTS of similar output again] Let's start at the top, as the python errors may cascade and cause other errors. From that output, it looks like you do not have any version of python_single_targetX_Y enabled. That could be your problem right there. What python settings do you have in make.conf? I have 3 lines. PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7 USE_PYTHON=2.7 Also what do you get when you type eselect python list? In my case I get [i660][waltdnes][~] eselect python list Available Python interpreters: [1] python2.7 * [2] python3.2 -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications