Skip to content

mpfi: fix gcc-14 build - #369907

Merged
collares merged 1 commit into
NixOS:masterfrom
paparodeo:mpfi-gcc-14-fixes
Jan 1, 2025
Merged

collares merged 1 commit into
NixOS:masterfrom
paparodeo:mpfi-gcc-14-fixes

Conversation

@paparodeo

Copy link
Copy Markdown
Contributor

https://gitlab.inria.fr/mpfi/mpfi/-/commit/a02e3f9cc10767cc4284a2ef6554f6df85e41982

https://hydra.nixos.org/build/282573684

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Jan 1, 2025
@collares

collares commented Jan 1, 2025

Copy link
Copy Markdown
Member

I think this is the best solution, but for future completeness here is some extra information: The mpfi 1.5.4 tarball was updated on 2022-04-02, and it includes this compilation fix as well as a few other things. The closest commit to the tarball is 44b3c2313ec79376a197c38d307a01458cd436f1 from 2022-04-01, which was the last code change before 2024. Alternative solutions are to either build from the new tarball or from the closest commit. Importing the patch seems the safest choice.

Thanks for your contribution!

@collares
collares merged commit 4f55d09 into NixOS:master Jan 1, 2025
@paparodeo
paparodeo deleted the mpfi-gcc-14-fixes branch January 1, 2025 14:07
@Sigmanificient Sigmanificient mentioned this pull request Mar 8, 2025
27 of 28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants