Bug 478760 - Kdevelop plugin tools not working in Flatpaked Kdevelop
Summary: Kdevelop plugin tools not working in Flatpaked Kdevelop
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-20 10:13 UTC by Lassi Väätämöinen
Modified: 2023-12-20 11:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lassi Väätämöinen 2023-12-20 10:13:12 UTC
SUMMARY
See more info on 478755


STEPS TO REPRODUCE
1. Install Kdevelop Flatpak to KDE Neon 
2. Open an existing project
3. Try to use tools like cppcheck

OBSERVED RESULT
Window shows 'cppcheck' cannot access the host library libpcre.so: 

> /run/user/1000/doc/84a72681/cppcheck --xml-version=2 --enable=style --enable=performance --enable=portability --enable=information --enable=unusedFunction --enable=missingInclude --inconclusive --force --check-config /home/vaatala/projects/FOOBAR
/run/user/1000/doc/84a72681/cppcheck: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
Elapsed time: 0.101 s.
*** Failure: Exit code 127 ***

EXPECTED RESULT
Kdevelop should just work as it did before Flatpak, with all plugins / tools.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11
Kernel Version: 6.2.0-33-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11850H @ 2.50GHz
Memory: 46,7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: LENOVO
Product Name: 20YRS21300
System Version: ThinkPad P15 Gen 2i

snap-id: vF7qHQJ3SMpORQX952464X4FQhbnh6gu 
    channels:   latest/stable:    5.12.230804 2023-12-10 (77) 763MB classic
    latest/candidate: 5.12.230804 2023-12-09 (77) 763MB classic


ADDITIONAL INFORMATION
'cppcheck' executable path needed to be set manually prior to attempting use. Also 'clazy' executable needed to be manually set. 

So none of the Kdevelop plugin tools are really available in the Flatpak?
Comment 1 Lassi Väätämöinen 2023-12-20 10:14:21 UTC
Very much related to bug 478755 and to bug 477756