Coder Social home page Coder Social logo

Comments (4)

renjithravindrankannath avatar renjithravindrankannath commented on September 26, 2024

Created PR 44453 to address this issue.

from spack.

srekolam avatar srekolam commented on September 26, 2024

44453 is is merged now .Closing this issue

from spack.

mariodirenzo avatar mariodirenzo commented on September 26, 2024

Hello,
I was experiencing the same error while installing HIP.
After updating spack to the latest version of develop, I got into this new error

Error: ChecksumError: sha256 checksum failed for /tmp/mariodr/spack-stage/resource-hipother-vgji3m3ukquzltlu3zqx4e5ltf7oojwn/rocm-6.1.2.tar.gz
    Expected 8b975623c8ed1db53feea2cfd5d29f2a615e890aee1157d0d17adeb97200643f but got 2740d1e3dcf1f2d07d2a8db6acf4c972941ae392172b83fd8ddcfe8706a40d0b. File size = 33490 bytes. Contents = b'\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\xec]kr\xdbH...\xfe\x9e\xbf\xe7O\xfb\xfe\x7f\xfbA\xd5\x9c\x00\xc0\x03\x00'

which is fixed by this patch

diff --git a/var/spack/repos/builtin/packages/hip/package.py b/var/spack/repos/builtin/packages/hip/package.py
index af9feff5be..7bd920a6b8 100644
--- a/var/spack/repos/builtin/packages/hip/package.py
+++ b/var/spack/repos/builtin/packages/hip/package.py
@@ -234,7 +234,7 @@ class Hip(CMakePackage):
         )
     # Add hipother sources thru the below
     for d_version, d_shasum in [
-        ("6.1.2", "8b975623c8ed1db53feea2cfd5d29f2a615e890aee1157d0d17adeb97200643f"),
+        ("6.1.2", "2740d1e3dcf1f2d07d2a8db6acf4c972941ae392172b83fd8ddcfe8706a40d0b"),
         ("6.1.1", "8b975623c8ed1db53feea2cfd5d29f2a615e890aee1157d0d17adeb97200643f"),
         ("6.1.0", "43a48ccc82f705a15852392ee7419e648d913716bfc04063a53d2d17979b1b46"),
         ("6.0.2", "0bebb3774debcecc0b29a0cc5aa98e373a3ee7acf161503d0d9c9d0ecc8b8010"),

from spack.

renjithravindrankannath avatar renjithravindrankannath commented on September 26, 2024

Hello, I was experiencing the same error while installing HIP. After updating spack to the latest version of develop, I got into this new error

Error: ChecksumError: sha256 checksum failed for /tmp/mariodr/spack-stage/resource-hipother-vgji3m3ukquzltlu3zqx4e5ltf7oojwn/rocm-6.1.2.tar.gz
    Expected 8b975623c8ed1db53feea2cfd5d29f2a615e890aee1157d0d17adeb97200643f but got 2740d1e3dcf1f2d07d2a8db6acf4c972941ae392172b83fd8ddcfe8706a40d0b. File size = 33490 bytes. Contents = b'\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\xec]kr\xdbH...\xfe\x9e\xbf\xe7O\xfb\xfe\x7f\xfbA\xd5\x9c\x00\xc0\x03\x00'

which is fixed by this patch

diff --git a/var/spack/repos/builtin/packages/hip/package.py b/var/spack/repos/builtin/packages/hip/package.py
index af9feff5be..7bd920a6b8 100644
--- a/var/spack/repos/builtin/packages/hip/package.py
+++ b/var/spack/repos/builtin/packages/hip/package.py
@@ -234,7 +234,7 @@ class Hip(CMakePackage):
         )
     # Add hipother sources thru the below
     for d_version, d_shasum in [
-        ("6.1.2", "8b975623c8ed1db53feea2cfd5d29f2a615e890aee1157d0d17adeb97200643f"),
+        ("6.1.2", "2740d1e3dcf1f2d07d2a8db6acf4c972941ae392172b83fd8ddcfe8706a40d0b"),
         ("6.1.1", "8b975623c8ed1db53feea2cfd5d29f2a615e890aee1157d0d17adeb97200643f"),
         ("6.1.0", "43a48ccc82f705a15852392ee7419e648d913716bfc04063a53d2d17979b1b46"),
         ("6.0.2", "0bebb3774debcecc0b29a0cc5aa98e373a3ee7acf161503d0d9c9d0ecc8b8010"),

Created PR #45152 to correct the checksum

from spack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.