Skip to content

FIX: Making berkeley-db package fetch from correct links#14147

Merged
adamjstewart merged 4 commits intospack:developfrom
mdorier:fix-berkeleydb-links
Dec 13, 2019
Merged

FIX: Making berkeley-db package fetch from correct links#14147
adamjstewart merged 4 commits intospack:developfrom
mdorier:fix-berkeleydb-links

Conversation

@mdorier
Copy link
Copy Markdown
Contributor

@mdorier mdorier commented Dec 13, 2019

The berkeley-db package normally fetches from the Gentoo repository because the Oracle website requires login. However the archives seem to have been removed from the Gentoo repository.

This PR comments the url_for_version function so that it reverts to downloading from Oracle. This will work for version 6.2.32 (the latest in this package) and 6.1.29, but not for older ones.

If anyone knows of another mirror from which more versions of BerkeleyDB can be downloaded, please update the package. At least with this PR the two latest versions are available again.

Fixes #14145

@mdorier
Copy link
Copy Markdown
Contributor Author

mdorier commented Dec 13, 2019

(please disable codecov on this PR, all other tests pass)

Copy link
Copy Markdown
Member

@adamjstewart adamjstewart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine to have older versions not available for download. Can you sort the versions from newest to oldest? Also, in regards to codecov, see the note at the bottom of https://spack.readthedocs.io/en/latest/contribution_guide.html#coverage

@mdorier
Copy link
Copy Markdown
Contributor Author

mdorier commented Dec 13, 2019

Ok I integrated your proposed changes and reordered the versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BerkeleyDB package: links to archives not valid anymore

2 participants