Bug 341015 - KPatience won't run on KDE 5
Summary: KPatience won't run on KDE 5
Status: RESOLVED DUPLICATE of bug 340325
Alias: None
Product: kpat
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-16 06:39 UTC by Peter Nunn
Modified: 2014-11-16 14:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nunn 2014-11-16 06:39:56 UTC
KDEInit could not launch 'kpat':
Could not open library '/usr/lib/x86_64-linux-gnu/libkdeinit5_kpat'.
Cannot load library /usr/lib/x86_64-linux-gnu/libkdeinit5_kpat: (/usr/lib/x86_64-linux-gnu/libkdeinit5_kpat.so: cannot open shared object file: No such file or directory)

Reproducible: Always

Steps to Reproduce:
1. This is the case now on three separate installations of KDE5
2. Try to start KPatience
3. 

Actual Results:  
KDEInit could not launch 'kpat':
Could not open library '/usr/lib/x86_64-linux-gnu/libkdeinit5_kpat'.
Cannot load library /usr/lib/x86_64-linux-gnu/libkdeinit5_kpat: (/usr/lib/x86_64-linux-gnu/libkdeinit5_kpat.so: cannot open shared object file: No such file or directory)

Expected Results:  
The game runs.

The game ran just after upgrading to KDE5, but not after rebooting.  The library is not on my system.
Comment 1 Ian Wadham 2014-11-16 11:24:57 UTC
Hi Christoph,

I think this bug and https://bugs.kde.org/show_bug.cgi?id=340325
are both examples of a failure to launch a KDE 4 app correctly in
KF5/Frameworks/Plasma5, rather than being bugs in kpat (or ksudoku).

See my comment https://bugs.kde.org/show_bug.cgi?id=340325#c1.

As such, I think the bugs should be re-assigned to the Frameworks/Plasma
team or whoever handles bugs for Frameworks/Plasma, but I do not know
how to re-assign them or where. So could you handle that?

OTOH, I see Kubuntu is involved in both cases, so maybe there is
some problem in the way Kubuntu is handling the installation of
KDE 4 games (most games have not yet been ported to Frameworks).

In that case, somebody from Frameworks/Plasma should be able to
show the Kubuntu guys what the problem is.

Cheers, Ian W.

On 16/11/2014, at 8:33 PM, Christoph Feck wrote:

> https://bugs.kde.org/show_bug.cgi?id=341015
> 
> Christoph Feck <christoph@maxiom.de> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |kde-games-bugs@kde.org
>           Assignee|unassigned-bugs@kde.org     |coolo@kde.org
>            Product|kde                         |kpat
>          Component|general                     |general
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.
> _______________________________________________
> kde-games-bugs mailing list
> kde-games-bugs@kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-bugs
>
Comment 2 Christoph Feck 2014-11-16 11:39:45 UTC
Ian, this bug is about loading "libkdeinit5_kpat", i.e. from the KF5 port.
Comment 3 Christoph Feck 2014-11-16 11:54:37 UTC

*** This bug has been marked as a duplicate of bug 340325 ***
Comment 4 Ian Wadham 2014-11-16 12:09:20 UTC
(In reply to Christoph Feck from comment #2)
> Ian, this bug is about loading "libkdeinit5_kpat", i.e. from the KF5 port.

So was bug 340325. Again, please see my comment on that at https://bugs.kde.org/show_bug.cgi?id=340325#c1.

KPat is a GAME: and a KDE 4 game at that. It has no business being started from kinit and has no library libkdeinitN_pat, neither for N = 4 nor 5. That kind of tricky stuff is used by KDE CORE apps, not by games. So why is Plasma 5 even LOOKING for "libkdeinit5_kpat"?

Also, Valorie's and Scarlett's success at running KPat, KSudoku and Palapeli by specifying a full path on the command-line indicates that their distro has not set up the $PATH correctly or has installed the games in the wrong folder, or maybe KF5 was responsible for that. This is Unix 101 stuff... :-)
Comment 5 Christoph Feck 2014-11-16 14:55:29 UTC
> their distro has not set up the $PATH correctly

Exactly, I resolved it accordingly.

> why is Plasma 5 even LOOKING for "libkdeinit5_kpat"?

If the .desktop file is installed, it assumes that either the binary is installed as well, or otherwise, a kdeinit library is installed.