Web lists-archives.com

Re: kdesrc-build: PolkitQt5-1, KF5WindowSystem etc.




On 15.05.2018 11:12, gregor.mi.sw wrote:
Text below...

On 15.05.2018 10:33, gregor.mi.sw wrote:
Hello Michael,

I just started a full rebuild and closely watched the CMakeCache.txt files. There is one finding.

$ # no special env var setup
$ kdesrc-build --include-dependencies ksysguard kinfocenter kdevelop

...

Building polkit-qt-1 from <module-set at line 34> (9/86)
         No source update, but the build directory doesn't exist
         Updating polkit-qt-1 (to branch master)
         Source update complete for polkit-qt-1: no files affected
         Preparing build system for polkit-qt-1.
         Running cmake...
         Compiling... succeeded (after 19 seconds)
         Installing.. succeeded (after 0 seconds)

Building kauth from frameworks (10/86)
         No source update, but the build directory doesn't exist
         Updating kauth (to branch master)
         Source update complete for kauth: no files affected
         Preparing build system for kauth.
         Running cmake...
         Compiling... succeeded (after 52 seconds)
         Installing.. succeeded (after 0 seconds)
...


In /home/gregor/kde/build/frameworks/kauth/CMakeCache.txt I have those lines:

...
//The directory containing a CMake configuration file for KF5CoreAddons.
KF5CoreAddons_DIR:PATH=/home/gregor/kde/usr/lib64/cmake/KF5CoreAddons

//The directory containing a CMake configuration file for PolkitQt5-1.
PolkitQt5-1_DIR:PATH=/usr/lib64/cmake/PolkitQt5-1
...

which means KF5CoreAddons was found at the correct place whereas for PolkitQt5-1, it picked up the wrong location. I checke, those files are present:

/home/gregor/kde/usr/lib64/cmake/PolkitQt5-1/PolkitQt5-1Config.cmake
/home/gregor/kde/usr/lib64/cmake/PolkitQt5-1/PolkitQt5-1ConfigVersion.cmake
/home/gregor/kde/usr/lib64/cmake/PolkitQt5-1/PolkitQt5-1Targets-debug.cmake
/home/gregor/kde/usr/lib64/cmake/PolkitQt5-1/PolkitQt5-1Targets.cmake

Any idea?

Gregor


At this stage

Building kactivities from frameworks (33/86)
         No source update, but the build directory doesn't exist
         Updating kactivities (to branch master)
         Source update complete for kactivities: no files affected
         Preparing build system for kactivities.
         Running cmake...
         Compiling... succeeded (after 1 minute, and 1 second)
         Installing.. succeeded (after 0 seconds)

I got another offender: wrong location of KF5WindowSystem in KActivities:

$ dev-kf5-check-builddirs

Result
------
/home/gregor/kde/build/frameworks/kactivities/
/home/gregor/kde/build/frameworks/kauth/

Details
-------
### ----- /home/gregor/kde/build/frameworks/kactivities/CMakeCache.txt ------
KF5WindowSystem_DIR:PATH=/usr/lib64/cmake/KF5WindowSystem

### ----- /home/gregor/kde/build/frameworks/kauth/CMakeCache.txt ------
PolkitQt5-1_DIR:PATH=/usr/lib64/cmake/PolkitQt5-1

Gregor

Additionally to the first results above, here are more findings.

Probably because the system-wide PolkitQt5-1 instead the local one is found, it explains the error when installing libksysguard, see

/home/gregor/kde/src/log/2018-05-15-14/libksysguard/install.log:

    -- Installing: /usr/share/polkit-1/actions/org.kde.ksysguard.processlisthelper.policy
    CMake Error at processcore/cmake_install.cmake:120 (file):
    file INSTALL cannot copy file

"/home/gregor/kde/build/kde/workspace/libksysguard/processcore/org.kde.ksysguard.processlisthelper.policy"
    to
    "/usr/share/polkit-1/actions/org.kde.ksysguard.processlisthelper.policy".
    Call Stack (most recent call first):
    cmake_install.cmake:77 (include)

It also shows that KDevelop finds the wrong KF5Declarative. This is why its compilation fails. I find it strange that only a few modules have problems with finding the correct cmake file locations.

Gregor




Result Overview
---------------
/home/gregor/kde/build/frameworks/kimageformats/
/home/gregor/kde/build/kde/kdesdk/libkomparediff2/
/home/gregor/kde/build/kde/workspace/kinfocenter/
/home/gregor/kde/build/kde/workspace/libksysguard/
/home/gregor/kde/build/kde/workspace/ksysguard/
/home/gregor/kde/build/kde/kdenetwork/kio-extras/
/home/gregor/kde/build/extragear/kdevelop/kdevelop/
/home/gregor/kde/build/extragear/utils/okteta/

