Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565874 - [kde overlay] kde-apps/kdegraphics-meta:5 causes SLOT conflicts with kde-apps/libksane
Summary: [kde overlay] kde-apps/kdegraphics-meta:5 causes SLOT conflicts with kde-apps...
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: 2015-11-16 01:18 UTC by Markus Strobl
Modified: 2015-11-18 11:09 UTC (History)
0 users

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


Attachments
kdegraphics-meta-15.12.49.9999.ebuild (kdegraphics-meta-15.12.49.9999-r1.ebuild,769 bytes, text/plain)
2015-11-16 01:18 UTC, Markus Strobl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Strobl 2015-11-16 01:18:20 UTC
Created attachment 417056 [details]
kdegraphics-meta-15.12.49.9999.ebuild

kdegraphics-meta ebuild explicitly lists libksane as a dependency. This makes ksane_plugins fail for the following reason:

The meta package inherits kde5-meta-pkg and therefore pulls in libksane:5. However, ksaneplugin inherits kde4-base so it tries to pull in libksane:4. Emerge fails at this point with an unresolvable conflict.

The solution is simple: remove libksane from kdegraphics-meta. It will be pulled in by ksaneplugin anyway. With it removed from kdegraphics-meta only libksane:4 is needed and everything builds fine.

Attached fixed ebuild.
Comment 1 Andreas Sturmlechner gentoo-dev 2015-11-16 08:53:36 UTC
Both libksane :4 and :5 can be co-installed, so no need to change the kdegraphics-meta ebuild, but to remove the block from libksane:5.

PS: If you submit ebuild changes, please do that with a diff so that it can be reviewed easily.
Comment 2 Markus Strobl 2015-11-16 12:49:00 UTC
Why have libksane:5 pulled in? Nothing is using it right now.
Comment 3 Andreas Sturmlechner gentoo-dev 2015-11-16 13:46:01 UTC
Well, there's skanlite and digikam. kdegraphics-meta as far as I understand it is supposed to pull in all the kdegraphics components as shipped by upstream (conflicts _within_ KDE Applications aside).
Comment 4 Markus Strobl 2015-11-16 13:59:22 UTC
skanlite:0 has a dep on libksane:5 so it will pull it in if you use skanlite. Digikam is all kde4 from what I can see. I don't use either skanlite or digikam so I don't think libksane:5 should be pulled in by the meta package. 

Not that I have strong feelings about it. I just want it to work. :)
Comment 5 Andreas Sturmlechner gentoo-dev 2015-11-16 14:59:01 UTC
As I said, they're actually co-installable, it just needs to be fixed inside eebuild. This change will make it possible, and then ksaneplugin can pull in libksane:4 just fine ;) https://github.com/a17r/kde/commit/be53b55d654f2e6e1474745c9dfe7f04759a651d
Comment 6 Markus Strobl 2015-11-16 15:04:58 UTC
Works for me. :)
Comment 7 Michael Palimaka (kensington) gentoo-dev 2015-11-18 11:09:41 UTC
Fixed in git now by Andreas.

https://gitweb.gentoo.org/proj/kde.git/commit/?id=effbe9b1a330f0804117b391c58267022357b4bc