Bug 15021

Summary: kactivities-framework conflicts with kactivitymanagerd
Product: Mageia Reporter: Shlomi Fish <shlomif>
Component: RPM PackagesAssignee: Luc Menut <lmenut>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA5TOO
Source RPM: kactivities-framework-5.5.0-1.mga5.src.rpm CVE:
Status comment:

Description Shlomi Fish 2015-01-12 18:08:04 CET
Description of problem:

When I try to install kactivities-framework in Cauldron, I get this:

<QUOTE>
root@telaviv1:~$ urpmi --no-recommends lib64kf5activities-framework-devel
The following packages have to be removed for others to be upgraded:
Default-kde4-config-5-0.20141208.2.mga5.noarch
 (due to missing plasma-applet-icontasks)
kactivitymanagerd-4.13.3-9.mga5.x86_64
 (due to conflicts with kactivities-framework-5.5.0-1.mga5.x86_64)
kdebase4-workspace-4.11.14-4.mga5.x86_64
 (due to unsatisfied kactivitymanagerd < 1:5.0.0)
plasma-applet-folderview-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-applet-frame-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-applet-icontasks-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-applet-knowledgebase-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace,
  due to missing plasma-dataengine-ocs)
plasma-applet-news-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-applet-opendesktop-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace,
  due to missing plasma-dataengine-ocs)
plasma-applet-showdesktop-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-applet-weather-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-dataengine-ocs-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
task-kde4-4.14.3-2.mga5.noarch
 (due to unsatisfied task-kde4-minimal == 3:4.14.3-2.mga5)
task-kde4-minimal-4.14.3-2.mga5.noarch
 (due to unsatisfied kdebase4-workspace >= 2:4.11.14,
  due to unsatisfied plasma-applet-folderview >= 1:4.14.3,
  due to unsatisfied plasma-applet-showdesktop >= 4.14.3) (y/N) n
root@telaviv1:~$ 
</QUOTE>

Version-Release number of selected component (if applicable):

Cauldron.

How reproducible:

Always

Steps to Reproduce:
1. Install kactivitymanagerd.
2. urpmi --no-recommends lib64kf5activities-framework-devel

Reproducible: 

Steps to Reproduce:
David Walser 2015-01-12 23:12:50 CET

CC: (none) => mageia
Assignee: bugsquad => lmenut

Comment 1 Shlomi Fish 2015-01-26 08:18:10 CET
Hi all,

any news? This prevents me from contributing to the upstream gwenview.

Regards,

-- Shlomi Fish
Comment 2 Luc Menut 2015-01-28 00:53:17 CET
kactivitymanagerd and kactivities-framework have conflicts because they both provides /usr/bin/kactivitymanagerd.

urpmf /usr/bin/kactivitymanagerd
kactivitymanagerd:/usr/bin/kactivitymanagerd
kactivities-framework:/usr/bin/kactivitymanagerd

kactivities 4.13.3 and kactivities 5.* both install /usr/bin/kactivitymanagerd. KDE doesn't make them co-installable.

kactivities 4.13.3 is intended to be use with kde-workspace 4, while frameworks kactivities 5.* is intended to be use with Plasma 5.

In order to use kactivities from frameworks, you should uninstall KDE workspace 4, and move to Plasma 5.

Hardware: x86_64 => All

