https://bugs.kde.org/show_bug.cgi?id=509458
Bug ID: 509458
Summary: Build fails since
893c64a46ced18f2f54b50b0c2febb29c87ee5f7
Classification: Frameworks and Libraries
Product: ktextaddons
Version First unspecified
Reported In:
Platform: Other
OS: Other
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
On my system, build fails using kde-builder since commit
893c64a46ced18f2f54b50b0c2febb29c87ee5f7.
It seems to be an issue with the code generation, but I'm not too sure, and
definitely not well-versed enough in CMake to figure out how to solve it.
STEPS TO REPRODUCE
1. `kde-builder ktextaddons`
OBSERVED RESULT
Build fails with the following error in the log:
```
In file included from
…/kde/build/ktextaddons/textautogeneratetext/TextAutoGenerateText/TextAutoGenerateExportChatBaseJob:1,
from
…/kde/src/ktextaddons/textautogeneratetext/core/jobs/textautogenerateexportchatasjsonjob.h:9,
from
…/kde/src/ktextaddons/textautogeneratetext/core/jobs/textautogenerateexportchatasjsonjob.cpp:7:
…/kde/build/ktextaddons/textautogeneratetext/textautogeneratetext/textautogenerateexportchatbasejob.h:1:10:
fatal error:
../../../../src/ktextaddons/textautogeneratetext/core/textautogenerateexportchatbasejob.h:
No such file or directory
1 | #include
"../../../../src/ktextaddons/textautogeneratetext/core/textautogenerateexportchatbasejob.h"
// IWYU pragma: export
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
```
EXPECTED RESULT
Build should succeed!
SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Operating System: Arch Linux
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.16.5-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7640U w/ Radeon 760M Graphics
Memory: 16 Gio of RAM (14.9 Gio usable)
Graphics Processor: AMD Radeon 760M Graphics
ADDITIONAL INFORMATION
Editing
`kde/build/ktextaddons/textautogeneratetext/textautogeneratetext/textautogenerateexportchatbasejob.h`'s
include line to add one more `../` fixes the issue. Seems like the codegen
isn't generating relative paths correctly!
--
You are receiving this mail because:
You are watching all bug changes.