There is used option "-march=native" which can cause that binaries are not interchangeable on different processors. So if the OS itself run and just compiled KStars does not then delete that string from beginning of script delete all build-* directories so it get rebuild and it should work across RPi4 and 5.
Please run "git tag" in phd2 directory and check if it contain that v2.6.12 line. If not try to run "git fetch --unshallow"
That server is dead. It was migrated to gitlab blogs.kde.org/2024/01/30/farewell-binary...apps-kdes-gitlab-now
I saw this issue previosly. uname -a does return aarch64 on raspberry OS but it is in fact 32bit system. If there is no /usr/lib/aarch64-linux-gnu then you don't run 64bit system.
Yes this is known issue. Triple check that you have indeed 64 bit system. Because /usr/lib/arm-linux-gnueabihf path indicate that you are running 32 bit system.
Nothing. I suspected that maybe update to libASICamera2.so made this. But when I replaced it with 1.25 and 1.21 and it still bug out. Also when I connected camera to USB2.0 port it was working fine when plug back to USB3 it usually manage to do few exposures and then start failing. First instance was 1-2 months ago when my ASI1600 sometimes started to fail exposure. Usually it was working fine until switched from long 300s exposures to short 1s because refocusing or realign. These short ones then failed.
Then like two weeks ago my 485MC started to failing to get exposure sometime. Now it is failing all the time. But this gave me opportunity to debug this issue because I suspect that it is probably some timing race condition or something.
I created pull request. github.com/indilib/indi-3rdparty/pull/898
Recently I started to getting errors "[ERROR] Exposure failed after 3 attempts. " With my ASI485MC and ASI1600MM.
I wrote simple code trying to debug this issue. And found out that if you don't call ASIGetExpStatus pretty much in busy loop exposure will fail. It seems like if you miss moment that exposure is done you are screwed. If you have 5 second exposure you can wait 4.9s but then you must jump to busy loop.
status = ASI_EXP_WORKING;
while(status == ASI_EXP_WORKING)
error = ASIGetExpStatus(CamNum, &status);
usleep(1000);// anything above 1ms seems to fail.
I am also on Ubuntu 22.04. Try compile 2.6.12 that should work with older cmake.
Ok PHD2 portion was disabled for so long that it broke down. I added option that if you pass phd2 as argument into script it will build it. It will build older version 2.6.12 as newer require cmake 3.24 which is AFAIK not available on raspberry os.
Actually in my scripts there is also PHD2 at the end. Just delete that "exit" line before that section and you will get PHD2 compiled.