rust-zincati failed to build from source in Fedora rawhide/f36 https://koji.fedoraproject.org/koji/taskinfo?taskID=81986424 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Please fix rust-zincati at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, rust-zincati will be orphaned. Before branching of Fedora 37, rust-zincati will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 1856588 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1856589 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1856590 [details] state.log
From the build log on 'armv7hl' (buildvm-a32-29.iad2.fedoraproject.org): ``` Compiling zincati v0.0.24 (/builddir/build/BUILD/zincati-0.0.24) Running `/usr/bin/rustc --crate-name zincati --edition=2018 src/main.rs [...]` LLVM ERROR: out of memory Allocation failed error: could not compile `zincati` ```
Tried another build, it landed on a different build-machine, but it exhausted memory there too. This service takes care of CoreOS auto-updates, so by design it really runs on 64bits only. I think we can safely stop building on 'armv7hl' and 'i686', which also helps saving some build resources.
Since zincati is a leaf package, dropping i686 and armv7hl should be fine. Or, alternatively, you could try reducing verbosity of debuginfo, like here: https://src.fedoraproject.org/rpms/rust-cargo-c/c/a48dec6730485b8135db627b1e41b515bc6e5cba?branch=rawhide That solved this problem for all Rust packages I saw that had OOM problems on 32-bit platforms.
Yes we also had some brainstorming on IRC about the possible paths to get this back to building, but eventually decided it does not make much sense. I'll take care of assembling a -3 with a smaller arch set. Thanks for the feedback and the link, though. I'll keep that in mind if it may be needed on another package.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
The following builds were made after this report was opened: rust-zincati-0.0.24-4.fc37