https://bugs.kde.org/show_bug.cgi?id=363678
Thiago Sueto <herzensch...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|REPORTED |CONFIRMED CC| |herzensch...@gmail.com --- Comment #7 from Thiago Sueto <herzensch...@gmail.com> --- This issue is more broad than just the polkit case and currently hinders building and installing plasma-desktop locally without kdesrc-build, and I assume this should affect any other KDE software that uses KAUTH_HELPER_INSTALL_DIR. There's a relevant mailing list thread about this: https://mail.kde.org/pipermail/kde-core-devel/2020-October/091002.html It is not possible to bypass this permission issue in any way. I tried with all of these, none worked: KAUTH_HELPER_INSTALL_DIR INSTALL_BROKEN_KAUTH_POLICY_FILES KAUTH_BACKEND_NAME KAUTH_POLICY_FILES_INSTALL_DIR KDE4_AUTH_POLICY_FILES_INSTALL_DIR And I tried numerous combinations of CMAKE_INSTALL_PREFIX and DESTDIR in my attempts to make this work for months, thinking this was perhaps some user error on my side. So currently the only ways of testing software that uses this KAuth feature without kdesrc-build are: * install everything as root, which is liable to break things And assuming you actually know about this issue, what's happening in the background and what to do with this cryptic error message: * CMAKE_INSTALL_PREFIX=/local/path then sudo install, thus overriding the package manager's installed files * comment out the install line in the CMakeLists.txt that uses KAUTH_HELPER_INSTALL_DIR * compile KAuth together with the application one wants to compile Use case: I was trying to self compile plasma-desktop just to work on a KCM which isn't related and doesn't use KAUTH_HELPER_INSTALL_DIR anywhere. -- You are receiving this mail because: You are watching all bug changes.