INFO: Could not locate libsundials_sunlinsolklu inside /Users/gideonsimpson/.julia/v0.6/Sundials/deps/usr/lib
INFO: Destination file /Users/gideonsimpson/.julia/v0.6/Sundials/deps/usr/downloads/Sundials.x86_64-apple-darwin14.tar.gz already exists, verifying...
INFO: Verification hash mismatch, hash cache invalidated
INFO: Calculated hash cc15c458d73fb32d406c4e88b1478e0a1eaaf90a4675d91241224c3121ace343 for file /Users/gideonsimpson/.julia/v0.6/Sundials/deps/usr/downloads/Sundials.x86_64-apple-darwin14.tar.gz
==============================[ ERROR: Sundials ]===============================
LoadError: Hash Mismatch!
Expected sha256: 7c9b0a73c334c9e7cd3b7b43a6df8c9275feb7fd02c7240e3804ea29a50dbedb
Calculated sha256: cc15c458d73fb32d406c4e88b1478e0a1eaaf90a4675d91241224c3121ace343
while loading /Users/gideonsimpson/.julia/v0.6/Sundials/deps/build.jl, in expression starting on line 56
================================================================================
================================[ BUILD ERRORS ]================================
WARNING: Sundials had build errors.
- packages with build errors remain installed in /Users/gideonsimpson/.julia/v0.6
- build the package(s) and all dependencies with `Pkg.build("Sundials")`
- build a single package by running its `deps/build.jl` script
================================================================================
It’s a pretty big issue with MacOS because that means BinaryProvider.jl installations can never smoothly update on MacOS. At least in the meantime we should have instructions for users that we can point to, and those should probably be part of the hash warnings.
[10:27:31] curl: (22) The requested URL returned error: 404 Not Found
==========================================================================================[ ERROR: Sundials ]==========================================================================================
LoadError: Could not download https://github.com/JuliaDiffEq/SundialsBuilder/releases/download/klu-workaround-0.0.3/Sundials.x86_64-linux-gnu.tar.gz to /home/pasha/.julia/v0.6/Sundials/deps/usr/downloads/Sundials.x86_64-linux-gnu.tar.gz
while loading /home/pasha/.julia/v0.6/Sundials/deps/build.jl, in expression starting on line 56
We had a slight binary provider hiccup. Do a Pkg.update() and you should be fine. Sorry about that! But that’s unrelated to the MacOS BinaryProvider.jl update bug. @pasha let me know when you try it so I can know we’re all good.
I ran Pkg.update() and it’s all good - downloaded, built, installed. Thank you.
Agreed that it’s unrelated to duplicate BinaryProvider. Maybe when those dual hash things show up you could point the user to what to delete to fix it, for example:
To fix, delete file /Users/gideonsimpson/.julia/v0.6/Sundials/deps/usr/downloads/Sundials.x86_64-apple-darwin14.tar.gz
And rerun Pkg.build("Sundials")