Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571570 - kde-apps/konsole 5 no longer coexist with 4 due to removal of minimal flag
Summary: kde-apps/konsole 5 no longer coexist with 4 due to removal of minimal flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-11 17:30 UTC by Siuchung Cheung (Clement)
Modified: 2016-01-19 11:41 UTC (History)
0 users

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 Siuchung Cheung (Clement) 2016-01-11 17:30:25 UTC
Did a world update. Portage wants to remove konsole 5.
[ebuild  N    ] kde-apps/konsolepart-4.14.3  USE="(-aqua) -debug -minimal {-test}" 
[ebuild     U ] kde-apps/konsole-4.14.3-r2 [4.14.3-r1] USE="(-aqua) -debug -handbook {-test} (-minimal%*)" 
[blocks b     ] <kde-apps/konsole-4.14.3-r2 ("<kde-apps/konsole-4.14.3-r2" is blocking kde-apps/konsolepart-4.14.3)
[uninstall    ] kde-apps/konsole-15.08.3  USE="X handbook -debug {-test}" 
[blocks b     ] kde-apps/konsole:4[-minimal(-)] ("kde-apps/konsole:4[-minimal(-)]" is blocking kde-apps/konsole-15.08.3)

Offending statement in ebuild konsole-15.08.3:
!kde-apps/konsole:4[-minimal(-)]

So if I'm reading it correctly, we don't want to see a konsole 4 without the minimal flag. And it defaults to - if not present. This was there a long time ago. But in recent change log:

kde-apps/konsole: Drop USE=minimal, RDEPEND on konsolepart instead
Andreas Sturmlechner, 04 Jan 01:17, commit 86bf6b72
konsole-4.14.3-r2.ebuild

So now it's not possible to have konsole 4 and 5 at the same time because you can never make that statement happy. Is this a typo? The r1 ebuild works fine.

bliss /home/clement # emerge -pqv konsole:4/4.14
[ebuild  N    ] kde-apps/konsolepart-4.14.3  USE="(-aqua) -debug -minimal {-test}" 
[ebuild     U ] kde-apps/konsole-4.14.3-r2 [4.14.3-r1] USE="(-aqua) -debug -handbook {-test} (-minimal%*)" 
[blocks b     ] <kde-apps/konsole-4.14.3-r2 ("<kde-apps/konsole-4.14.3-r2" is blocking kde-apps/konsolepart-4.14.3)
[uninstall    ] kde-apps/konsole-15.08.3  USE="X handbook -debug {-test}" 
[blocks b     ] kde-apps/konsole:4[-minimal(-)] ("kde-apps/konsole:4[-minimal(-)]" is blocking kde-apps/konsole-15.08.3)
bliss ~ # emerge -pqv '=konsole-4.14.3-r1'
[ebuild   R   ] kde-apps/konsole-4.14.3-r1  USE="minimal (-aqua) -debug -handbook {-test}" 


Reproducible: Always

Steps to Reproduce:
1. emerge -avuDN @world

Actual Results:  
konsole for KDE 5 removed.

Expected Results:  
konsole for KDE 5 coexist with the one for KDE 4 (required for Yakuake).
Comment 1 Till Schäfer 2016-01-11 18:26:21 UTC
I have the same problem here. This change forces me to remove kdevelop and kile, as they are depending on konsole:4.

Reporter: Please add the [kde-overlay] prefix to the bug.

Here is the change that causes the trouble: 
https://www.mail-archive.com/gentoo-commits@lists.gentoo.org/msg177741.html
Comment 2 Andreas Sturmlechner gentoo-dev 2016-01-11 18:28:54 UTC
Actually this is a duplicate of bug 571422
Comment 3 Till Schäfer 2016-01-11 18:40:27 UTC
i am not quite sure, because this bug (at least the title) has a larger scope than just the kdebase-meta dependcy.
Comment 4 Andreas Sturmlechner gentoo-dev 2016-01-11 18:45:52 UTC
This bug is a feature. konsole:5 blocks konsole:4, but not konsolepart:4. You need to adjust your package.accept_keywords file. ;)
Comment 5 Siuchung Cheung (Clement) 2016-01-11 20:46:32 UTC
Thanks for the explanation. emerge -1 konsolepart fixed the problem.

There's actually nothing in my keyword file that's stopping konsolepart. But for some odd reasons, portage insist on konsole:4 even though yakuake accept both as alternative. I've tried to manually unmerge konsole:4. And yakuake wants to merge it back and unmerge konsole:5. Only a manual emerge -1 konsolepart finally convinced it to pick that for the dep.
Comment 6 Andreas Sturmlechner gentoo-dev 2016-01-11 20:50:12 UTC
What version of kde-apps/kdebase-meta do you have installed?
Comment 7 Siuchung Cheung (Clement) 2016-01-11 21:18:00 UTC
> What version of kde-apps/kdebase-meta do you have installed?
None. :-) Replaced it with plasma-meta during the KDE 5 upgrade. I don't remember what I did but I do remember the process is very messed up. Wasn't able to keep kdebase-meta.

I checked my world file. konsole was not in it. The only reason for pulling in konsole:4 is as a dep of yakuake. On the other hand, since it's not in world, there's no reason to pull in konsole:5 neither. emerge -pv --depclean konsole confirms nobody is pulling in konsole:5. I guess that's why portage thinks we can just unmerge it. Oddly enough, I do emerge --depclean regularly and konsole was never removed.

Maybe I should do an emerge --noreplace konsole to put that in world file explicitly until we have a KDE5 meta package that pulls it in? That should stop portage from thinking it's okay to remove konsole:5. Looks like that's what you recommend in that bug as well.
Comment 8 Andreas Sturmlechner gentoo-dev 2016-01-11 21:24:58 UTC
OK, that would explain portage behaviour in your case. I wrongly assumed konsole:5 was going to be removed because of kdebase-meta:4 in your @world.

Upgrade process should have considerably improved by now.
Comment 9 Andreas Sturmlechner gentoo-dev 2016-01-19 11:40:14 UTC
USE=minimal was dropped from kde-apps/konsole:4 completely in favour of konsolepart:4 which can be co-installed with konsole:5. The latter is automatically pulled in by slot 5 meta packages in plasma profile.