-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd: add -Wno-error=format-overflow if isPower #282607
Conversation
Required in order to get the NixOS installer to build again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also required on riscv, this deserves an upstream fix.
I'm happy shipping a arch-specific override, but it should have a comment alongside pointing to the upstream PR, so we know why it's there and when we can drop it. Is there any way to reproduce this without a riscv or power computer? |
|
To be precise, here's relevant logs for RISC-V:
|
It's very odd that these Is this a sign of a bigger problem? Can anyone try to execute some of the binaries produced (on riscv or power architectures), to make sure they're not just plain broken? |
I'm booting the resulting systemd on a riscv board and it works fine. Could be just not hitting that code path. |
I also find this so odd that I'm not very happy merging this until it's understood why this is happening. |
I think this is the corresponding upstream bug report systemd/systemd#30448 |
Description of changes
Required in order to get the NixOS installer to build again.
CC: @hlandau
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.