Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545816 - kde-frameworks/extra-cmake-modules-9999: file collisions with dev-libs/extra-cmake-modules-1.8.0
Summary: kde-frameworks/extra-cmake-modules-9999: file collisions with dev-libs/extra-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 545986 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-07 11:22 UTC by anonymous
Modified: 2015-04-11 16:39 UTC (History)
4 users (show)

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


Attachments
file collisions (file_545816.txt,4.87 KB, text/plain)
2015-04-07 11:25 UTC, anonymous
Details
kde5.eclass-no-dev-libs-extra-cmake-modules.patch (kde5.eclass-no-dev-libs-extra-cmake-modules.patch,546 bytes, patch)
2015-04-09 20:35 UTC, Michael Seifert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description anonymous 2015-04-07 11:22:51 UTC
kde-plasma/plasma-desktop require 

Reproducible: Always
Comment 1 anonymous 2015-04-07 11:24:01 UTC
(In reply to Chaser from comment #0)
> kde-plasma/plasma-desktop require 
> 
> Reproducible: Always

kde-plasma/plasma-desktop require kde-frameworks/extra-cmake-modules-9999, but is have collision with dev-libs/extra-cmake-modules-1.8.0 (required by kde-frameworks)
Comment 2 anonymous 2015-04-07 11:25:07 UTC
Created attachment 400756 [details]
file collisions
Comment 3 Martijn Schmidt 2015-04-08 07:40:35 UTC
And as a quick note, dev-libs/extra-cmake-modules is from the main portage tree while kde-frameworks/extra-cmake-modules is from the KDE overlay. It seems that if one follows the guide over at:

https://wiki.gentoo.org/wiki/KDE/Plasma_5_upgrade

You'd be using KF5.8 ebuilds from the main tree alongside Plasma 5.2.2 from the overlay; I've attempted going for KF5.9 from the overlay to match this whole thing up but it seems that I am still hitting packages depending on dev-libs/extra-cmake-modules-1.8.0

cd /etc/portage/package.unmask
ln -s /var/lib/layman/kde/Documentation/package.unmask/kde-frameworks-5.9

Moreover, KF5.9 is not found on many KDE mirrors yet and ftp.kde.org appears to be down for me. I've proceeded to remove these package.unmask again and will merge as far as I can go with dev-libs/extra-cmake-modules-1.8.0, waiting for ebuild updates in the overlay before I attempt rolling out the rest.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2015-04-08 11:07:34 UTC
Sorry, the migration in the overlay didn't work quite the way I intended. When 5.9 is released we can pkgmove it in the main tree too.
Comment 5 Jason Zaman gentoo-dev 2015-04-09 16:36:19 UTC
*** Bug 545986 has been marked as a duplicate of this bug. ***
Comment 6 Michael Seifert 2015-04-09 20:33:02 UTC
I found a workaround for all those who cannot wait to have KDE Plasma 5 installed :) Be aware, though that this is very hacky. I just thought that some of you might find it interesting.

The problem is basically that KDE Plasma 5 which resides in the kde overlay depends on the KDE Framework packages which are in the portage (v5.8). The KF ebuilds pull in dev-libs/extra-cmake-modules through the kde5.eclass, whereas the plasma ebuilds pull in kde-frameworks/extra-cmake-modules through the same eclass in the overlay.

To avoid pulling both of the conflicting ebuilds, I decided to eliminate the need for dev-libs/extra-cmake-modules by:
  1) Applying a patch to kde5.eclass in the overlay (see attachments).
  2) Adding "eclass-overrides = kde" to the [gentoo] section of "/etc/portage/repos.conf/gentoo.conf" to allow the (modified) kde5.eclass of the kde overlay to override the one in the portage tree.

After this, kde-plasma/plasma-meta and its dependencies installed just fine.

Caution:
You might want to copy kde5.eclass from the kde overlay to your local overlay instead of modifying it in place. Otherwise layman won't be able to sync properly.

Thanks to kensington and _Axs_ for helping me out with this.
Comment 7 Michael Seifert 2015-04-09 20:35:02 UTC
Created attachment 400922 [details, diff]
kde5.eclass-no-dev-libs-extra-cmake-modules.patch

Causes kde5.eclass to add kde-frameworks/extra-cmake-modules as a dependency regardless of the inheriting ebuild's category and KDE frameworks version.
Comment 8 Michael Palimaka (kensington) gentoo-dev 2015-04-11 16:39:28 UTC
Thanks, pkgmove is completed now.