kuiperzone/PupNet-Deploy

Can't build RPM for Arm64 on x64 development platform

kuiperzone opened this issue · 1 comments

I'm running Fedora 37 on x64. Cannot build RPM for Arm64

rpmbuild -bb "/tmp/KuiperZone.PupNet/zone.kuiper.pupnet-linux-arm64-Release-Rpm/zone.kuiper.pupnet.spec" --define "_topdir /tmp/KuiperZone.PupNet/zone.kuiper.pupnet-linux-arm64-Release-Rpm/rpmbuild" --buildroot="/tmp/KuiperZone.PupNet/zone.kuiper.pupnet-linux-arm64-Release-Rpm/AppDir" --define "_rpmdir /mnt/DEVEL-1T/DOTNET/GITHUB/PupNet-Deploy/Deploy/OUT/RPMS" --define "_build_id_links none" --verbose error: No compatible architectures found for build

Here are some of things I've tried in the development of PupNet in connection with this issue:

https://stackoverflow.com/questions/64563386/how-do-i-package-up-go-code-as-an-arm-rpm

https://cmake.cmake.narkive.com/uDOFCNJ3/rpmbuild-architecture

This includes called setarch and passing --target.

I cannot call setarch arm64 or setarch aarch64 on my x64 system either.

RPM on Am64? Possibly not a common deployment at all.