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

            Bug ID: 418328
           Summary: Inappropriately tries to install udev rules to /lib
           Product: frameworks-bluez-qt
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: n...@kde.org
  Target Milestone: ---

I'm running a hackathon and all of my students who are using Neon Dev (some in
VMs, some on bare metal) are hitting the same cmake error when trying to build
bluez-qt:

# kdesrc-build running: 'make' 'install/fast'
# from directory: /home/mweepigeon/kde/build/bluez-qt
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Up-to-date:
/home/mweepigeon/kde/usr/lib/x86_64-linux-gnu/cmake/KF5BluezQt/KF5BluezQtConfig.cmake
-- Up-to-date:
/home/mweepigeon/kde/usr/lib/x86_64-linux-gnu/cmake/KF5BluezQt/KF5BluezQtConfigVersion.cmake
-- Up-to-date:
/home/mweepigeon/kde/usr/lib/x86_64-linux-gnu/cmake/KF5BluezQt/KF5BluezQtTargets.cmake
-- Up-to-date:
/home/mweepigeon/kde/usr/lib/x86_64-linux-gnu/cmake/KF5BluezQt/KF5BluezQtTargets-relwithdebinfo.cmake
-- Up-to-date: /home/mweepigeon/kde/usr/include/KF5/bluezqt_version.h
-- Installing: /lib/udev/rules.d/61-kde-bluetooth-rfkill.rules
CMake Error at cmake_install.cmake:79 (file):
  file INSTALL cannot copy file
  "/home/mweepigeon/kde/src/bluez-qt/61-kde-bluetooth-rfkill.rules" to
  "/lib/udev/rules.d/61-kde-bluetooth-rfkill.rules".


Makefile:79: recipe for target 'install/fast' failed
make: *** [install/fast] Error 1

It seems inappropruate for it to be trying to install to /lib by default, as
this will fail when the rest of the installation wants to go into ~/kde/usr
(the default installation path).

I'm having them change INSTALL_UDEV_RULE to OFF to get past this. Changing the
default or making it not try to overwrite a system path may bear investigation.

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

Reply via email to