Summary: | plasma-desktop fails build on calibrationtool with some compilers | ||
---|---|---|---|
Product: | [Plasma] plasma-integration | Reporter: | Taurnil <taurnil.oronar> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ctrlaltca, nate, nicolas.fella, vamp898-kde |
Priority: | NOR | ||
Version First Reported In: | 6.3.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/92c6c30f02746dfe82538dc33a051b531c5e4e54 | Version Fixed In: | |
Sentry Crash Report: |
Description
Taurnil
2025-02-18 19:55:05 UTC
It builds fine for me and on our CI, which means this is a local issue on your system. Bugzilla isn't the place to ask for help with build issues; I'd recommend getting in touch using one of these methods: https://community.kde.org/Get_Involved/development#Where_to_find_the_development_team Oh! I guess it is a real issue then. Getting the same problem on Slackware64-current: --- [ 84%] Built target kded_touchpad_autogen [ 85%] Built target kded_touchpad [ 85%] Built target kcm_tablet-kcm-desktop-gen [ 86%] Built target kcm_tablet_autogen_timestamp_deps [ 86%] Built target kcm_tablet_autogen [ 86%] Linking CXX shared module ../../bin/plasma/kcms/systemsettings/kcm_tablet.so /usr/bin/ld: CMakeFiles/kcm_tablet.dir/calibrationtool.cpp.o: in function `CalibrationTool::setCalibrationMatrix(InputDevice*, QMatrix4x4 const&)': calibrationtool.cpp:(.text+0x335): undefined reference to `InputDevice::Prop<QString>::save()' /usr/bin/ld: CMakeFiles/kcm_tablet.dir/calibrationtool.cpp.o: in function `CalibrationTool::restoreDefaults(InputDevice*)': calibrationtool.cpp:(.text+0xc78): undefined reference to `InputDevice::Prop<QString>::save()' collect2: error: ld returned 1 exit status make[2]: *** [kcms/tablet/CMakeFiles/kcm_tablet.dir/build.make:296: bin/plasma/kcms/systemsettings/kcm_tablet.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:33494: kcms/tablet/CMakeFiles/kcm_tablet.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 --- Git commit 7e4068c7e8c3f78914a223bf98af35a5e32269a0 by Joshua Goins, on behalf of Ilya Katsnelson. Committed on 18/02/2025 at 23:21. Pushed by redstrate into branch 'master'. kcms/libkwindevices: put template functions in the header Otherwise some compilers will get confused and fail with nonsensical linking errors. Discovered while building 6.3.1 on NixOS, and should probably be backported. M +1 -1 kcms/libkwindevices/CMakeLists.txt M +1 -1 kcms/libkwindevices/devicesmodel.cpp M +0 -40 kcms/libkwindevices/inputdevice.cpp M +36 -4 kcms/libkwindevices/inputdevice.h https://invent.kde.org/plasma/plasma-desktop/-/commit/7e4068c7e8c3f78914a223bf98af35a5e32269a0 Git commit 92c6c30f02746dfe82538dc33a051b531c5e4e54 by Joshua Goins, on behalf of Ilya Katsnelson. Committed on 18/02/2025 at 23:24. Pushed by redstrate into branch 'Plasma/6.3'. kcms/libkwindevices: put template functions in the header Otherwise some compilers will get confused and fail with nonsensical linking errors. Discovered while building 6.3.1 on NixOS, and should probably be backported. (cherry picked from commit 7e4068c7e8c3f78914a223bf98af35a5e32269a0) M +1 -1 kcms/libkwindevices/CMakeLists.txt M +1 -1 kcms/libkwindevices/devicesmodel.cpp M +0 -40 kcms/libkwindevices/inputdevice.cpp M +36 -4 kcms/libkwindevices/inputdevice.h https://invent.kde.org/plasma/plasma-desktop/-/commit/92c6c30f02746dfe82538dc33a051b531c5e4e54 So for maybe asking a stupid question. This bug is fixed in the current 6.3.1 tarball or is it necessary to apply the patch manually? 6.3.1.1 is out which fixes this, so that answers my question^^ |