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

Can't update rust pkg #13442

Closed
jagajaga opened this issue Feb 25, 2016 · 7 comments
Closed

Can't update rust pkg #13442

jagajaga opened this issue Feb 25, 2016 · 7 comments

Comments

@jagajaga
Copy link
Member

Trying to update rustfmt. Updated sha and rev, trying to install and getting:

jaga $ nix-env -i rustfmt-git -f $NIXPKGS_ALL
installing ‘rustfmt-git-2016-02-15’
these derivations will be built:
  /nix/store/3j740pmj8nrn3xq78gjs2jzyszj0kcad-rustfmt-git-2016-02-15-fetch.drv
  /nix/store/cln12rywykw5d20z42kkymma5q3zbfvi-rustfmt-git-2016-02-15.drv
building path(s) ‘/nix/store/b5piklx0f3i6vnxm5h4qy2d3wndjw97x-rustfmt-git-2016-02-15-fetch’
unpacking sources
unpacking source archive /nix/store/jgfdzlznx1kvccxb00znf881i442rgrc-rustfmt-65bc5c242de86f0651b34fd913ca338a880696e8-src
source root is rustfmt-65bc5c242de86f0651b34fd913ca338a880696e8-src
installing
Fetching /tmp/nix-build-rustfmt-git-2016-02-15-fetch.drv-0/rustfmt-65bc5c242de86f0651b34fd913ca338a880696e8-src to /nix/store/b5piklx0f3i6vnxm5h4qy2d3wndjw97x-rustfmt-git-2016-02-15-fetch
Using rust registry from /nix/store/1habkfr79gsa8pgwb2qrs57nsdy14z6n-rustRegistry-2016-02-25-a43392d
    Updating registry `file:///nix/store/1habkfr79gsa8pgwb2qrs57nsdy14z6n-rustRegistry-2016-02-25-a43392d`
 Downloading rustc-serialize v0.3.16 (registry file:///nix/store/1habkfr79gsa8pgwb2qrs57nsdy14z6n-rustRegistry-2016-02-25-a43392d)
unable to get packages from source

Caused by:
  failed to download package `rustc-serialize v0.3.16 (registry file:///nix/store/1habkfr79gsa8pgwb2qrs57nsdy14z6n-rustRegistry-2016-02-25-a43392d)` from https://crates.io/api/v1/crates/rustc-serialize/0.3.16/download

Caused by:
  Problem with the SSL CA cert (path? access rights?)
/nix/store/zn676by0m8f7z4js1cq4appx2j87gyqc-stdenv/setup: line 124: showBuildStats: unbound variable
builder for ‘/nix/store/3j740pmj8nrn3xq78gjs2jzyszj0kcad-rustfmt-git-2016-02-15-fetch.drv’ failed with exit code 101
cannot build derivation ‘/nix/store/cln12rywykw5d20z42kkymma5q3zbfvi-rustfmt-git-2016-02-15.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/cln12rywykw5d20z42kkymma5q3zbfvi-rustfmt-git-2016-02-15.drv’ failed

cc @wizeman @globin @madjar

@jagajaga
Copy link
Member Author

Everytime I restart installation I'm getting different pkg here:

Caused by:
  failed to download package `log v0.3.4 (registry file:///nix/store/1habkfr79gsa8pgwb2qrs57nsdy14z6n-rustRegistry-2016-02-25-a43392d)` from https://crates.io/api/v1/crates/log/0.3.4/download

@jagajaga
Copy link
Member Author

rustfmt update here jagajaga@1479d19

@jagajaga
Copy link
Member Author

If I make deepSha256 = ""
I'm getting error

Caused by:
  Couldn't resolve host name

instead of

Caused by:
  Problem with the SSL CA cert (path? access rights?)

@jagajaga
Copy link
Member Author

Possible 917ca89 is the problem.. @edolstra?

@abbradar
Copy link
Member

Fixed in 26c2f71 (workaround, see #13445 for a more proper solution).

@abbradar
Copy link
Member

Ouch, sorry -- meant 34023d8. 4f74a4a is also needed.

@jagajaga
Copy link
Member Author

👍

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

2 participants