Bug 394711

Summary: fakeplugin.desktop can not be found
Product: [Frameworks and Libraries] frameworks-kservice Reporter: shevegen <shevegen>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.46.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description shevegen 2018-05-26 13:54:36 UTC
I had luck compiling qt-5.11.0 and most of the KDE5 foundation
up until kservice. I think I reported the error before already
but I'll report it again, since this is now with
kservice-5.4.60.

The error is:

---------------------------------------------------------------

CMake Error at autotests/CMakeLists.txt:47 (file):
  file COPY cannot find
  "/Depot/Temp/kservice-5.46.0/autotests/fakeplugin.desktop".


CMake Error at autotests/CMakeLists.txt:48 (file):
  file RENAME failed to rename

    /Depot/Temp/kservice-5.46.0/autotests/fakeplugin.desktop

  to

    /Depot/Temp/kservice-5.46.0/autotests/fakeplugin_json_new.desktop

  because: No such file or directory

---------------------------------------------------------------

I do not know why it can not find/copy the fakeplugin.desktop
file. Would it be possible to try to continue even if it
can not find that file? Or does kservice really depend on
it.

I'd love to be able to compile the rest of KDE5 including KDE
Konsole but kservice stops me from doing so right now.
Comment 1 Christoph Feck 2018-06-15 00:29:42 UTC
You are doing in-place builds (builddir == srcdir). This is not supported.