Failure to precompile packages on ARM

I want to use the julia program to process some images, but the image package does not respond. when i use:

julia> using Images
[ Info: Precompiling Images [916415d5-f1e6-5110-898d-aaa5f9f070e0]
ERROR: could not load library "/home/debian/julia-1.0.4/lib/julia/sys.so"
/home/debian/julia-1.0.4/lib/julia/sys.so: failed to map segment from shared obj                                                                                        ect
ERROR: LoadError: IOError: write: broken pipe (EPIPE)
Stacktrace:
 [1] try_yieldto(::typeof(Base.ensure_rescheduled), ::Base.RefValue{Task}) at ./                                                                                        event.jl:196
 [2] wait() at ./event.jl:255
 [3] uv_write(::Base.PipeEndpoint, ::Ptr{UInt8}, ::UInt32) at ./stream.jl:782
 [4] unsafe_write(::Base.PipeEndpoint, ::Ptr{UInt8}, ::UInt32) at ./stream.jl:83                                                                                        0
 [5] unsafe_write at ./io.jl:225 [inlined]
 [6] macro expansion at ./gcutils.jl:87 [inlined]
 [7] write(::Pipe, ::String) at ./strings/io.jl:164
 [8] create_expr_cache(::String, ::String, ::Array{Pair{Base.PkgId,UInt64},1}, :                                                                                        :Base.UUID) at ./loading.jl:1119
 [9] compilecache(::Base.PkgId, ::String) at ./loading.jl:1194
 [10] _require(::Base.PkgId) at ./loading.jl:960
 [11] require(::Base.PkgId) at ./loading.jl:858
 [12] require(::Module, ::Symbol) at ./loading.jl:853
 [13] include at ./boot.jl:317 [inlined]
 [14] include_relative(::Module, ::String) at ./loading.jl:1044
 [15] include(::Module, ::String) at ./sysimg.jl:29
 [16] top-level scope at none:2
 [17] eval at ./boot.jl:319 [inlined]
 [18] eval(::Expr) at ./client.jl:393
 [19] top-level scope at ./none:3
in expression starting at /home/debian/.julia/packages/ColorVectorSpace/sRZSy/sr                                                                                        c/ColorVectorSpace.jl:5
ERROR: LoadError: Failed to precompile ColorVectorSpace [c3611d14-8923-5661-9e6a                                                                                        -0046d554d3a4] to /home/debian/.julia/compiled/v1.0/ColorVectorSpace/7uC4N.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1203
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853
 [6] include at ./boot.jl:317 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1044
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:319 [inlined]
 [11] eval(::Expr) at ./client.jl:393
 [12] top-level scope at ./none:3
in expression starting at /home/debian/.julia/packages/Images/BEHlD/src/Images.j                                                                                        l:32
ERROR: Failed to precompile Images [916415d5-f1e6-5110-898d-aaa5f9f070e0] to /ho                                                                                        me/debian/.julia/compiled/v1.0/Images/H8Vxc.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1203
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853

I have searched the internet for solutions but I have not found anything that works. Any idea what could be the problem and how to solve it?

my version information is:

julia> versioninfo()
Julia Version 1.0.4
Commit 38e9fb7f80 (2019-05-16 03:38 UTC)
Platform Info:
  OS: Linux (arm-linux-gnueabihf)
  CPU: ARMv7 Processor rev 2 (v7l)
  WORD_SIZE: 32
  LIBM: libm
  LLVM: libLLVM-6.0.0 (ORCJIT, cortex-a8)

Does running ] build Images in the REPL work fine?

you mean Pkg.build("Images")?
If so, answer me:

  Building SpecialFunctions β†’ `~/.julia/packages/SpecialFunctions/fvheQ/deps/build.log`
  Building Conda ───────────→ `~/.julia/packages/Conda/CpuvI/deps/build.log`
  Building FFTW ────────────→ `~/.julia/packages/FFTW/p7sLQ/deps/build.log`

but it still does not work using Images

and when i use:

build Images
ERROR: syntax: extra token "Images" after end of expression

There seems to be something broken about your Julia. I notice you’re on ARM, which may not be as well-supported as other processors. Since I don’t think there’s anything Images-specific about this, I’ve changed the title of your post in hopes that you’ll get better answers.

1 Like

thanks for the observation. I still think that it should be a compatibility problem, anyway it would be great to be able to run julia on an ARM processor