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
[staging] cdparanoia: cleanup, fix build on powerpc #106413
Conversation
Does it build on powerpc like this?
should this also be nonx86 then? |
Huh, I didn't notice that bit, and it is indeed not needed on powerpc, as the derivation builds for me as is. Interestingly, I'm able to remove the autoreconfHook on aarch64 and it still builds there as well. I think updating the configure.{sub,guess} scripts is sufficient, because they are only needed at configure time. |
Cook, thanks for checking! Let's remove it then. |
Ok, done! And just to be sure, I also checked x86 -> aarch64, x86 -> powerpc, and powerpc -> x86 cross. |
The configure helpers are old and already need to be updated on aarch64, so let's just do this on all non-x86 platforms. This will probably fix other architectures that weren't well-supported at the time. The autoreconfHook does not appear to be needed on aarch64 or powerpc.
|
Amazing, thanks!
Hmm, I don't quite understand. Why does it cause a mass rebuild now, but not before? |
Haha I was super confused for a minute but now I see what the issue was. See the semicolon at the end of this line? I kind of want to get rid of this weird trick and just put the |
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.
Ohhh, I see what's happening here. cdparanoia is a transitive dependency of all of those packages.
Before your change the nix expression would evaluate to the same derivation but now it doesn't anymore.
Yeah that semicolon is definitely not obvious, I think it's good to change that.
@JohnAZoidberg I see you are a committer, do you think this is ready for merge? Or shall I solicit for further review? |
Can confirm that this fixes the build on riscv64 as well. Let's get this merged. |
The configure helpers are old and already need to be updated on aarch64,
so let's just do this on all non-x86 platforms. This will probably fix
other architectures that weren't well-supported at the time.
Motivation for this change
Fixes build on ppc64le (and possibly others)
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)