# Arpack does not build in 1.0 / Manjaro Linux

**URL:** <https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515>\
**Category:** General Usage\
**Tags:** packages, installation\
**Created:** [September 4, 2018, 5:38am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515 "2018-09-04T05:38:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlesll](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charlesll/32/3255_2.png) [@charlesll](https://discourse.julialang.org/u/charlesll)\
**Post date:** [September 4, 2018, 5:38am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/1 "2018-09-04T05:38:47Z")

</div>

Hi,

Working on Manjaro Linux, GCC 8, Julia 1.0 installed with the official Manjaro repos.

I try to do some work with 1.0… Of course, none of my codes work (has been wrote in 0.5) ☹

I can fix it, but the problem is I can’t even have a proper working Julia installation anymore ☹

When trying to install LsqFit, I got an error message that Arpack can’t build:

```julia
Building Arpack → `~/.julia/packages/Arpack/WP3ru/deps/build.log`
┌ Error: Error building `Arpack`: 
│ ┌ Warning: Could not extract the platform key of https://github.com/JuliaLinearAlgebra/ArpackBuilder/releases/download/v3.5.0-0.2.20/ArpackBuilder.x86_64-linux-gnu.tar.gz; continuing...
│ └ @ BinaryProvider ~/.julia/packages/BinaryProvider/UTYxu/src/Prefix.jl:224
│ [ Info: Downloading https://github.com/JuliaLinearAlgebra/ArpackBuilder/releases/download/v3.5.0-0.2.20/ArpackBuilder.x86_64-linux-gnu.tar.gz to /home/charles/.julia/packages/Arpack/WP3ru/deps/usr/downloads/ArpackBuilder.x86_64-linux-gnu.tar.gz...
│ ERROR: LoadError: LibraryProduct(nothing, ["libarpack"], :libarpack, "Prefix(/home/charles/.julia/packages/Arpack/WP3ru/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] #write_deps_file#134(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/charles/.julia/packages/BinaryProvider/UTYxu/src/Products.jl:409
│ [2] write_deps_file(::String, ::Array{LibraryProduct,1}) at /home/charles/.julia/packages/BinaryProvider/UTYxu/src/Products.jl:396
│ [3] top-level scope at none:0
│ [4] include(::String) at ./client.jl:388
│ [5] top-level scope at none:0
│ in expression starting at /home/charles/.julia/packages/Arpack/WP3ru/deps/build.jl:40
[15:24:23] ######################################################################## 100.0% 
└ @ Pkg.Operations /build/julia/src/julia/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1068

```

I know it is probably related to [this post](https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/5), but I do not really understand the solution? Should I install Julia from the binary? Do anyone has any suggestion?

---

<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:** [September 4, 2018, 5:44am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/2 "2018-09-04T05:44:36Z")

</div>

> [@charlesll](#):
>
> I know it is probably related to [this post](https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/5), but I do not really understand the solution? Should I install Julia from the binary? Do anyone has any suggestion?

Yes, if you download the binary from [Download Julia](https://julialang.org/downloads/) it should work.

---

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [September 4, 2018, 7:06am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/3 "2018-09-04T07:06:15Z")

</div>

Building on Arch Linux worked for me following the advice in this comment: [https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/5#issuecomment-400522447](https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/5#issuecomment-400522447),

---

<div class="post-metadata">

**Author:** ![Sukera](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Sukera](https://discourse.julialang.org/u/Sukera)\
**Post date:** [September 4, 2018, 7:10am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/4 "2018-09-04T07:10:15Z")

</div>

Not directly related, but since you mentioned you have to port code from 0.5:

> [@PSA: use Julia 0.7 if you are upgrading](https://discourse.julialang.org/t/psa-use-julia-0-7-if-you-are-upgrading/13321):
>
> A lot of people are posting issues where their old code doesn’t work anymore on 1.0 because some function has been renamed or removed. The 0.7 release exists exactly for this reason: your old code will work on 0.7 and give you a specific warning about how to fix your code. If you have any old code, you should use 0.7 to get these warnings before switching to 1.0; even if you just have work habits that may need changing, you should probably use 0.7 for a while. If someone posts an issue like thi…

---

<div class="post-metadata">

**Author:** ![Raf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raf/32/3383_2.png) [@Raf](https://discourse.julialang.org/u/Raf)\
**Post date:** [September 4, 2018, 7:28am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/5 "2018-09-04T07:28:42Z")

</div>

Those Manjaro repos are likely just the Arch Linux repos. I’m not sure why they are recompiled, Arch policy should dictate not changing upstream packages unless you have to.

Just downloading the default Julia binaries and running them from /opt works for me.

---

<div class="post-metadata">

**Author:** ![charlesll](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charlesll/32/3255_2.png) [@charlesll](https://discourse.julialang.org/u/charlesll)\
**Post date:** [September 4, 2018, 7:36am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/6 "2018-09-04T07:36:52Z")

</div>

Thanks for the replies!!

I’m gonna remove official Julia, and install Julia 0.7 from binaries in this case!

This will leave me time to adapt my code to 1.0 also as suggested by @Sukera

---

<div class="post-metadata">

**Author:** ![Sukera](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Sukera](https://discourse.julialang.org/u/Sukera)\
**Post date:** [September 4, 2018, 7:39am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/7 "2018-09-04T07:39:36Z")

</div>

Both 0.7 and 1.0 are official and released builds - the difference between the two is that 0.7 has deprecation warnings for removed functions and 1.0 does not. In that respect, 0.7 is intended to be used for your precise usecase - porting old code to the newest version. Once it works on 0.7, it should also work an 1.0.

The only official distributions of julia are though [julialang.org](http://julialang.org) - if a third party package manager decides to recompile and distribute on their own, that’s on them and for them to debug.

---

<div class="post-metadata">

**Author:** ![charlesll](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charlesll/32/3255_2.png) [@charlesll](https://discourse.julialang.org/u/charlesll)\
**Post date:** [September 4, 2018, 11:53pm UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/8 "2018-09-04T23:53:25Z")

</div>

Makes sense, I will transmit the problem on Manjaro’s forum. @Raf Manjaro does not use Arch repos directly, but their own repo.

---

<div class="post-metadata">

**Author:** ![charlesll](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charlesll/32/3255_2.png) [@charlesll](https://discourse.julialang.org/u/charlesll)\
**Post date:** [September 5, 2018, 12:45am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/9 "2018-09-05T00:45:39Z")

</div>

Hum, but I still can’t have my code running or my packages installing… They require PyCall that does not build in 0.7 😥

I can’t spend hours dealing with such issues, I need productivity at this stage… =\> it was faster for me to re-code everything in Python… ☹

---

<div class="post-metadata">

**Author:** ![Raf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raf/32/3383_2.png) [@Raf](https://discourse.julialang.org/u/Raf)\
**Post date:** [September 5, 2018, 3:30am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/10 "2018-09-05T03:30:23Z")

</div>

What? PyCall builds just fine in 0.7.

---

<div class="post-metadata">

**Author:** ![charlesll](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charlesll/32/3255_2.png) [@charlesll](https://discourse.julialang.org/u/charlesll)\
**Post date:** [September 5, 2018, 5:27am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/11 "2018-09-05T05:27:22Z")

</div>

Apparently no. I got this error, and I can’t figure what is creating it…

```julia
Building PyCall → `~/.julia/packages/PyCall/rUul9/deps/build.log`
┌ Error: Error building `PyCall`: 
│ ┌ Warning: Deprecated syntax `(init === nothing) ? if (dims === nothing)
│ │ Base.reduce
│ │ op
│ │ a
│ │ else
│ │ Base.reducedim
│ │ op
│ │ a
│ │ dims
│ │ end :#<eof>` at /home/charles/.julia/packages/Compat/JgmI1/src/Compat.jl:1818.
│ │ Use `(init === nothing) ? if (dims === nothing)
│ │ Base.reduce
│ │ op
│ │ a
│ │ else
│ │ Base.reducedim
│ │ op
│ │ a
│ │ dims
│ │ end : #<eof>` instead.
│ └ @ ~/.julia/packages/Compat/JgmI1/src/Compat.jl:1818
│ ERROR: LoadError: syntax: incomplete: premature end of input
│ Stacktrace:
│ [1] include at ./boot.jl:317 [inlined]
│ [2] include_relative(::Module, ::String) at ./loading.jl:1038
│ [3] include(::Module, ::String) at ./sysimg.jl:29
│ [4] top-level scope at none:2
│ [5] eval at ./boot.jl:319 [inlined]
│ [6] eval(::Expr) at ./client.jl:399
│ [7] top-level scope at ./none:3
│ in expression starting at /home/charles/.julia/packages/Compat/JgmI1/src/Compat.jl:3
│ ERROR: LoadError: Failed to precompile Compat [34da2185-b29b-5c13-b0c7-acf172513d20] to /home/charles/.julia/compiled/v0.7/Compat/GSFWK.ji.
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] macro expansion at ./logging.jl:313 [inlined]
│ [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1185
│ [4] _require(::Base.PkgId) at ./logging.jl:311
│ [5] require(::Base.PkgId) at ./loading.jl:852
│ [6] macro expansion at ./logging.jl:311 [inlined]
│ [7] require(::Module, ::Symbol) at ./loading.jl:834
│ [8] include at ./boot.jl:317 [inlined]
│ [9] include_relative(::Module, ::String) at ./loading.jl:1038
│ [10] include(::Module, ::String) at ./sysimg.jl:29
│ [11] include(::String) at ./client.jl:398
│ [12] top-level scope at none:0
│ in expression starting at /home/charles/.julia/packages/PyCall/rUul9/deps/build.jl:8
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:1068

```

---

<div class="post-metadata">

**Author:** ![Raf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raf/32/3383_2.png) [@Raf](https://discourse.julialang.org/u/Raf)\
**Post date:** [September 5, 2018, 5:32am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/12 "2018-09-05T05:32:22Z")

</div>

Works fine for me on Arch and 0.7 with “PyCall” =\> v"1.18.2"

Maybe check your package version? that looks like an older version with the depreciation warnings?

---

<div class="post-metadata">

**Author:** ![charlesll](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charlesll/32/3255_2.png) [@charlesll](https://discourse.julialang.org/u/charlesll)\
**Post date:** [September 5, 2018, 6:36am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/13 "2018-09-05T06:36:13Z")

</div>

Actually I think the error comes from Compat… For whatever reason, I can’t even update PyPlot without having this issue that seems related to Compat.

---

<div class="post-metadata">

**Author:** ![charlesll](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charlesll/32/3255_2.png) [@charlesll](https://discourse.julialang.org/u/charlesll)\
**Post date:** [September 5, 2018, 6:38am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/14 "2018-09-05T06:38:23Z")

</div>

I get this error trying to call or build anything actually (IJulia in this case):

`Failed to precompile Compat [34da2185-b29b-5c13-b0c7-acf172513d20] to /home/charles/.julia/compiled/v0.7/Compat/GSFWK.ji.`

---

<div class="post-metadata">

**Author:** ![charlesll](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/charlesll/32/3255_2.png) [@charlesll](https://discourse.julialang.org/u/charlesll)\
**Post date:** [September 5, 2018, 7:09am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/15 "2018-09-05T07:09:07Z")

</div>

Solved the problem. I had to remove manually Compat (deleting .julia/packages/Compat) and re-install it.

Intriguing that it broke on a brand new install of Julia…

---

<div class="post-metadata">

**Author:** ![Yifan\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Post date:** [March 16, 2019, 4:56pm UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/16 "2019-03-16T16:56:39Z")

</div>

Has this issue been solved? I still have the issue in Fedora 29, but I prefer to install Julia from repository. If it is in the repository, then it is supposed to work…  
Building from source makes it tricky for updating.

This issue has been around for a while.

---

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [March 16, 2019, 9:08pm UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/17 "2019-03-16T21:08:45Z")

</div>

> [@Yifan\_Liu](#):
>
> Has this issue been solved? I still have the issue in Fedora 29, but I prefer to install Julia from repository. If it is in the repository, then it is supposed to work…

It works here with the RPM from my Copr. Are you using the official package or the Copr one?

---

<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:** [March 17, 2019, 1:08am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/18 "2019-03-17T01:08:20Z")

</div>

> [@Yifan\_Liu](#):
>
> Building from source makes it tricky for updating.

Making it easy to update is why I have been building from source. `git pull && make -j[number of cores]`.  
Of course, letting the package manager take care of things is even easier, assuming you’re keeping your system up to date anyway.

---

<div class="post-metadata">

**Author:** ![Yifan\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Post date:** [March 17, 2019, 1:28am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/19 "2019-03-17T01:28:19Z")

</div>

I just installed Julia using sudo dnf install Julia.

---

<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:** [March 17, 2019, 1:37am UTC](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515/20 "2019-03-17T01:37:22Z")

</div>

[https://copr.fedorainfracloud.org/coprs/nalimilan/julia/](https://copr.fedorainfracloud.org/coprs/nalimilan/julia/)

[Next page](https://discourse.julialang.org/t/arpack-does-not-build-in-1-0-manjaro-linux/14515.md?page=2)
