# Pkg.update() build errors for multiple packages after update to Julia v0.6

**URL:** <https://discourse.julialang.org/t/pkg-update-build-errors-for-multiple-packages-after-update-to-julia-v0-6/4504>\
**Category:** General Usage\
**Created:** [June 27, 2017, 9:49pm UTC](https://discourse.julialang.org/t/pkg-update-build-errors-for-multiple-packages-after-update-to-julia-v0-6/4504 "2017-06-27T21:49:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![holder66](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/holder66/32/458_2.png) [@holder66](https://discourse.julialang.org/u/holder66)\
**Post date:** [June 27, 2017, 9:49pm UTC](https://discourse.julialang.org/t/pkg-update-build-errors-for-multiple-packages-after-update-to-julia-v0-6/4504/1 "2017-06-27T21:49:21Z")

</div>

MacOS 10.12.5; I installed the Julia v0.6 binary, ran Pkg.update(), copied the REQUIRE file from ~/.julia/v0.5 to /v0.6, ran Pkg.update() again, and got multiple load errors, culminating in a summary:  
WARNING: Rmath, DecFP, NLopt, PyCall, Tk, OSXNotifier, ZMQ, HDF5, IJulia, MbedTLS, Cairo, HttpParser, Homebrew, Nettle and Blosc had build errors.

- packages with build errors remain installed in /Users/henryolders/.julia/v0.6
- build the package(s) and all dependencies with `Pkg.build("Rmath", "DecFP", "NLopt", "PyCall", "Tk", "OSXNotifier", "ZMQ", "HDF5", "IJulia", "MbedTLS", "Cairo", "HttpParser", "Homebrew", "Nettle", "Blosc")`
- build a single package by running its `deps/build.jl` script

Should I just remove these packages? Thanks for any help!

---

<div class="post-metadata">

**Author:** ![musm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/musm/32/3675_2.png) [@musm](https://discourse.julialang.org/u/musm)\
**Post date:** [June 27, 2017, 10:06pm UTC](https://discourse.julialang.org/t/pkg-update-build-errors-for-multiple-packages-after-update-to-julia-v0-6/4504/2 "2017-06-27T22:06:21Z")

</div>

I think you should _just_ copy the REQUIRE file from 0.5 folder. I imagine copying all the 0.5 files and folder (most of which will probably not be compatible) will cause a lot of problems and then fire up the repl and do a `Pkg.update`

---

<div class="post-metadata">

**Author:** ![holder66](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/holder66/32/458_2.png) [@holder66](https://discourse.julialang.org/u/holder66)\
**Post date:** [June 27, 2017, 10:19pm UTC](https://discourse.julialang.org/t/pkg-update-build-errors-for-multiple-packages-after-update-to-julia-v0-6/4504/3 "2017-06-27T22:19:31Z")

</div>

That’s what I did - copied just the REQUIRE file. Sorry if that was unclear!

Henry

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [June 27, 2017, 10:49pm UTC](https://discourse.julialang.org/t/pkg-update-build-errors-for-multiple-packages-after-update-to-julia-v0-6/4504/4 "2017-06-27T22:49:07Z")

</div>

Can you figure out what the first package with build errors was, and can you paste the build output here? It’s possible that one broken package caused a cascade of build issues.

---

<div class="post-metadata">

**Author:** ![holder66](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/holder66/32/458_2.png) [@holder66](https://discourse.julialang.org/u/holder66)\
**Post date:** [June 28, 2017, 1:41am UTC](https://discourse.julialang.org/t/pkg-update-build-errors-for-multiple-packages-after-update-to-julia-v0-6/4504/5 "2017-06-28T01:41:14Z")

</div>

Unfortunately, I don’t think I can. I reverted to 0.5.2 to test something, and now back to 0.6, Pkg.update() says there are no packages to install, update, or remove. I don’t know if the bash window was saved when quitting terminal. However, I suspect that the build errors occurred in the order provided in the summary, ie Rmath, DecFP, NLopt, etc.

---

<div class="post-metadata">

**Author:** ![maximsch2](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@maximsch2](https://discourse.julialang.org/u/maximsch2)\
**Post date:** [June 28, 2017, 1:45am UTC](https://discourse.julialang.org/t/pkg-update-build-errors-for-multiple-packages-after-update-to-julia-v0-6/4504/6 "2017-06-28T01:45:47Z")

</div>

I had similar issues and tracked it down to an issue with FunctionalDataUtils.jl ([https://github.com/rened/FunctionalDataUtils.jl/issues/3](https://github.com/rened/FunctionalDataUtils.jl/issues/3)) requiring an old version of SHA.jl that doesn’t work on 0.6, breaking BinDeps.jl and all downstream packages.  
`Pkg.checkout("FunctionalDataUtils")` solved it for me.
