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

bitcoin: fix boost dependency #33635

Merged
merged 1 commit into from Jan 12, 2018
Merged

bitcoin: fix boost dependency #33635

merged 1 commit into from Jan 12, 2018

Conversation

roconnor
Copy link
Contributor

@roconnor roconnor commented Jan 9, 2018

Bitcoin 0.15.1 doesn't build with boost 1.66.
I'm hesitant to apply untested patches to software like Bitcoin.
Instead I'm forcing the boost dependency to version 1.64 (which is the version listed @
https://github.com/bitcoin/bitcoin/blob/45173fa6fca9537abb0a0554f731d14b9f89c456/doc/dependencies.md).

Nothing in applications/altcoins/default.nix was using the boost162 parameter, so I've replaced it with the boost164 parameter.

Motivation for this change
Things done

I've run test_bitcoin and test_bitcoin-qt, but that is the extent of testing the executables that I've done for this change.

  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Bitcoin 0.15.1 doesn't build with boost 1.66.
I'm hesitant to apply untested patches to software like Bitcoin.
Instead I'm forcing the boost dependency to version 1.64 (which is the version listed @
https://github.com/bitcoin/bitcoin/blob/45173fa6fca9537abb0a0554f731d14b9f89c456/doc/dependencies.md).

Nothing in applications/altcoins/default.nix was using the boost162 parameter, so I've replaced it with the boost164 parameter.
Copy link
Contributor

@jb55 jb55 left a comment

Choose a reason for hiding this comment

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

utACK 604d89f

@fpletz fpletz removed their assignment Jan 11, 2018
Copy link
Member

@fpletz fpletz left a comment

Choose a reason for hiding this comment

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

LGTM but why assign this to me? I've never touched bitcoin.

@roconnor
Copy link
Contributor Author

Sorry fpletz. I picked you because you merged 33b7ff9 which was the Bitcoin 0.15.1 update.

I'll try to find someone else.

@fpletz
Copy link
Member

fpletz commented Jan 12, 2018

Oh, okay. I thought I should do a more thorough review of this change. Seems fine to merge. Are you not able to merge yourself? You're a member of the org after all. :)

@vbgl vbgl merged commit 6887a0f into NixOS:master Jan 12, 2018
@roconnor roconnor deleted the bitcoin branch February 28, 2018 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants