Bug#913491: libkf5config-dev: wrong cmake reference to kconfig_compiler_kf5
Package: libkf5config-dev
Version: 5.51.0-1
Severity: normal
Hi! I was trying to build the latest git master of subtitlecomposer
issued 'cmake ..' and got the following message:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigCompilerTargets.cmake:83 (message):
The imported target "KF5::kconfig_compiler" references the file
"/usr/lib/x86_64-linux-gnu/libexec/kf5/kconfig_compiler_kf5"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigCompilerTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake:52 (include)
/usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
CMakeLists.txt:31 (find_package)
a workaround for me was:
sudo cp /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigCompilerTargets-debian.cmake /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigCompilerTargets-noconfig.cmake
but it would be nice if it worked out of the box
thank you!
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=ru (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libkf5config-dev depends on:
ii libkf5config-bin 5.51.0-1
ii libkf5config-dev-bin 5.51.0-1
ii libkf5configcore5 5.51.0-1
ii libkf5configgui5 5.51.0-1
ii qtbase5-dev 5.11.2+dfsg-4
Versions of packages libkf5config-dev recommends:
pn libkf5config-doc <none>
libkf5config-dev suggests no packages.
-- no debconf information
Reply to: