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

            Bug ID: 397517
           Summary: When kauth is installed in a system prefix and <other
                    kf5> in a user one, make install breaks
           Product: frameworks-kauth
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: elv1...@gmail.com
  Target Milestone: ---

If kauth is installed in /usr and a framework is installed in a prefix, this
happens:


-- Installing:
/usr/share/polkit-1/actions/org.kde.ktexteditor.katetextbuffer.policy
CMake Error at src/cmake_install.cmake:121 (file):
  file INSTALL cannot copy file
 
"/home/lepagee/archive/ktexteditor/build/src/org.kde.ktexteditor.katetextbuffer.policy"
  to "/usr/share/polkit-1/actions/org.kde.ktexteditor.katetextbuffer.policy".
Call Stack (most recent call first):
  cmake_install.cmake:72 (include)


If kauth is also in the prefix, then the policy is installed somewhere polkit
can't find. So in both case, it's broken. `make install` should always allow
root-less install when a prefix is used. Also installing polkit files where
they wont be used is also pointless. So I guess the "solution" is to not
install those files and print a warning when either kauth or any framework
using it is in a prefix.

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

Reply via email to