# Help with 1.1 release!

**URL:** <https://discourse.julialang.org/t/help-with-1-1-release/18617>\
**Category:** Community\
**Created:** [December 13, 2018, 1:30am UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617 "2018-12-13T01:30:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [December 13, 2018, 1:30am UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/1 "2018-12-13T01:30:20Z")

</div>

The Julia 1.1 release is being prepared. As part of that process, PkgEval is run on all registered packages and we investigate any package that has gone from passing on 1.0 to failing on the 1.1 release branch. If you’d like to get involved and help make the release happen, the inestimable @kristoffer.carlsson has prepared a list of these packages:

[https://github.com/JuliaLang/julia/issues/30374](https://github.com/JuliaLang/julia/issues/30374)

Join in the fun and help figure out why some package may have broken.

---

<div class="post-metadata">

**Author:** ![Per](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/per/32/10387_2.png) [@Per](https://discourse.julialang.org/u/Per)\
**Post date:** [December 13, 2018, 12:04pm UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/2 "2018-12-13T12:04:39Z")

</div>

Is there some kind of bisection tool available somewhere? It would be nice if I could just run a script and it will try out commits between 1.0 and 1.1, build Julia and test my package until it finds a commit such that tests fail on that commit but pass on the previous.

(If not, I’ll write it myself…)

---

<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:** [December 13, 2018, 12:55pm UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/3 "2018-12-13T12:55:47Z")

</div>

If you’re building julia from source, then you can use the `git bisect` command to do exactly that.

---

<div class="post-metadata">

**Author:** ![Elrod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elrod/32/22461_2.png) [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Post date:** [December 16, 2018, 1:16am UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/4 "2018-12-16T01:16:54Z")

</div>

On one of my computers, I got this error while trying to build Julia 1.1:

```julia
-- Installing: /home/chriselrod/Documents/languages/jnext/usr-staging/llvm-6.0.1/build_Release/home/chriselrod/Documents/languages/jnext/usr/tools/yaml-bench
-- Installing: /usr/lib/ocaml/llvm/llvm.mli
CMake Error at bindings/ocaml/llvm/cmake_install.cmake:49 (file):
  file INSTALL cannot copy file
  "/home/chriselrod/Documents/languages/jnext/deps/scratch/llvm-6.0.1/build_Release/bindings/ocaml/llvm/llvm.mli"
  to "/usr/lib/ocaml/llvm/llvm.mli".
Call Stack (most recent call first):
  bindings/ocaml/cmake_install.cmake:42 (include)
  cmake_install.cmake:64 (include)

make[1]: *** [/home/chriselrod/Documents/languages/jnext/deps/llvm.mk:481: /home/chriselrod/Documents/languages/jnext/usr-staging/llvm-6.0.1/build_Release.tgz] Error 1
make: *** [Makefile:57: julia-deps] Error 2

```

I can’t reproduce it on another computer on the same commit (`git checkout release-1.1 && git pull`). This is a fresh clone.

The error is in trying:

```julia
CMake Error at bindings/ocaml/llvm/cmake_install.cmake:49 (file):
  file INSTALL cannot copy file
  "/home/chriselrod/Documents/languages/jnext/deps/scratch/llvm-6.0.1/build_Release/bindings/ocaml/llvm/llvm.mli"
  to "/usr/lib/ocaml/llvm/llvm.mli".

```

it of course does not have permission to write to “/usr/lib/ocaml/llvm/llvm.mli”. Why would it try to write there while compiling Julia?

On the computer where I tried to reproduce this (but failed) there is no “/usr/lib/ocaml”.  
I am getting the error with Antergos. Everything works as it should on Fedora.

I don’t want to compile with root privileges, but I did try `sudo make` anyway. Then the build worked.

---

<div class="post-metadata">

**Author:** ![mcreel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mcreel/32/30088_2.png) [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Post date:** [December 16, 2018, 10:37am UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/5 "2018-12-16T10:37:11Z")

</div>

I compiled 1.1 from source, and started checking to see if my unregistered package [https://github.com/mcreel/Econometrics.jl](https://github.com/mcreel/Econometrics.jl) would work. It seems to work quite well. This package has a fair number of dependencies, but fairly widely used ones, so I don’t know if I can generate much useful information.

One thing I have noticed is that Plots.jl is in the REQUIRE file, and “using Plots” is in the main module file, but Plots was not installed when the package was installed, via ] dev /home/michael/git/Econometrics.jl . Doing ] resolve did not cause it to be added. Many dependencies were installed when the dev statement was issued. I expected them to all be installed.

Adding Plots manually did solve the problem.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [December 20, 2018, 12:11am UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/6 "2018-12-20T00:11:39Z")

</div>

Today I start having a strange failure with nightly builds. If you see here the tests with 1.0.3 pass but those with nightly fails. This is a very recent issue since my last commit from a day or two had passed with nightly. The failure seems [simple](https://travis-ci.org/GenericMappingTools/GMT.jl/jobs/470272492#L3122) to track but I cannot reproduce it locally.

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/GenericMappingTools/GMT.jl/builds/470272490?utm_source=github_status&utm_medium=notification)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

---

<div class="post-metadata">

**Author:** ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Post date:** [December 20, 2018, 1:08am UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/7 "2018-12-20T01:08:50Z")

</div>

StaticNumbers.jl#master passes tests on 1.1-dev as of 2018-12-1920T08:26-5:00

☀

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [December 20, 2018, 2:34am UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/8 "2018-12-20T02:34:45Z")

</div>

> [@joa-quim](#):
>
> Today I start having a strange failure with nightly builds. If you see here the tests with 1.0.3 pass but those with nightly fails.

Please open an issue about this.

---

<div class="post-metadata">

**Author:** ![jstrube](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jstrube/32/525_2.png) [@jstrube](https://discourse.julialang.org/u/jstrube)\
**Post date:** [December 20, 2018, 6:38am UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/9 "2018-12-20T06:38:37Z")

</div>

I have found a regression with 1.1DEV.  
Test case is here:

> <https://gist.github.com/jstrube/9c913005681e08a2b7115634e8d93aa9>

It depends on StaticArrays, LinearAlgebra, BenchmarkTools

I’m testing two functions (they are event shapes at particle colliders).

```julia
Julia Version 1.0.4-pre.0
Commit 5b7e8d9d4e (2018-12-19 09:38 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, haswell)

```

gives:

```julia
  35.604 ms (3009 allocations: 305.02 KiB)
  3.304 s (1003006 allocations: 30.83 MiB)

```

With

```julia
Julia Version 1.1.0-DEV.840
Commit 6329be9aab (2018-12-20 04:39 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, haswell)

```

I am getting

```julia
  35.885 ms (3005 allocations: 304.95 KiB)
  6.061 s (1003006 allocations: 30.83 MiB)

```

So, the second function slows down by 80%.

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [December 20, 2018, 7:30am UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/10 "2018-12-20T07:30:21Z")

</div>

I can not reproduce this on master. Likely fixed by [https://github.com/JuliaLang/julia/pull/30420](https://github.com/JuliaLang/julia/pull/30420) which is also the backport branch.

---

<div class="post-metadata">

**Author:** ![jstrube](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jstrube/32/525_2.png) [@jstrube](https://discourse.julialang.org/u/jstrube)\
**Post date:** [December 20, 2018, 7:38am UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/11 "2018-12-20T07:38:07Z")

</div>

Good to know! Thanks for the quick check.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [December 20, 2018, 1:50pm UTC](https://discourse.julialang.org/t/help-with-1-1-release/18617/12 "2018-12-20T13:50:23Z")

</div>

Done  
[https://github.com/JuliaLang/julia/issues/30462](https://github.com/JuliaLang/julia/issues/30462)
