Fix the general case URL for the zlib tarball#2725
Conversation
A recent pull request jiggled this around, but now it tries to download 1.2.10 from Canonical, which doesn't work. @tgamblin -- I'm testing this now. Will follow up if/when it's ready to go.
1.2.8 is not longer on the zlib site, but Canonical has it. The first couple of tries at making old and new versions available didn't work. This does. I can install [email protected] and [email protected].
|
@tgamblin -- this works for 1.2.8 and 1.2.10. Not sure that it's 'tasteful' however. |
|
@tgamblin This looks like a major bug. I've never seen a version-specific |
|
By way of documentation (he's from Missouri, you have to show him...): |
|
You can also see what URLs Spack will use by running: Btw, I'm not seeing this with other packages: |
|
More debugging info. If you hack version('0.19.0', 'fake-version-and-hash-0123456789')
version('0.18.1', '5fb5fb7ccb113ab3a039702b6c2f3327',
url="https://pypi.python.org/packages/22/41/b1538a75309ae4913cdbbdc8d1cc54cae6d37981d2759532c1aa37a41121/scipy-0.18.1.tar.gz")
version('0.17.0', '5ff2971e1ce90e762c59d2cd84837224')
version('0.15.1', 'be56cd8e60591d6332aac792a5880110')
version('0.15.0', '639112f077f0aeb6d80718dc5019dc7a') you can reproduce this bug: |
|
I'm out of my depth.... |
|
Btw, reordering: version('1.2.10', 'd9794246f853d15ce0fcbf79b9a3cf13')
version('1.2.8', '44d667c142d7cda120332623eab69f40',
url='http://pkgs.fedoraproject.org/repo/pkgs/mingw-zlib/zlib-1.2.8.tar.gz/44d667c142d7cda120332623eab69f40/zlib-1.2.8.tar.gz'
)as: version('1.2.8', '44d667c142d7cda120332623eab69f40',
url='http://pkgs.fedoraproject.org/repo/pkgs/mingw-zlib/zlib-1.2.8.tar.gz/44d667c142d7cda120332623eab69f40/zlib-1.2.8.tar.gz'
)
version('1.2.10', 'd9794246f853d15ce0fcbf79b9a3cf13') doesn't help. |
adamjstewart
left a comment
There was a problem hiding this comment.
This looks like a perfectly fine hack for now, but we really need to get to the bottom of this bug.
That's a perfect saying for either
:) |
|
I'm wondering if this is related to the impenetrable |
|
I think we need to have the general class-wide URL set to the fossils directory, and the latest-version URL specially set for the non-fossil directory. Is it OK to close this PR? |
|
Yes, close it (I see that you already have...). In the ongoing search for a local minima for the zlib package, #2735 uses the zlib fossil site.... |
#2720) * Update to latest zlib version, server no longer provides older version Funded-by: IDEAS Project: IDEAS/xSDK * Add alternative URL for previous release of zlib
A recent pull request jiggled this around, but now it tries to download 1.2.10 from Canonical, which doesn't work.
@tgamblin -- I'm testing this now. Will follow up if/when it's ready to go.