systemd: add -Wno-error=format-overflow if isPower#282607
Conversation
Required in order to get the NixOS installer to build again.
NickCao
left a comment
There was a problem hiding this comment.
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 = relaxedsandbox = truenix-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.