Details sorted by create date
-----------------------------
### /home/gregor/kde/build/frameworks/extra-cmake-modules/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/attica/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kconfig/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kwindowsystem/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kcoreaddons/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kdbusaddons/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/ki18n/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kguiaddons/CMakeCache.txt
OK

### /home/gregor/kde/build/kdesupport/polkit-qt-1/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kcodecs/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/karchive/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kdoctools/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kwidgetsaddons/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kconfigwidgets/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kitemviews/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kcrash/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kservice/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/solid/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kjobwidgets/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kiconthemes/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kcompletion/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/sonnet/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/ktextwidgets/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kglobalaccel/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/breeze-icons/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kxmlgui/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kbookmarks/CMakeCache.txt
OK

### /home/gregor/kde/build/kdesupport/phonon/phonon/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/knotifications/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kwallet/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kio/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kactivities-stats/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kpackage/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kdeclarative/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kcmutils/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kunitconversion/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kinit/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kded/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kemoticons/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kparts/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kplotting/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kdewebkit/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kdesignerplugin/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kdelibs4support/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kdnssd/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/khtml/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kidletime/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kjsembed/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kitemmodels/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kirigami/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/knewstuff/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/knotifyconfig/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/oxygen-icons5/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/frameworkintegration/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kpty/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kdesu/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kross/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/syntax-highlighting/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/ktexteditor/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/threadweaver/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kwayland/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/plasma-framework/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kxmlrpcclient/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/qqc2-desktop-style/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/prison/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/krunner/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kpeople/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kmediaplayer/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/kimageformats/CMakeCache.txt
--- Problems --------------------------------
KF5Archive_DIR:PATH=/usr/lib64/cmake/KF5Archive
---------------------------------------------

### /home/gregor/kde/build/frameworks/kfilemetadata/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/bluez-qt/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/baloo/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/modemmanager-qt/CMakeCache.txt
OK

### /home/gregor/kde/build/frameworks/networkmanager-qt/CMakeCache.txt
OK

### /home/gregor/kde/build/kde/workspace/libksysguard/CMakeCache.txt
--- Problems --------------------------------
KF5Auth_DIR:PATH=/usr/lib64/cmake/KF5Auth
KF5Codecs_DIR:PATH=/usr/lib64/cmake/KF5Codecs
KF5Completion_DIR:PATH=/usr/lib64/cmake/KF5Completion
KF5ConfigWidgets_DIR:PATH=/usr/lib64/cmake/KF5ConfigWidgets
KF5Config_DIR:PATH=/usr/lib64/cmake/KF5Config
KF5CoreAddons_DIR:PATH=/usr/lib64/cmake/KF5CoreAddons
KF5I18n_DIR:PATH=/usr/lib64/cmake/KF5I18n
KF5IconThemes_DIR:PATH=/usr/lib64/cmake/KF5IconThemes
KF5Package_DIR:PATH=/usr/lib64/cmake/KF5Package
KF5Plasma_DIR:PATH=/usr/lib64/cmake/KF5Plasma
KF5Service_DIR:PATH=/usr/lib64/cmake/KF5Service
KF5WidgetsAddons_DIR:PATH=/usr/lib64/cmake/KF5WidgetsAddons
KF5WindowSystem_DIR:PATH=/usr/lib64/cmake/KF5WindowSystem
---------------------------------------------

### /home/gregor/kde/build/kde/workspace/ksysguard/CMakeCache.txt
--- Problems --------------------------------
KF5Attica_DIR:PATH=/usr/lib64/cmake/KF5Attica
KF5Config_DIR:PATH=/usr/lib64/cmake/KF5Config
KF5CoreAddons_DIR:PATH=/usr/lib64/cmake/KF5CoreAddons
KF5DBusAddons_DIR:PATH=/usr/lib64/cmake/KF5DBusAddons
KF5DocTools_DIR:PATH=/usr/lib64/cmake/KF5DocTools
KF5I18n_DIR:PATH=/usr/lib64/cmake/KF5I18n
KF5IconThemes_DIR:PATH=/usr/lib64/cmake/KF5IconThemes
KF5Init_DIR:PATH=/usr/lib64/cmake/KF5Init
KF5ItemViews_DIR:PATH=/usr/lib64/cmake/KF5ItemViews
KF5NewStuffCore_DIR:PATH=/usr/lib64/cmake/KF5NewStuffCore
KF5NewStuff_DIR:PATH=/usr/lib64/cmake/KF5NewStuff
KF5Notifications_DIR:PATH=/usr/lib64/cmake/KF5Notifications
KF5SysGuard_DIR:PATH=/usr/lib64/cmake/KF5SysGuard
KF5WindowSystem_DIR:PATH=/usr/lib64/cmake/KF5WindowSystem
_KDE5INIT_DUMMY_FILEPATH:FILEPATH=/usr/lib64/cmake/KF5Init/kde5init_dummy.cpp.in
---------------------------------------------

