Skip to content
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-next] uhd: fix for boost187 #372087

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

paparodeo
Copy link
Contributor

@paparodeo paparodeo commented Jan 8, 2025

fixes: https://hydra.nixos.org/build/284398575

EttusResearch/uhd@adfe953

the last two hunks of client.cc will fail due to changes in from this commit EttusResearch/uhd@2dc7b3e#diff-50231ca4dc15fab04d2c68cf5176f914c9f22c9e9e4a707e65daa93cb92a42c9 so use a substitute to revert the change out of the diff.

pinning to boost_186 seems like a viable alternative given the size of the diff.

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.

Comment on lines +191 to +192
# The last two hunks in client.cc will fail without these substitutions
substitutions = [
Copy link
Contributor

Choose a reason for hiding this comment

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

This shouldn't be a blocker, but next time I'd simply write my own backport patch.

Copy link
Contributor

@bjornfor bjornfor left a comment

Choose a reason for hiding this comment

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

LGTM & builds.

(Nit: "uhd: fix boost187" sounds a bit odd to me; I'd say something like "uhd: fix build against boost187" or just "uhd: fix build".)

@wegank wegank added 12.approvals: 2 This PR was reviewed and approved by two reputable people 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package labels Jan 8, 2025
@paparodeo paparodeo changed the title [staging-next] uhd: fix boost187 [staging-next] uhd: fix for boost187 Jan 10, 2025
@wegank wegank removed the 12.approvals: 2 This PR was reviewed and approved by two reputable people label Jan 10, 2025
@bjornfor bjornfor merged commit eede781 into NixOS:staging-next Jan 10, 2025
30 of 34 checks passed
@paparodeo paparodeo deleted the uhd-boost-fix branch January 10, 2025 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants