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

Bash patch 42 sha checksum is wrong #11793

Closed
TLATER opened this issue Dec 17, 2015 · 8 comments
Closed

Bash patch 42 sha checksum is wrong #11793

TLATER opened this issue Dec 17, 2015 · 8 comments

Comments

@TLATER
Copy link
Contributor

TLATER commented Dec 17, 2015

Very new user here, so excuse me if I am just misinformed.

In /pkgs/shells/bash

(patch "042" "06a90k0p6bqc4wk2dsmapna69124an76xvlnlj3xm497vci968dc")

fixes a recurring sha error when trying to install bash 43.

@edolstra
Copy link
Member

On what Nixpkgs version? On the current master and release-15.09, this should not happen, because the patch will be fetched from tarballs.nixos.org:

$ nix-build -A bash.patches.41 --check
checking path(s) ‘/nix/store/pdwz581jbf27cm2lvmngrhnrbyd5bv7a-bash43-042’

trying http://tarballs.nixos.org/sha256/1bwhssay66n75fy0pxcrwbm032s6fvfg7dblzbrzzn5k38a56nmp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed                                                                                                                 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0                                                                                                                
100  1535  100  1535    0     0   7344      0 --:--:-- --:--:-- --:--:--  562k                                                                                                                
/nix/store/pdwz581jbf27cm2lvmngrhnrbyd5bv7a-bash43-042                                                                                                                                        

@spwhitt
Copy link
Contributor

spwhitt commented Dec 17, 2015

I'm seeing this problem on Darwin master, nixos-unstable, etc. Also, your checking command gives me this:

nix-build -A bash.patches.41 --check
these derivations will be built:
  /nix/store/q87s5jf63rqs1a3vcz8g5zq043ngimxr-bash43-042.drv
error: some outputs of ‘/nix/store/q87s5jf63rqs1a3vcz8g5zq043ngimxr-bash43-042.drv’ are not valid, so checking is not possible

@edolstra
Copy link
Member

What if you remove the --check flag?

@spwhitt
Copy link
Contributor

spwhitt commented Dec 17, 2015

It suddenly started working for me. If you did something, thank you!

@vcunat
Copy link
Member

vcunat commented Dec 17, 2015

Context: there've been many related reports, all stemming from upstream updating this patch in-place.

@TLATER
Copy link
Contributor Author

TLATER commented Dec 17, 2015

I am on the nixpkgs-unstable channel, I assume that's on the master branch:

$ nix-channel --list
nixpkgs http://nixos.org/channels/nixpkgs-unstable

I am currently running this from a manually compiled nix (1.10) for bootstrapping and not from nix OS, that's probably worth mentioning.

@peti
Copy link
Member

peti commented Dec 18, 2015

Fixed by #11456.

@peti peti closed this as completed Dec 18, 2015
@peti
Copy link
Member

peti commented Dec 18, 2015

@TLATER, the unstable channel lags behind master, sometimes by several days or weeks, even.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants