Kdevelop stopped parsing C++ files / code semantic hilighting not working

Bug #1968868 reported by Lassi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdevelop (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 20.04 Focal Fossa
Kdevelop 5.5.0

Starting kdevelop from console:
$ KDEV_CLANG_DISPLAY_DIAGS=1 kdevelop

For all parsed C++ files, keeps showing:
kdevelop.plugins.clang: Failed to parse translation unit: ....
kdevelop.plugins.clang: clang_parseTranslationUnit2 return with error code 1

The hilighting was working fine before, and no apparent related Clang/llvm upgrades in /var/log/apt/history.log that might cause issues.

C++ parsing works when downloading Kdevelop AppImage and starting that for the same project:
https://download.kde.org/stable/kdevelop/5.6.1/bin/linux/KDevelop-5.6.1-x86_64.AppImage

Revision history for this message
Lassi (lassi-vaatamoinen) wrote :
affects: kubuntu-ppa → ubuntu
Paul White (paulw2u)
affects: ubuntu → kdevelop (Ubuntu)
tags: added: jammy
tags: added: focal
removed: jammy
Revision history for this message
Lassi (lassi-vaatamoinen) wrote :

Ok, now it also seems to happen with the downloaded AppImage Kdevelop Version 5.6.1, too.

Revision history for this message
Lassi (lassi-vaatamoinen) wrote :

Switched to using "Generic project manager" and now the source files are being parsed.

Earlier I was using "CMake project manager" successfully for several months, but the Clang parsing happened to go berserk just today.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.