Comment 3 Shlomi Fish 2015-01-28 07:23:58 CET
(In reply to Luc Menut from comment #2)
> kactivitymanagerd and kactivities-framework have conflicts because they both
> provides /usr/bin/kactivitymanagerd.
> 
> urpmf /usr/bin/kactivitymanagerd
> kactivitymanagerd:/usr/bin/kactivitymanagerd
> kactivities-framework:/usr/bin/kactivitymanagerd
> 
> kactivities 4.13.3 and kactivities 5.* both install
> /usr/bin/kactivitymanagerd. KDE doesn't make them co-installable.
> 
> kactivities 4.13.3 is intended to be use with kde-workspace 4, while
> frameworks kactivities 5.* is intended to be use with Plasma 5.
> 
> In order to use kactivities from frameworks, you should uninstall KDE
> workspace 4, and move to Plasma 5.

Quoting from IRC:

«««««««««
Jan 12 18:08:29 <rindolf>	Hi, is there anything I can do to install both packages - http://paste.debian.net/140324/ ?
Jan 12 18:12:56 *	filip_ (~filip@89-212-206-178.dynamic.t-2.net) has joined
Jan 12 18:41:51 <Luigi12_lappy>	rindolf: file a bug.  KF5 stuff is supposed to be co-installable with KDE4, even if Plasma 5 isn't
Jan 12 18:42:01 <rindolf>	Luigi12_lappy: ah, OK.
»»»»»»»»»


And this is what happens when I try to build the origin/Applications/14.12 git branch of gwenview:



«««««««««
shlomif@telaviv1:~/Download/unpack/kde/gwenview/B$ make
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:75 (find_package):
  Could not find a package configuration file provided by "KF5Activities"
  with any of the following names:

    KF5ActivitiesConfig.cmake
    kf5activities-config.cmake

  Add the installation prefix of "KF5Activities" to CMAKE_PREFIX_PATH or set
  "KF5Activities_DIR" to a directory containing one of the above files.  If
  "KF5Activities" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:47 (find_package)


-- Could NOT find KF5Activities: found neither KF5ActivitiesConfig.cmake nor kf5activities-config.cmake 
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
  Could NOT find KF5 (missing: Activities) (found version "5.5.0")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:111 (find_package_handle_standard_args)
  CMakeLists.txt:47 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/shlomif/Download/unpack/kde/gwenview/B/CMakeFiles/CMakeOutput.log".
See also "/home/shlomif/Download/unpack/kde/gwenview/B/CMakeFiles/CMakeError.log".                                                                              
Makefile:922: recipe for target 'cmake_check_build_system' failed               
make: *** [cmake_check_build_system] Error 1                                    
shlomif@telaviv1:~/Download/unpack/kde/gwenview/B$ urpmf KF5ActivitiesConfig.cmake                                                                              
    http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/media/core/release/media_info/20150127-221420-files.xml.lzma                 
lib64kf5activities-framework-devel:/usr/lib64/cmake/KF5Activities/KF5ActivitiesConfig.cmake                                                                     
    http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/media/debug/core/release/media_info/20150127-221112-files.xml.lzma           
^C                                                                              
shlomif@telaviv1:~/Download/unpack/kde/gwenview/B$ sudo urpmi lib64kf5activities-framework-devel
The following packages have to be removed for others to be upgraded:            
Default-kde4-config-5-0.20141208.2.mga5.noarch
 (due to missing plasma-applet-icontasks)
kactivitymanagerd-4.13.3-9.mga5.x86_64
 (due to conflicts with kactivities-framework-5.5.0-1.mga5.x86_64)
kdebase4-workspace-4.11.14-4.mga5.x86_64
 (due to unsatisfied kactivitymanagerd < 1:5.0.0)
plasma-applet-folderview-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-applet-frame-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-applet-icontasks-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-applet-knowledgebase-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace,
  due to missing plasma-dataengine-ocs)
plasma-applet-news-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-applet-opendesktop-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace,
  due to missing plasma-dataengine-ocs)
plasma-applet-showdesktop-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-applet-weather-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
plasma-dataengine-ocs-4.14.3-1.mga5.x86_64
 (due to missing kdebase4-workspace)
task-kde4-4.14.3-2.mga5.noarch
 (due to unsatisfied task-kde4-minimal == 3:4.14.3-2.mga5)
task-kde4-minimal-4.14.3-2.mga5.noarch
 (due to unsatisfied kdebase4-workspace >= 2:4.11.14,
  due to unsatisfied plasma-applet-folderview >= 1:4.14.3,
  due to unsatisfied plasma-applet-showdesktop >= 4.14.3) (y/N) n
shlomif@telaviv1:~/Download/unpack/kde/gwenview/B$ 
»»»»»»»»»

So it interferes with my work.
Samuel Verschelde 2015-05-31 23:02:52 CEST

Whiteboard: (none) => MGA5TOO

Comment 4 Nicolas Lécureuil 2015-06-01 07:10:34 CEST
if you want to build kf5 apps please install plasma.

There is conflicts which are not bugs and this one is part of it.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX