Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error v0.14.1 #600

Closed
chakravala opened this issue Jul 6, 2019 · 5 comments
Closed

Build error v0.14.1 #600

chakravala opened this issue Jul 6, 2019 · 5 comments

Comments

@chakravala
Copy link

Got this build error (on arch linux) when updating from v0.14 to v0.14.1

  Building Nemo ─ `~/.julia/packages/Nemo/WGWPV/deps/build.log`
┌ Error: Error building `Nemo`: 
│   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
│                                  Dload  Upload   Total   Spent    Left  Speed
100   610    0   610    0     0   1525      0 --:--:-- --:--:-- --:--:--  1525
100  3340  100  3340    0     0   5448      0 --:--:-- --:--:-- --:--:--  5448% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
│                                  Dload  Upload   Total   Spent    Left  Speed
100   611    0   611    0     0   1411      0 --:--:-- --:--:-- --:--:--  1407
100  3356  100  3356    0     0   5352      0 --:--:-- --:--:-- --:--:--  5352% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
│                                  Dload  Upload   Total   Spent    Left  Speed
100   656    0   656    0     0   1607      0 --:--:-- --:--:-- --:--:--  1607
100  2118  100  2118    0     0   3372      0 --:--:-- --:--:-- --:--:-- 16546% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
│                                  Dload  Upload   Total   Spent    Left  Speed
100   654    0   654    0     0   1575      0 --:--:-- --:--:-- --:--:--  1575
100  2070  100  2070    0     0   3071      0 --:--:-- --:--:-- --:--:--  3071% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
│                                  Dload  Upload   Total   Spent    Left  Speed
100   656    0   656    0     0   1588      0 --:--:-- --:--:-- --:--:--  1584
100  2081  100  2081    0     0   3292      0 --:--:-- --:--:-- --:--:--  3292
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │   caller = ip:0x0
│ └ @ Core :-1
│ [ Info: Downloading https://github.com/JuliaMath/GMPBuilder/releases/download/v6.1.2-2/GMP.v6.1.2.x86_64-linux-gnu.tar.gz to /home/flow/.julia/packages/Nemo/WGWPV/deps/usr/downloads/GMP.v6.1.2.x86_64-linux-gnu.tar.gz...
│ ERROR: LoadError: LoadError: LibraryProduct(nothing, ["libgmp"], :libgmp, "Prefix(/home/flow/.julia/packages/Nemo/WGWPV/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│  [1] #write_deps_file#165(::Bool, ::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/flow/.julia/packages/BinaryProvider/A0sDa/src/Products.jl:419
│  [2] write_deps_file(::String, ::Array{LibraryProduct,1}) at /home/flow/.julia/packages/BinaryProvider/A0sDa/src/Products.jl:400
│  [3] top-level scope at none:0
│  [4] include at ./sysimg.jl:29 [inlined]
│  [5] include(::String) at /home/flow/.julia/packages/Nemo/WGWPV/deps/build.jl:40
│  [6] top-level scope at none:0
│  [7] top-level scope at /home/flow/.julia/packages/Nemo/WGWPV/deps/build.jl:40
│  [8] include(::String) at ./client.jl:403
│  [9] top-level scope at none:0in expression starting at /home/flow/.julia/packages/Nemo/WGWPV/deps/build_GMP.v6.1.2.jl:46in expression starting at /home/flow/.julia/packages/Nemo/WGWPV/deps/build.jl:14
[14:13:38] ######################################################################## 100.0% 
└ @ Pkg.Operations /build/julia/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075
@chakravala chakravala changed the title Build error Build error v0.14.1 Jul 6, 2019
@thofma
Copy link
Member

thofma commented Jul 6, 2019

Can you try to build again?

@chakravala
Copy link
Author

Retrying does not help, it is the same message (except that it does not include the download information)

@thofma
Copy link
Member

thofma commented Jul 8, 2019

Can you upload /home/flow/.julia/packages/Nemo/WGWPV/deps/build.log to a gist?

@thofma
Copy link
Member

thofma commented Jul 9, 2019

Appears to be a problem with BinaryProvider, see JuliaPackaging/BinaryProvider.jl#172 and JuliaPackaging/BinaryProvider.jl#170.

If you want a solution now, you could either pin BinaryProvider to 0.5.4 or build the binaries from source by setting the environment variable NEMO_SOURCE_BUILD=1 (see http://nemocas.github.io/Nemo.jl/latest/#Building-dependencies-from-source-1)

@chakravala
Copy link
Author

Build now working with BinaryProvider v0.5.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants