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

hash mismatch jaxlib (built with bazel and cuda support) #346686

Closed
SpidFightFR opened this issue Oct 5, 2024 · 2 comments
Closed

hash mismatch jaxlib (built with bazel and cuda support) #346686

SpidFightFR opened this issue Oct 5, 2024 · 2 comments
Labels
0.kind: build failure A package fails to build 2.status: duplicate This is a duplicate of another issue or PR

Comments

@SpidFightFR
Copy link

SpidFightFR commented Oct 5, 2024

{ x86_64-linux = "sha256-VGNMf5/DgXbgsu1w5J1Pmrukw+7UO31BNU+crKVsX5k="; }

I get the following error (with cuda enabled):

error: hash mismatch in fixed-output derivation '/nix/store/wf16dhdpavb09vqssd0lvx622wy7n616-bazel-build-jaxlib-0.4.28-deps.tar.gz.drv':
         specified: sha256-VGNMf5/DgXbgsu1w5J1Pmrukw+7UO31BNU+crKVsX5k=
            got:    sha256-IjsUIfCLcZiAdwNAmM1ul0dxT6XAHpQCDNFnjIPp1gc=
@SpidFightFR SpidFightFR added the 0.kind: bug Something is broken label Oct 5, 2024
@nixupp
Copy link
Contributor

nixupp commented Oct 7, 2024

I get the same error so I'll file a

Proper bug report

Describe the bug

Package python311Packages.jaxlib (bazel-build-jaxlib) have a mismatched hash if cudaSupport = true

error: hash mismatch in fixed-output derivation '/nix/store/wf16dhdpavb09vqssd0lvx622wy7n616-bazel-build-jaxlib-0.4.28-deps.tar.gz.drv':
         specified: sha256-VGNMf5/DgXbgsu1w5J1Pmrukw+7UO31BNU+crKVsX5k=
            got:    sha256-IjsUIfCLcZiAdwNAmM1ul0dxT6XAHpQCDNFnjIPp1gc=

Steps To Reproduce

Steps to reproduce the behavior:

  1. Set cudaSupport = true
  2. Add python311Packages.jaxlib to system environment packages
  3. nixos-rebuild test
  4. Get the mismatch

Expected behavior

Hash matches

Notify maintainers

@ndl Could you please fix this?

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.54, NixOS, 24.05 (Uakari), 24.05.5532.90fe4c010368`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - channels(root): `"nixos-24.05-small"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Also, should this go under 6.topic: reproducible builds?


Add a 👍 reaction to issues you find important.

nixupp added a commit to nixupp/nixpkgs that referenced this issue Oct 15, 2024
@tomodachi94 tomodachi94 added 0.kind: build failure A package fails to build and removed 0.kind: bug Something is broken labels Oct 28, 2024
@tomodachi94
Copy link
Member

Appears to be a duplicate of #321920

@tomodachi94 tomodachi94 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2024
@tomodachi94 tomodachi94 added the 2.status: duplicate This is a duplicate of another issue or PR label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build 2.status: duplicate This is a duplicate of another issue or PR
Projects
None yet
Development

No branches or pull requests

3 participants