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

libmemcached: update sha256 hash #21678

Merged
merged 1 commit into from Jan 5, 2017
Merged

Conversation

NejcZupec
Copy link
Contributor

Motivation for this change

libmemcached was not building on darwin, because the sha256 hash was wrong. When I was trying to build, I got the following error:

these derivations will be built:
  /nix/store/dpvlhr4c277035bqp45y84hjh3zwfhmh-libmemcached.rb.drv
  /nix/store/ag0250cphl1spa41v23cnb4h7rrifrxp-libmemcached-1.0.18.drv
  /nix/store/6bxlkjxnkcnxrs0myhddsvncc1fhww26-zengrc-dev.drv
  /nix/store/fvg04q666rr4fibkvagb9db92flx8br8-pylibmc-libs.drv
building path(s) '/nix/store/851i9vscxj478yl6vv93hv8r6k3pyk5c-libmemcached.rb'

trying https://raw.githubusercontent.com/Homebrew/homebrew/bfd4a0a4626b61c2511fdf573bcbbc6bbe86340e/Library/Formula/libmemcached.rb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      100  6907  100  6907    0     0  37987      0 --:--:-- --:--:-- --:--:-- 52725
output path '/nix/store/851i9vscxj478yl6vv93hv8r6k3pyk5c-libmemcached.rb' has sha256 hash '1gjf3vd7hiyzxjvlg2zfc3y2j0lyr6nhbws4xb5dmin3csyp8qb8' when '1nvxwdkxj2a2g39z0g8byxjwnw4pa5xlvsmdk081q63vmfywh7zb' was expected
cannot build derivation '/nix/store/ag0250cphl1spa41v23cnb4h7rrifrxp-libmemcached-1.0.18.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ag0250cphl1spa41v23cnb4h7rrifrxp-libmemcached-1.0.18.drv' failed

This is one of the failing packages listed in #18067.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • 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.

@mention-bot
Copy link

@NejcZupec, thanks for your PR! By analyzing the history of the files in this pull request, we identified @maxxk, @rbvermaa and @bjornfor to be potential reviewers.

@LnL7 LnL7 added the 6.topic: darwin Running or building packages on Darwin label Jan 5, 2017
@domenkozar domenkozar merged commit fd5a3d6 into NixOS:master Jan 5, 2017
@LnL7
Copy link
Member

LnL7 commented Jan 5, 2017

I would like to understand why it changed, the url points to a commit as far as I can see.

@domenkozar
Copy link
Member

That's why I never recommend using fetchpatch or similar. Github can change syntax, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin 12. first-time contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants