SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Attempt to build using GCC (Clang fails a lot earlier) 2. Watch link failure 3. Lose OBSERVED RESULT Build of this fails EXPECTED RESULT DrKonqi builds successfully SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kernel CachyOS 6.6.8 w/ NVIDIA Drivers installed (available in About System) KDE Plasma Version: master KDE Frameworks Version: master Qt Version: 6.6.1 ADDITIONAL INFORMATION Using a Hyprland setup at the time I filed this bug
I got an actual failure: /home/td5038/drkonqi/src/sentry/data/main.cpp:75:(.text+0xe09): undefined reference to `QByteArray::toStdString[abi:cxx11]() const'
This is one of the clang errors; /var/tmp/portage/kde-plasma/drkonqi-9999/work/drkonqi-9999/src/coredump/dumpexcavator/automaticcoredumpexcavator.cpp:66:13: error: use of undeclared identifier 'close' 66 | close(fd); | ^
Can reproduce outside of Portage
A possibly relevant merge request was started @ https://invent.kde.org/plasma/drkonqi/-/merge_requests/213
Git commit dbe40aa838f47011d7df5f87ee8a6283f353ccb9 by Harald Sitter. Committed on 12/01/2024 at 12:12. Pushed by sitter into branch 'master'. dumpexcavator: include unistd for close declaration otherwise clang may trip over `use of undeclared identifier 'close'` M +1 -0 src/coredump/dumpexcavator/automaticcoredumpexcavator.cpp https://invent.kde.org/plasma/drkonqi/-/commit/dbe40aa838f47011d7df5f87ee8a6283f353ccb9
Git commit e5fd6afa4619ff79ff5188484b16e9caaadd1876 by Harald Sitter. Committed on 15/01/2024 at 13:08. Pushed by sitter into branch 'Plasma/6.0'. dumpexcavator: include unistd for close declaration otherwise clang may trip over `use of undeclared identifier 'close'` (cherry picked from commit dbe40aa838f47011d7df5f87ee8a6283f353ccb9) M +1 -0 src/coredump/dumpexcavator/automaticcoredumpexcavator.cpp https://invent.kde.org/plasma/drkonqi/-/commit/e5fd6afa4619ff79ff5188484b16e9caaadd1876