https://bugs.kde.org/show_bug.cgi?id=388905

            Bug ID: 388905
           Summary: Can not compile kservice
           Product: frameworks-kservice
           Version: 5.41.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: sheve...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

Error line:








--------








cmake -DCMAKE_INSTALL_PREFIX=/usr .
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 

-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Could not set up the appstream test. appstreamcli is missing.
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Found PythonInterp: /usr/bin/python (found version "2.7.14") 
-- Found FLEX: /usr/bin/flex (found version "2.6.4") 
-- Found BISON: /usr/bin/bison (found version "3.0.4") 
-- Looking for mmap
-- Looking for mmap - found
-- Looking for posix_madvise
-- Looking for posix_madvise - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Error at autotests/CMakeLists.txt:43 (file):
  file COPY cannot find
  "/Depot/Temp/kservice-5.41.0/autotests/fakeplugin.desktop".


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

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

  to

    /Depot/Temp/kservice-5.41.0/autotests/fakeplugin_json_old.desktop

  because: No such file or directory



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


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

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

  to

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

  because: No such file or directory



-- The following OPTIONAL packages have been found:

 * KF5DocTools (required version >= 5.41.0)

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.41.0), Extra CMake Modules.,
<https://projects.kde.org/projects/kdesupport/extra-cmake-modules>
 * Qt5DBus
 * Qt5Xml
 * KF5Config (required version >= 5.41.0)
 * KF5CoreAddons (required version >= 5.41.0)
 * KF5Crash (required version >= 5.41.0)
 * KF5DBusAddons (required version >= 5.41.0)
 * Gettext
 * PythonInterp
 * KF5I18n (required version >= 5.41.0)
 * FLEX, Fast Lexical Analyzer, <http://flex.sourceforge.net>
   Required for the Trader parser
 * BISON, general-purpose parser generator, <http://www.gnu.org/software/bison>
   Required for the Trader parser
 * Qt5Concurrent
 * Qt5Test
 * Qt5 (required version >= 5.7.0)

-- The following features have been disabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator &
KDevelop)

-- Configuring incomplete, errors occurred!
See also "/Depot/Temp/kservice-5.41.0/CMakeFiles/CMakeOutput.log".

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


As can be seen, fakeplugin.desktop is not found or generated and thus the
whole compilation fails.

I have no idea what the error is about really but I have two suggestions:

(1) if fakeplugin.desktop is not totally important, perhaps continue with
the compile cycle.

(2) IF fakeplugin.desktop is important, it should be auto-generated or
perhaps a failsafe .desktop file bundled with kservice.

Right now I can not compile the rest of KDE5 but I am absolutely sure
that I was able to compile KDE5 up to including KDE Konsole a few months
ago. It seems as if the tests are run automatically? Perhaps that could
also become some documented commandline switch, since I don't need any
tests really - the C++ code should work just fine no?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to