poudriere -rust fails to build with qemu-user-static

This bug seems to be around for a long time:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263798
Building the arm64 packages on amd64 running Poudriere. It works well, except for rust.
Does anyone have a clever workaround for the rust problem of Poudriere building arm64 packages?
The package building for arm64 hit a stopping point with this failure to build rust. I can get a little farther with Poudriere
using the -b latest option to pick up packages from the FreeBSD arm64 repository.
 
Rust doesn't build with qemu-user-static, there's nothing you can do about it, and I don't understand how it's related to the PR you link :-/.

Anyways, in the past, I made sure to find the exact commit hash from which the latest arm64 repository was built on https://pkg-status.freebsd.org/ and checked out exactly that commit locally. Then, poudriere-devel would just fetch the rust package instead of building it with -b. Unfortunately, this also requires commenting out the IGNORE line in the port checking for qemu.

This is cumbersome of course. Meanwhile, I moved to building arm64 packages on actual ARM hardware, using a free Oracle VM. I wrote a guide about this here: https://sekrit.de/webdocs/freebsd/oracle-aarch64-testbuilder.html ... instructions are for 14.0-CURRENT, so need to be modified a bit now for 15.0-CURRENT.
 
Back
Top