Summary: | Latest nightly appimage (feb 10 2024) does not parse c++ | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Ian H <master.haber> |
Component: | Language Support: CPP (Clang-based) | Assignee: | kdevelop-bugs-null |
Status: | REPORTED --- | ||
Severity: | normal | CC: | igorkuo |
Priority: | NOR | ||
Version First Reported In: | git master | ||
Target Milestone: | --- | ||
Platform: | Appimage | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ian H
2025-02-10 16:59:50 UTC
Looks like we don't bundle Clang headers into the AppImage. I don't fancy studying AppImage format/specification to fix this. A merge request is welcome. Actually fixing this may require some knowledge of KDE Craft. Perhaps the Clang built-in include path in the file https://invent.kde.org/packaging/craft-blueprints-kde/-/blob/acd78b0681dec3f861bb5c26a781cde066a951e5/extragear/kdevelop/kdevelop/whitelist.txt needs to be adjusted. the latest flatpak also does something similar to this, but the error it gives is this: kf.coreaddons: "Could not load plugin from /app/lib/plugins/kdevplatform/61/kdevclangsupport.so: Cannot load library /app/lib/plugins/kdevplatform/61/kdevclangsupport.so: libclang.so.19.1: cannot open shared object file: No such file or directory" kdevplatform.shell: Can't load plugin "kdevclangsupport" because a factory to load the plugin could not be obtained: "Could not load plugin from /app/lib/plugins/kdevplatform/61/kdevclangsupport.so: Cannot load library /app/lib/plugins/kdevplatform/61/kdevclangsupport.so: libclang.so.19.1: cannot open shared object file: No such file or directory" Would you prefer i separate this to a different bug or leave it here? (In reply to Ian H from comment #3) > kf.coreaddons: "Could not load plugin from > /app/lib/plugins/kdevplatform/61/kdevclangsupport.so: Cannot load library > /app/lib/plugins/kdevplatform/61/kdevclangsupport.so: libclang.so.19.1: > cannot open shared object file: No such file or directory" So the Flatpak does not even bundle libclang? I don't know who maintains KDevelop Flatpak, but looks like no one tests it. > Would you prefer i separate this to a different bug or leave it here? A separate bug please. I think the issues are quite different and each bug can be addressed separately. (In reply to Igor Kushnir from comment #4) > So the Flatpak does not even bundle libclang? I don't know who maintains > KDevelop Flatpak, but looks like no one tests it. lol that's kindof how i feel about every packaged version of kdevelop. i've yet to see a single one work since the appimages stopped getting put on the kdevelop site download page. This is why i'm still using version 5.5. i can never even get it to build from source, lol. the fact that your CI is actually building is astonishing to me. (this one is never a kdevelop issue, but rather kdesrc-build always being buggy for me) |