7320acf0 causes a build failure
git bisect
says that 7320acf0 is the commit that causes a reproducible build failure for me in Fedora 36:
/home/nate/kde/src/kstars/Tests/kstars_ui/test_ekos_scheduler_ops.cpp: In member function ‘void TestEkosSchedulerOps::testSettingAltitudeBug()’:
/home/nate/kde/src/kstars/Tests/kstars_ui/test_ekos_scheduler_ops.cpp:1497:48: error: binding reference of type ‘QList<SchedulerJob*>&’ to ‘const QList<SchedulerJob*>’ discards qualifiers
1497 | QVERIFY(greedy->checkJob(scheduler->getJobs(), time1Local, job2359));
| ~~~~~~~~~~~~~~~~~~^~
In file included from /home/nate/kde/src/kstars/Tests/kstars_ui/test_ekos_scheduler_ops.cpp:16:
/home/nate/kde/src/kstars/kstars/ekos/scheduler/greedyscheduler.h:71:46: note: initializing argument 1 of ‘bool Ekos::GreedyScheduler::checkJob(QList<SchedulerJob*>&, const QDateTime&, SchedulerJob*)’
71 | bool checkJob(QList<SchedulerJob *> &jobs,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
gmake[2]: *** [Tests/kstars_ui/CMakeFiles/test_ekos_scheduler_ops.dir/build.make:422: Tests/kstars_ui/CMakeFiles/test_ekos_scheduler_ops.dir/test_ekos_scheduler_ops.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:2826: Tests/kstars_ui/CMakeFiles/test_ekos_scheduler_ops.dir/all] Error 2