GithubHelp home page GithubHelp logo

`spack checksum` finds wrong URLs about spack HOT 2 CLOSED

spack avatar spack commented on September 7, 2024
`spack checksum` finds wrong URLs

from spack.

Comments (2)

adamjstewart avatar adamjstewart commented on September 7, 2024

I have (partially) resolved this issue with pull request #408. The reason why Spack couldn't download http://fishshell.com/fish-2.2.0.tar.gz is because that URL does not exist. By setting list_url and list_depth properly, Spack is now able to download any version of Fish that you want.

$ spack fetch [email protected]
==> Warning: There is no checksum on file to fetch [email protected] safely.
  Fetch anyway? [y/N] y
==> Fetching with no checksum.
  Add a checksum or use --no-checksum to skip this check.
==> Trying to fetch from http://fishshell.com/files/2.1.0/fish-2.1.0.tar.gz
######################################################################## 100.0%

However, this does not solve the issue that Spack shouldn't find any remote versions at that location. With the fix in place, spack versions and spack checksum do not find any remote versions, although they should. But spack install and spack fetch now work, which I think is a lot more important.

Does anyone have any idea why Spack was previously finding other versions of Fish but at the wrong URL? Now it doesn't find any other versions of Fish but at the right URL. I have noticed that Spack has a lot of trouble finding versions of packages as soon as list_url and list_depth are necessary.

from spack.

adamjstewart avatar adamjstewart commented on September 7, 2024

Looks like this was fixed recently. I reverted the list_url back to its previous value in #2022. Once that is merged, you should be good to go.

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.