Skip to content

ceph: Fix race in parallel build - #328847

Merged
nh2 merged 1 commit into
NixOS:masterfrom
tobim:pkgs/ceph-fix-parallel-build
Aug 8, 2024
Merged

nh2 merged 1 commit into
NixOS:masterfrom
tobim:pkgs/ceph-fix-parallel-build

Conversation

@tobim

@tobim tobim commented Jul 21, 2024 •

Copy link
Copy Markdown
Contributor

Description of changes

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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.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.

@ofborg
ofborg Bot requested review from adevress, johanot and krav July 21, 2024 07:41
@ofborg ofborg Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jul 21, 2024
@bjornfor

Copy link
Copy Markdown
Contributor

Did you create an upstream issue? If so, please link it.

@tobim

tobim commented Jul 21, 2024

Copy link
Copy Markdown
Contributor Author

I tried to, but "Your account was created and is now pending administrator approval".

@tobim
tobim force-pushed the pkgs/ceph-fix-parallel-build branch from 0a93f9a to 9d7ef84 Compare July 23, 2024 06:40

@nh2 nh2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit message should be in the comment instead.

Otherwise one cannot easily see what he trade-off of this patch is, and needs to do history archeology for it.

@nh2 nh2 mentioned this pull request Jul 26, 2024
3 of 13 tasks
@tobim
tobim force-pushed the pkgs/ceph-fix-parallel-build branch from 9d7ef84 to 63faf31 Compare July 27, 2024 05:14
@tobim

tobim commented Jul 27, 2024

Copy link
Copy Markdown
Contributor Author

I added a new more packager friendly comment in the code, and replaced the patch with a preBuild step that achieves the same result. The analysis in the original commit message is removed because it belongs in the upstream bug discussion.

@ofborg ofborg Bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. and removed 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jul 27, 2024
@tobim

tobim commented Aug 5, 2024

Copy link
Copy Markdown
Contributor Author

@nh2 can you take another look?

@nh2
nh2 merged commit 7012353 into NixOS:master Aug 8, 2024
@tobim
tobim deleted the pkgs/ceph-fix-parallel-build branch August 8, 2024 03:59
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-darwin: 1 This PR causes 1 package 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.

3 participants