Bug 2046993 - rust-zincati: FTBFS in Fedora rawhide/f36
Summary: rust-zincati: FTBFS in Fedora rawhide/f36
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-zincati
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rust SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ARM F36FTBFS F37FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-01-27 09:49 UTC by Fedora Release Engineering
Modified: 2022-04-21 15:12 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-04-21 15:12:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-01-27 09:49 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-01-27 09:49 UTC, Fedora Release Engineering
no flags Details
state.log (1002 bytes, text/plain)
2022-01-27 09:49 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2022-01-27 09:49:29 UTC
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/

Comment 1 Fedora Release Engineering 2022-01-27 09:49:32 UTC
Created attachment 1856588 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-01-27 09:49:34 UTC
Created attachment 1856589 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-01-27 09:49:35 UTC
Created attachment 1856590 [details]
state.log

Comment 4 Luca BRUNO 2022-01-27 11:32:48 UTC
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`
```

Comment 5 Luca BRUNO 2022-01-27 13:27:51 UTC
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.

Comment 6 Fabio Valentini 2022-01-27 13:48:50 UTC
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.

Comment 7 Luca BRUNO 2022-01-27 15:24:04 UTC
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.

Comment 8 Ben Cotton 2022-02-08 20:28:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 9 Tomáš Hrnčiar 2022-04-21 15:12:01 UTC
The following builds were made after this report was opened: rust-zincati-0.0.24-4.fc37


Note You need to log in before you can comment on or make changes to this bug.