Getting the following error when trying to build with makepkg -si
==> Starting build()...
Submodule 'external/libcotp' (https://github.com/paolostivanin/libcotp.git) registered for path 'external/libcotp'
Submodule 'external/libphysis' (https://git.sr.ht/~redstrate/libphysis) registered for path 'external/libphysis'
Cloning into '/home/ridge/tmp/astrtmp/astra-launcher-git/src/astra-git/external/libcotp'...
done.
Cloning into '/home/ridge/tmp/astrtmp/astra-launcher-git/src/astra-git/external/libphysis'...
done.
fatal: git upload-pack: not our ref 60461cd28c297eed476ff93d9b1123c3855c7053
fatal: remote error: upload-pack: not our ref 60461cd28c297eed476ff93d9b1123c3855c7053
fatal: Fetched in submodule path 'external/libcotp', but it did not contain 60461cd28c297eed476ff93d9b1123c3855c7053. Direct fetching of that commit failed.
==> ERROR: A failure occurred in build().
Aborting...
Editing .SRCINFO and PKGBUILD to point to paolostivanin's repo directly fixes it, but I'm assuming that's not what you want this makepkg script to do by default, is it?
Pinned Comments
redstrate commented on 2023-09-29 20:36 (UTC)
Please note that I switched to Qt6/KF6 on git now, so you must have the git versions of those dependencies (such as kconfig, kirigami, etc) or else it will fail to build. An alternative is to build it from source and skip this package for now until KF6 becomes readily available on Arch, see the instructions here: https://git.sr.ht/~redstrate/astra/tree/main/BUILDING.md