Skip to content

lsof: fix url and checksum#13801

Merged
adamjstewart merged 2 commits intospack:developfrom
noguchi-k:lsof/fix_url
Nov 26, 2019
Merged

lsof: fix url and checksum#13801
adamjstewart merged 2 commits intospack:developfrom
noguchi-k:lsof/fix_url

Conversation

@noguchi-k
Copy link
Copy Markdown
Contributor

I got following error when installing lsof.
"The requested url returned error: 404 Not Found"

I changed the download url and I fixed the checksum because the checksum of version 4.89 has changed.

@adamjstewart
Copy link
Copy Markdown
Member

Can you investigate why the checksum changed? We might also want to add a list_url so that url can point to the latest release (4.91) and list_url can point to older releases. This is how we handle CRAN packages.

@adamjstewart adamjstewart added fetching checksum Tarball checksum mismatches. labels Nov 20, 2019
@noguchi-k
Copy link
Copy Markdown
Contributor Author

Md5 checksum of lsof tarball obtained from “https://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/lsof_4.89.tar.gz” matches the md5 checksum before being fixed in October, so I think that the tarball wasn't changed.
17ace14

If the above assumption is correct, I think the current sha256 checksum is correct. : 5d08da7ebe049c9d9a6472d6afb81aa5af54c4733a3f8822cbc22b57867633c9
What do you think about this?

We might also want to add a list_url so that url can point to the latest release (4.91) and list_url can point to older releases. This is how we handle CRAN packages.

I will fix about it .

@adamjstewart adamjstewart merged commit 8ea4692 into spack:develop Nov 26, 2019
@noguchi-k noguchi-k deleted the lsof/fix_url branch November 29, 2019 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

checksum Tarball checksum mismatches. fetching

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants