PupNet Deploy is a cross-platform deployment utility which packages your .NET project as a ready-to-ship installation file in a single step.
GNU Affero General Public License v3.0
193
stars
6
forks
source link
Can't build RPM for Arm64 on x64 development platform #3
Closed
kuiperzone closed 1 year ago
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
orsetarch aarch64
on my x64 system either.