[staging] boost: default to boost 1.77 and refactor#138309
Merged
peti merged 3 commits intoNixOS:stagingfrom Nov 27, 2021
Merged
[staging] boost: default to boost 1.77 and refactor#138309peti merged 3 commits intoNixOS:stagingfrom
peti merged 3 commits intoNixOS:stagingfrom
Conversation
Member
Author
|
Do to the addition of patches in boost-build, boost 1.77 currently fails in the patch phase. Solving that without breaking old versions of boost on darwin is needed. |
Member
Author
|
Replacing the darwin-specific patch with an equivelent substituteInPlace allows it to work across versions (including 1.77). Still probably a ton of broken packages that wont build without passing boost = boost16x but the PR is ready for review. |
Contributor
|
uhd fails but is fixed by bumping to latest 4.1.0.3. I've tried a handful of packages and that's the failure I found so far |
Closed
Contributor
|
What's blocking this issue now? Is it just |
12 tasks
veprbl
pushed a commit
that referenced
this pull request
Dec 20, 2021
PR #138309 switched the default to 177 and that broke the build.
veprbl
pushed a commit
that referenced
this pull request
Dec 20, 2021
PR #138309 switched the default to 177 and that broke the build.
veprbl
pushed a commit
that referenced
this pull request
Dec 20, 2021
PR #138309 switched the default to 177 and that broke the build.
Contributor
|
|
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Most packages that depend on the boost libraries in nixpkgs are pointing at the unversioned "boost" package. Unversioned boost is currently 1.69.0, which was released in 2018. The default should be the newest boost library available (1.77). I expect build-time breakages, but it should be fairly straightforward to pin broken packages to an older boost revision once they are identified.
The level of divergence (particularly the addition of boost-build) since I submitted #120259, and the fact that I wanted to combine the addition of boost 1.77 into the same PR made it easier to start the request from scratch.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)