### /home/gregor/kde/build/kde/workspace/kinfocenter/CMakeCache.txt
--- Problems --------------------------------
KF5Auth_DIR:PATH=/usr/lib64/cmake/KF5Auth
KF5Codecs_DIR:PATH=/usr/lib64/cmake/KF5Codecs
KF5Completion_DIR:PATH=/usr/lib64/cmake/KF5Completion
KF5ConfigWidgets_DIR:PATH=/usr/lib64/cmake/KF5ConfigWidgets
KF5Config_DIR:PATH=/usr/lib64/cmake/KF5Config
KF5CoreAddons_DIR:PATH=/usr/lib64/cmake/KF5CoreAddons
KF5Crash_DIR:PATH=/usr/lib64/cmake/KF5Crash
KF5DBusAddons_DIR:PATH=/usr/lib64/cmake/KF5DBusAddons
KF5Declarative_DIR:PATH=/usr/lib64/cmake/KF5Declarative
KF5DocTools_DIR:PATH=/usr/lib64/cmake/KF5DocTools
KF5I18n_DIR:PATH=/usr/lib64/cmake/KF5I18n
KF5IconThemes_DIR:PATH=/usr/lib64/cmake/KF5IconThemes
KF5KCMUtils_DIR:PATH=/usr/lib64/cmake/KF5KCMUtils
KF5Package_DIR:PATH=/usr/lib64/cmake/KF5Package
KF5Service_DIR:PATH=/usr/lib64/cmake/KF5Service
KF5Wayland_DIR:PATH=/usr/lib64/cmake/KF5Wayland
KF5WidgetsAddons_DIR:PATH=/usr/lib64/cmake/KF5WidgetsAddons
---------------------------------------------

### /home/gregor/kde/build/kde/kdenetwork/kio-extras/CMakeCache.txt
--- Problems --------------------------------
KF5Activities_DIR:PATH=/usr/lib64/cmake/KF5Activities
KF5Archive_DIR:PATH=/usr/lib64/cmake/KF5Archive
KF5Auth_DIR:PATH=/usr/lib64/cmake/KF5Auth
KF5Codecs_DIR:PATH=/usr/lib64/cmake/KF5Codecs
KF5ConfigWidgets_DIR:PATH=/usr/lib64/cmake/KF5ConfigWidgets
KF5Config_DIR:PATH=/usr/lib64/cmake/KF5Config
KF5CoreAddons_DIR:PATH=/usr/lib64/cmake/KF5CoreAddons
KF5DBusAddons_DIR:PATH=/usr/lib64/cmake/KF5DBusAddons
KF5DNSSD_DIR:PATH=/usr/lib64/cmake/KF5DNSSD
KF5DocTools_DIR:PATH=/usr/lib64/cmake/KF5DocTools
KF5GuiAddons_DIR:PATH=/usr/lib64/cmake/KF5GuiAddons
KF5I18n_DIR:PATH=/usr/lib64/cmake/KF5I18n
KF5IconThemes_DIR:PATH=/usr/lib64/cmake/KF5IconThemes
KF5Pty_DIR:PATH=/usr/lib64/cmake/KF5Pty
KF5WidgetsAddons_DIR:PATH=/usr/lib64/cmake/KF5WidgetsAddons
---------------------------------------------

### /home/gregor/kde/build/kde/kdesdk/libkomparediff2/CMakeCache.txt
--- Problems --------------------------------
KF5Auth_DIR:PATH=/usr/lib64/cmake/KF5Auth
KF5Codecs_DIR:PATH=/usr/lib64/cmake/KF5Codecs
KF5ConfigWidgets_DIR:PATH=/usr/lib64/cmake/KF5ConfigWidgets
KF5Config_DIR:PATH=/usr/lib64/cmake/KF5Config
KF5CoreAddons_DIR:PATH=/usr/lib64/cmake/KF5CoreAddons
KF5I18n_DIR:PATH=/usr/lib64/cmake/KF5I18n
KF5WidgetsAddons_DIR:PATH=/usr/lib64/cmake/KF5WidgetsAddons
KF5XmlGui_DIR:PATH=/usr/lib64/cmake/KF5XmlGui
---------------------------------------------

### /home/gregor/kde/build/kdesupport/qca/CMakeCache.txt
OK

### /home/gregor/kde/build/extragear/utils/okteta/CMakeCache.txt
--- Problems --------------------------------
KF5Attica_DIR:PATH=/usr/lib64/cmake/KF5Attica
KF5Auth_DIR:PATH=/usr/lib64/cmake/KF5Auth
KF5Bookmarks_DIR:PATH=/usr/lib64/cmake/KF5Bookmarks
KF5Codecs_DIR:PATH=/usr/lib64/cmake/KF5Codecs
KF5Completion_DIR:PATH=/usr/lib64/cmake/KF5Completion
KF5ConfigWidgets_DIR:PATH=/usr/lib64/cmake/KF5ConfigWidgets
KF5Config_DIR:PATH=/usr/lib64/cmake/KF5Config
KF5CoreAddons_DIR:PATH=/usr/lib64/cmake/KF5CoreAddons
KF5Crash_DIR:PATH=/usr/lib64/cmake/KF5Crash
KF5DBusAddons_DIR:PATH=/usr/lib64/cmake/KF5DBusAddons
KF5DocTools_DIR:PATH=/usr/lib64/cmake/KF5DocTools
KF5I18n_DIR:PATH=/usr/lib64/cmake/KF5I18n
KF5IconThemes_DIR:PATH=/usr/lib64/cmake/KF5IconThemes
KF5KCMUtils_DIR:PATH=/usr/lib64/cmake/KF5KCMUtils
KF5NewStuffCore_DIR:PATH=/usr/lib64/cmake/KF5NewStuffCore
KF5NewStuff_DIR:PATH=/usr/lib64/cmake/KF5NewStuff
KF5Service_DIR:PATH=/usr/lib64/cmake/KF5Service
KF5WidgetsAddons_DIR:PATH=/usr/lib64/cmake/KF5WidgetsAddons
---------------------------------------------

### /home/gregor/kde/build/extragear/kdevelop/utilities/kdevelop-pg-qt/CMakeCache.txt
OK

### /home/gregor/kde/build/extragear/kdevelop/kdevelop/CMakeCache.txt
--- Problems --------------------------------
KF5Archive_DIR:PATH=/usr/lib64/cmake/KF5Archive
KF5Attica_DIR:PATH=/usr/lib64/cmake/KF5Attica
KF5Auth_DIR:PATH=/usr/lib64/cmake/KF5Auth
KF5Codecs_DIR:PATH=/usr/lib64/cmake/KF5Codecs
KF5ConfigWidgets_DIR:PATH=/usr/lib64/cmake/KF5ConfigWidgets
KF5Config_DIR:PATH=/usr/lib64/cmake/KF5Config
KF5CoreAddons_DIR:PATH=/usr/lib64/cmake/KF5CoreAddons
KF5Crash_DIR:PATH=/usr/lib64/cmake/KF5Crash
KF5Declarative_DIR:PATH=/usr/lib64/cmake/KF5Declarative
KF5DocTools_DIR:PATH=/usr/lib64/cmake/KF5DocTools
KF5GuiAddons_DIR:PATH=/usr/lib64/cmake/KF5GuiAddons
KF5I18n_DIR:PATH=/usr/lib64/cmake/KF5I18n
KF5IconThemes_DIR:PATH=/usr/lib64/cmake/KF5IconThemes
KF5ItemModels_DIR:PATH=/usr/lib64/cmake/KF5ItemModels
KF5ItemViews_DIR:PATH=/usr/lib64/cmake/KF5ItemViews
KF5JobWidgets_DIR:PATH=/usr/lib64/cmake/KF5JobWidgets
KF5KCMUtils_DIR:PATH=/usr/lib64/cmake/KF5KCMUtils
KF5NewStuffCore_DIR:PATH=/usr/lib64/cmake/KF5NewStuffCore
KF5NewStuff_DIR:PATH=/usr/lib64/cmake/KF5NewStuff
KF5Notifications_DIR:PATH=/usr/lib64/cmake/KF5Notifications
KF5NotifyConfig_DIR:PATH=/usr/lib64/cmake/KF5NotifyConfig
KF5Package_DIR:PATH=/usr/lib64/cmake/KF5Package
KF5Plasma_DIR:PATH=/usr/lib64/cmake/KF5Plasma
KF5Runner_DIR:PATH=/usr/lib64/cmake/KF5Runner
KF5Service_DIR:PATH=/usr/lib64/cmake/KF5Service
KF5SysGuard_DIR:PATH=/usr/lib64/cmake/KF5SysGuard
KF5ThreadWeaver_DIR:PATH=/usr/lib64/cmake/KF5ThreadWeaver
KF5WidgetsAddons_DIR:PATH=/usr/lib64/cmake/KF5WidgetsAddons
KF5WindowSystem_DIR:PATH=/usr/lib64/cmake/KF5WindowSystem
---------------------------------------------