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.
*** Bug 421022 has been marked as a duplicate of this bug. ***