UndefVarError when trying to build MbedTLS package

error

#1

I have been trying to get Juno up and running on Linux but I can’t seem to be able to build the MbedTLS package. I added the package in Atom and then navigated to ‘Packages’->‘Julia’->‘Start Julia’. This runs for some time and then I get this out put:

Error Message Atom

INFO: Precompiling module Atom.
ERROR: LoadError:
could not open file /home/maarten/.julia/v0.6/MbedTLS/src/…/deps/deps.jl
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:576
[2] anonymous at ./:2
while loading /home/maarten/.julia/v0.6/MbedTLS/src/MbedTLS.jl, in expression starting on line 48
ERROR: LoadError:
Failed to precompile MbedTLS to /home/maarten/.julia/lib/v0.6/MbedTLS.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] anonymous at ./:2
while loading /home/maarten/.julia/v0.6/HttpServer/src/HttpServer.jl, in expression starting on line 10
ERROR: LoadError: LoadError:
Failed to precompile HttpServer to /home/maarten/.julia/lib/v0.6/HttpServer.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] anonymous at ./:2
while loading /home/maarten/.julia/v0.6/Mux/src/server.jl, in expression starting on line 1
while loading /home/maarten/.julia/v0.6/Mux/src/Mux.jl, in expression starting on line 24
ERROR: LoadError: LoadError:
Failed to precompile Mux to /home/maarten/.julia/lib/v0.6/Mux.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] anonymous at ./:2
while loading /home/maarten/.julia/v0.6/Blink/src/content/content.jl, in expression starting on line 1
while loading /home/maarten/.julia/v0.6/Blink/src/Blink.jl, in expression starting on line 9
ERROR: LoadError:
Failed to precompile Blink to /home/maarten/.julia/lib/v0.6/Blink.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] anonymous at ./:2
while loading /home/maarten/.julia/v0.6/Atom/src/Atom.jl, in expression starting on line 5
ERROR: LoadError:
Failed to precompile Atom to /home/maarten/.julia/lib/v0.6/Atom.ji.
while loading /home/maarten/.atom/packages/julia-client/script/boot.jl, in expression starting on line 34
Julia has stopped: 1

I thought it looked like something was fishy with the Mbed TLS package so I tried to build it from the Julia REPL with Pkg.build(“MbedTLS”) but then I got this error instead:

Error Message Julia Pkg.build

julia> Pkg.build(“MbedTLS”)
INFO: Building MbedTLS
Manual build…
===============================[ ERROR: MbedTLS ]===============================

LoadError: UndefVarError: pushfront! not defined
while loading /root/.julia/v0.6/MbedTLS/deps/build.jl, in expression starting on line 45

================================================================================

================================[ BUILD ERRORS ]================================

WARNING: MbedTLS had build errors.

  • packages with build errors remain installed in /root/.julia/v0.6
  • build the package(s) and all dependencies with Pkg.build("MbedTLS")
  • build a single package by running its deps/build.jl script

================================================================================

I am a bit stuck here and any help would be appreciated!


#2

I think https://github.com/JuliaLang/BinDeps.jl/pull/349 needs to be merged and tagged.


#3

Thanks! It all works now.