SUMMARY language/duchain/safetycounter.h seems to have been removed from kdevplatform. I use version kdevelop 22.12.3-1 from the archlinux repo STEPS TO REPRODUCE 1. get https://invent.kde.org/kdevelop/kdev-xdebug 2. cmake and build OBSERVED RESULT kdev-xdebug/stringhelpers.cpp:20:10: fatal error: language/duchain/safetycounter.h: No such file or directory 20 | #include <language/duchain/safetycounter.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/kdevxdebug.dir/build.make:234: CMakeFiles/kdevxdebug.dir/stringhelpers.cpp.o] Error 1 Is this a bug or should I manually grab an older version of kdevplatform?
If I just comment out the include file. The Plugin builds fine.
Sorry, I haven't noticed this use while removing the header. I will fix this bug soon.
Git commit 5ed75d2390a75681af9108b4100bf5db74cee091 by Igor Kushnir. Committed on 17/03/2023 at 10:09. Pushed by igorkushnir into branch 'master'. Remove no longer available unused safetycounter.h include kdevplatform/language/duchain/safetycounter.h was recently removed in https://commits.kde.org/kdevelop/kdevelop/b4eeba21c1d88903fca84642153ae087e129b4a0 The include of the removed header in this plugin was missed. Simply remove it now, because neither the single declaration in the removed header `struct SafetyCounter` nor the single include <QDebug> is used in the affected source file kdev-xdebug/stringhelpers.cpp. M +0 -1 stringhelpers.cpp https://invent.kde.org/kdevelop/kdev-xdebug/commit/5ed75d2390a75681af9108b4100bf5db74cee091