| Summary: | Kstars 3.8.0 fails to build | ||
|---|---|---|---|
| Product: | [Applications] kstars | Reporter: | Steve Cossette <farchord> |
| Component: | general | Assignee: | Jasem Mutlaq <mutlaqja> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.8.0 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/education/kstars/-/commit/771aacd68d93588d29701600248db05c5224df5f | Version Fixed/Implemented In: | 3.8.1 |
| Sentry Crash Report: | |||
| Attachments: | Build Log | ||
|
Description
Steve Cossette
2025-12-03 00:39:05 UTC
Created attachment 187317 [details]
Build Log
I see this:
/builddir/build/BUILD/kstars-3.8.0-build/kstars-3.8.0/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process.cpp: In member function ‘void GP::infer()’:
/builddir/build/BUILD/kstars-3.8.0-build/kstars-3.8.0/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process.cpp:202:5: error: ‘assert’ was not declared in this scope
202 | assert(data_loc_.rows() > 0 && "Error: the GP is not yet initialized!");
| ^~~~~~
/builddir/build/BUILD/kstars-3.8.0-build/kstars-3.8.0/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process.cpp:24:1: note: ‘assert’ is defined in header ‘<cassert>’; this is probably fixable by adding ‘#include <cassert>’
Can you check if adding #include <cassert> in that file fixes the build? It's building fine on Debian/Ubuntu and Arch so this is a Fedora specific issue.
Yep, looks like that indeed made it work! Oh FYI, this might be related to GCC15. Git commit 3d10e7bd5ca7d6d5625c8d2bae87496defc0608c by Jasem Mutlaq. Committed on 04/12/2025 at 04:14. Pushed by mutlaqja into branch 'master'. Fix build issue on GCC 15. FIXED-IN:3.8.1 M +1 -0 kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process.cpp https://invent.kde.org/education/kstars/-/commit/3d10e7bd5ca7d6d5625c8d2bae87496defc0608c Git commit 771aacd68d93588d29701600248db05c5224df5f by Jasem Mutlaq. Committed on 10/12/2025 at 04:18. Pushed by mutlaqja into branch 'stable-3.8.0'. Fix build issue on GCC 15. FIXED-IN:3.8.1 M +1 -0 kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process.cpp https://invent.kde.org/education/kstars/-/commit/771aacd68d93588d29701600248db05c5224df5f |