| Summary: |
Amarok fails to build with KF < 5.94 due to KStatefulBrush include |
| Product: |
[Applications] amarok
|
Reporter: |
Joseph Yasi <joe.yasi> |
| Component: |
Playlist | Assignee: |
Amarok Bugs <amarok-bugs-null> |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
normal
|
CC: |
tuomas
|
| Priority: |
NOR
|
|
|
| Version First Reported In: |
unspecified | |
|
| Target Milestone: |
kf5 | |
|
| Platform: |
Other | |
|
| OS: |
Linux | |
|
|
Latest Commit:
|
https://invent.kde.org/multimedia/amarok/-/commit/f6143b2df0b251f3e5e5665ea7121e49b0f45d7e
|
Version Fixed/Implemented In:
|
|
|
Sentry Crash Report:
|
|
| |
SUMMARY a151941ed2c9199d6d16ef91f0ecef61c4b03cca added an include of KStatefulBrush to src/playlist/ProgressiveSearchWidget.cpp. The KStatefulBrush header wasn't introduced until KF 5.94. Before that, the class was just in KColorScheme. STEPS TO REPRODUCE 1. Build Amarok after a151941ed2c9199d6d16ef91f0ecef61c4b03cca on Kubuntu 22.04 2. 3. OBSERVED RESULT /<<PKGBUILDDIR>>/src/playlist/ProgressiveSearchWidget.cpp:25:10: fatal error: KStatefulBrush: No such file or directory 25 | #include <KStatefulBrush> | ^~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [src/CMakeFiles/amaroklib.dir/build.make:1067: src/CMakeFiles/amaroklib.dir/playlist/ProgressiveSearchWidget.cpp.o] Error 1 See: https://launchpadlibrarian.net/739316606/buildlog_ubuntu-jammy-amd64.amarok_2%3A3.0.1+git202407132210-0+yasi1~21~ubuntu22.04.1_BUILDING.txt.gz EXPECTED RESULT Compile succeeds. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 22.04 (available in About System) KDE Plasma Version: 5.24.7 KDE Frameworks Version: 5.92 Qt Version: 5.15.3 ADDITIONAL INFORMATION