Error in compiling DifferentialEquantions on chromebook

I upgraded to julia 1.4.1 in chromebook, but I got a problem with DifferentialEquations:

julia> Pkg.add("DifferentialEquations")
  Resolving package versions...
   Updating `~/.julia/environments/v1.4/Project.toml`
 [no changes]
   Updating `~/.julia/environments/v1.4/Manifest.toml`
 [no changes]
julia> using DifferentialEquations
[ Info: Precompiling DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]
ERROR: LoadError: Failed to precompile BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d] to /home/marongiuluigi/.julia/compiled/v1.4/BoundaryValueDiffEq/Levrg_dUdWO.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922
 [6] include(::Module, ::String) at ./Base.jl:377
 [7] top-level scope at none:2
 [8] eval at ./boot.jl:331 [inlined]
 [9] eval(::Expr) at ./client.jl:449
 [10] top-level scope at ./none:3
in expression starting at /home/marongiuluigi/.julia/packages/DifferentialEquations/xCZD1/src/DifferentialEquations.jl:12
ERROR: Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to /home/marongiuluigi/.julia/compiled/v1.4/DifferentialEquations/UQdwS_dUdWO.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922

What is package Base.PkgId? Any solutions?

What is ]st -m for you?

Status `~/.julia/environments/v1.4/Manifest.toml`
  [1520ce14] AbstractTrees v0.3.3
  [79e6a3ab] Adapt v1.0.1
  [ec485272] ArnoldiMethod v0.0.4
  [4fba245c] ArrayInterface v2.8.7
  [4c555306] ArrayLayouts v0.2.6
  [bf4720bc] AssetRegistry v0.1.0
  [c52e3926] Atom v0.12.10
  [aae01518] BandedMatrices v0.15.6
  [764a87c0] BoundaryValueDiffEq v2.5.0
  [fa961155] CEnum v0.2.0
  [00ebfdb7] CSTParser v2.2.1
  [336ed68f] CSV v0.6.1
  [a603d957] CanonicalTraits v0.2.1
  [7057c7e9] Cassette v0.3.3
  [324d7699] CategoricalArrays v0.7.7
  [d360d2e6] ChainRulesCore v0.7.5
  [53a63b46] CodeTools v0.7.0
  [da1fd8a2] CodeTracking v0.5.11
  [3da002f7] ColorTypes v0.10.3
  [5ae59095] Colors v0.12.0
  [bbf7d656] CommonSubexpressions v0.2.0
  [34da2185] Compat v3.9.0
  [e66e0078] CompilerSupportLibraries_jll v0.3.3+0
  [8f4d0f93] Conda v1.4.1
  [88cd18e8] ConsoleProgressMonitor v0.1.2
  [187b0558] ConstructionBase v1.0.0
  [9a962f9c] DataAPI v1.3.0
  [a93c6f00] DataFrames v0.20.2
  [864edb3b] DataStructures v0.17.15
  [e2d170a0] DataValueInterfaces v1.0.0
  [bcd4f6db] DelayDiffEq v5.23.0
  [2b5f629d] DiffEqBase v6.32.1
  [459566f4] DiffEqCallbacks v2.13.1
  [5a0ffddc] DiffEqFinancial v2.2.1
  [c894b116] DiffEqJump v6.6.2
  [77a26b50] DiffEqNoiseProcess v3.10.0
  [055956cb] DiffEqPhysics v3.5.0
  [163ba53b] DiffResults v1.0.2
  [b552c78f] DiffRules v1.0.1
  [0c46a032] DifferentialEquations v6.13.0
  [c619ae07] DimensionalPlotRecipes v1.2.0
  [b4f34e82] Distances v0.8.2
  [33d173f1] DocSeeker v0.4.1
  [ffbed154] DocStringExtensions v0.8.1
  [d4d017d3] ExponentialUtilities v1.6.0
  [5789e2e9] FileIO v1.3.0
  [48062228] FilePathsBase v0.7.0
  [1a297f60] FillArrays v0.8.8
  [6a86dc24] FiniteDiff v2.3.1
  [53c48c17] FixedPointNumbers v0.8.0
  [08572546] FlameGraphs v0.2.3
  [f6369f11] ForwardDiff v0.10.10
  [069b7b12] FunctionWrappers v1.1.1
  [de31a74c] FunctionalCollections v0.5.0
  [6b9d7cbe] GeneralizedGenerated v0.2.3
  [01680d73] GenericSVD v0.3.0
  [cd3eb016] HTTP v0.8.14
  [9fb69e20] Hiccup v0.2.2
  [9b13fd28] IndirectArrays v0.5.1
  [d25df0c9] Inflate v0.1.2
  [83e8ac13] IniFile v0.5.0
  [41ab1584] InvertedIndices v1.0.0
  [42fd0dbc] IterativeSolvers v0.8.4
  [82899510] IteratorInterfaceExtensions v1.0.0
  [682c06a0] JSON v0.21.0
  [98e50ef6] JuliaFormatter v0.3.9
  [aa1ae85d] JuliaInterpreter v0.7.14
  [b14d175d] JuliaVariables v0.2.0
  [e5e0dc1b] Juno v0.8.1
  [7c4cb9fa] LNR v0.2.1
  [b964fa9f] LaTeXStrings v1.1.0
  [2ee39098] LabelledArrays v1.2.0
  [23fbe1c1] Latexify v0.12.0
  [50d2b5c4] Lazy v0.15.0
  [1d6d02ad] LeftChildRightSiblingTrees v0.1.2
  [093fc24a] LightGraphs v1.3.2
  [d3d80556] LineSearches v7.0.1
  [e6f89c97] LoggingExtras v0.4.0
  [d00139f3] METIS_jll v5.1.0+3
  [d8e11817] MLStyle v0.3.1
  [1914dd2f] MacroTools v0.5.5
  [739be429] MbedTLS v1.0.2
  [c8ffd9c3] MbedTLS_jll v2.16.0+2
  [e89f7d12] Media v0.5.0
  [e1d29d7a] Missings v0.4.3
  [961ee093] ModelingToolkit v3.1.1
  [46d2c3a1] MuladdMacro v0.2.2
  [f9640e96] MultiScaleArrays v1.8.1
  [d41bc354] NLSolversBase v7.6.1
  [2774e3e8] NLsolve v4.3.0
  [77ba4419] NaNMath v0.3.3
  [71a1bf82] NameResolution v0.1.3
  [510215fc] Observables v0.3.1
  [4536629a] OpenBLAS_jll v0.3.9+3
  [efe28fd5] OpenSpecFun_jll v0.5.3+3
  [bac558e1] OrderedCollections v1.2.0
  [1dea7af3] OrdinaryDiffEq v5.35.5
  [65888b18] ParameterizedFunctions v5.3.0
  [d96e819e] Parameters v0.12.0
  [69de0a69] Parsers v1.0.2
  [fa939f87] Pidfile v1.1.0
  [e409e4f3] PoissonRandom v0.4.0
  [2dfb63ee] PooledArrays v0.5.3
  [8162dcfd] PrettyPrint v0.1.0
  [33c8b6b6] ProgressLogging v0.1.2
  [92933f4c] ProgressMeter v1.2.0
  [438e738f] PyCall v1.91.4
  [d330b81b] PyPlot v2.9.0
  [e6cf234a] RandomNumbers v1.4.0
  [3cdcf5f2] RecipesBase v0.8.0
  [731186ca] RecursiveArrayTools v2.3.1
  [f2c3362d] RecursiveFactorization v0.1.0
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.0.1
  [ae5879a3] ResettableStacks v1.0.0
  [f2b01f46] Roots v1.0.1
  [1bc83da4] SafeTestsets v0.0.1
  [699a6c99] SimpleTraits v0.9.2
  [a2af1166] SortingAlgorithms v0.3.1
  [47a9eef4] SparseDiffTools v1.7.1
  [276daf66] SpecialFunctions v0.10.0
  [90137ffa] StaticArrays v0.12.3
  [9672c7b4] SteadyStateDiffEq v1.5.0
  [789caeaf] StochasticDiffEq v6.19.2
  [88034a9c] StringDistances v0.6.4
  [bea87d4a] SuiteSparse_jll v5.4.0+8
  [c3572dad] Sundials v4.2.1
  [fb77eaff] Sundials_jll v5.2.0+0
  [3783bdb8] TableTraits v1.0.0
  [bd369af6] Tables v1.0.4
  [5d786b92] TerminalLoggers v0.1.1
  [0796e94c] Tokenize v0.5.8
  [37b6cedf] Traceur v0.3.0
  [a2a6695c] TreeViews v0.3.0
  [30578b45] URIParser v0.4.1
  [3a884ed6] UnPack v0.1.0
  [1986cc42] Unitful v1.1.0
  [81def892] VersionParsing v1.2.0
  [19fa3120] VertexSafeGraphs v0.1.1
  [ea10d353] WeakRefStrings v0.6.2
  [0f1e0344] WebIO v0.8.11
  [104b5d7c] WebSockets v1.5.2
  [cc8bc4a8] Widgets v0.6.2
  [700de1a5] ZygoteRules v0.2.0
  [2a0f44e3] Base64 
  [ade2ca70] Dates 
  [8bb1440f] DelimitedFiles 
  [8ba89e20] Distributed 
  [7b1f6079] FileWatching 
  [9fa8497b] Future 
  [b77e0a4c] InteractiveUtils 
  [76f85450] LibGit2 
  [8f399da3] Libdl 
  [37e2e46d] LinearAlgebra 
  [56ddb016] Logging 
  [d6f4376e] Markdown 
  [a63ad114] Mmap 
  [44cfe95a] Pkg 
  [de0858da] Printf 
  [9abbd945] Profile 
  [3fa0cd96] REPL 
  [9a3f8284] Random 
  [ea8e919c] SHA 
  [9e88b42a] Serialization 
  [1a1011a3] SharedArrays 
  [6462fe0b] Sockets 
  [2f01184e] SparseArrays 
  [10745b16] Statistics 
  [4607b0f0] SuiteSparse 
  [8dfed614] Test 
  [cf7118a7] UUIDs 
  [4ec0a83e] Unicode 

Let’s try narrowing this down. Try just BoundaryValueDiffEq. Then try Just BandedMatrices? I assume the CPU is ARM? So it would be good to track this down.

No it is a chromebook but with pentium inside. In installing those packages:

julia> Pkg.add("BoundaryValueDiffEq")
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
  Installed OpenBLAS_jll ─ v0.3.9+4
Downloading artifact: OpenBLAS
   Updating `~/.julia/environments/v1.4/Project.toml`
  [764a87c0] + BoundaryValueDiffEq v2.5.0
   Updating `~/.julia/environments/v1.4/Manifest.toml`
  [4536629a] ↑ OpenBLAS_jll v0.3.9+3 β‡’ v0.3.9+4

julia> using BoundaryValueDiffEq
[ Info: Precompiling BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d]
ERROR: Failed to precompile BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d] to /home/marongiuluigi/.julia/compiled/v1.4/BoundaryValueDiffEq/Levrg_dUdWO.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922

julia> Pkg.add("BandedMatrices")
  Resolving package versions...
  Installed BandedMatrices ─ v0.15.7
   Updating `~/.julia/environments/v1.4/Project.toml`
  [aae01518] + BandedMatrices v0.15.7
   Updating `~/.julia/environments/v1.4/Manifest.toml`
  [aae01518] ↑ BandedMatrices v0.15.6 β‡’ v0.15.7

julia> using BandedMatrices
[ Info: Precompiling BandedMatrices [aae01518-5342-5314-be14-df237901396f]
ERROR: Failed to precompile BandedMatrices [aae01518-5342-5314-be14-df237901396f] to /home/marongiuluigi/.julia/compiled/v1.4/BandedMatrices/OxlqV_dUdWO.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922

What package is missing?

@dlfivefifty have you seen this before?

No I haven’t…does it work in the command line? Maybe wipe the Manifest.toml?

Continuing the discussion from Error in compiling DifferentialEquantions on chromebook:

Just to be sure that I am not using an ARM by mistake:

$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 122
Model name:            06/7a
Stepping:              1
CPU MHz:               1094.400
BogoMIPS:              2188.80
Virtualization:        VT-x
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             24K
L1i cache:             32K
L2 cache:              4096K
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq vmx ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand hypervisor lahf_lm 3dnowprefetch cpuid_fault pti ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms mpx rdseed smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves arat md_clear arch_capabilities

As for the terminal approach:

julia> using Pkg

julia> Pkg.add("BoundaryValueDiffEq")
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
   Updating `~/.julia/environments/v1.4/Project.toml`
 [no changes]
   Updating `~/.julia/environments/v1.4/Manifest.toml`
 [no changes]

julia> using BoundaryValueDiffEq
[ Info: Precompiling BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d]

julia> Pkg.add("BandedMatrices")
  Resolving package versions...
   Updating `~/.julia/environments/v1.4/Project.toml`
 [no changes]
   Updating `~/.julia/environments/v1.4/Manifest.toml`
 [no changes]

julia> using BandedMatrices

It worked fine. Back into Atom:

julia> β”Œ Warning: Atom.jl: unrecognised message `cacheCompletions`.
β”‚ Please make sure your Atom and Julia packages are in sync.
β”‚   - Try `using Pkg; Pkg.update()` to update this package.
β”‚   - Check for `julia-client` updates in Atom.
β”” @ Atom ~/.julia/packages/Atom/wlPiw/src/comm.jl:175
julia> using Pkg

julia> Pkg.update()
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Installed VertexSafeGraphs ── v0.1.2
  Installed Parsers ─────────── v1.0.3
  Installed FilePathsBase ───── v0.8.0
  Installed CategoricalArrays ─ v0.8.0
  Installed DataFrames ──────── v0.21.0
  Installed CSV ─────────────── v0.6.2
   Updating `~/.julia/environments/v1.4/Project.toml`
  [336ed68f] ↑ CSV v0.6.1 β‡’ v0.6.2
  [a93c6f00] ↑ DataFrames v0.20.2 β‡’ v0.21.0
   Updating `~/.julia/environments/v1.4/Manifest.toml`
  [336ed68f] ↑ CSV v0.6.1 β‡’ v0.6.2
  [324d7699] ↑ CategoricalArrays v0.7.7 β‡’ v0.8.0
  [a93c6f00] ↑ DataFrames v0.20.2 β‡’ v0.21.0
  [48062228] ↑ FilePathsBase v0.7.0 β‡’ v0.8.0
  [69de0a69] ↑ Parsers v1.0.2 β‡’ v1.0.3
  [19fa3120] ↑ VertexSafeGraphs v0.1.1 β‡’ v0.1.2

julia> Pkg.add("BoundaryValueDiffEq")
  Resolving package versions...
   Updating `~/.julia/environments/v1.4/Project.toml`
 [no changes]
   Updating `~/.julia/environments/v1.4/Manifest.toml`
 [no changes]

julia> using BoundaryValueDiffEq

Julia has exited.
Press Enter to start a new session.
julia> Pkg.add("BoundaryValueDiffEq")
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
   Updating `~/.julia/environments/v1.4/Project.toml`
 [no changes]
   Updating `~/.julia/environments/v1.4/Manifest.toml`
 [no changes]

julia> using BoundaryValueDiffEq

Julia has exited.

and so forth.
There is something really nasty about Atom going on. Is it possible to erase it and install it again? I think there is a major issue with julia-client

Even after updating all packages, the issue is still there:

julia> using Pkg

julia> using BoundaryValueDiffEq

Julia has exited.

following this post I managed to update julia-client. Alla packages are updated but D.E.:

julia> using Pkg

julia> Pkg.update()
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Installed UnPack ────────────── v1.0.0
  Installed Unitful ───────────── v1.2.0
  Installed CSTParser ─────────── v2.3.0
  Installed DelayDiffEq ───────── v5.24.1
  Installed BandedMatrices ────── v0.15.8
  Installed DiffEqBase ────────── v6.32.2
  Installed OrdinaryDiffEq ────── v5.36.1
  Installed LightGraphs ───────── v1.3.3
  Installed Parameters ────────── v0.12.1
  Installed Compat ────────────── v3.9.1
  Installed ArrayLayouts ──────── v0.3.1
  Installed DiffEqJump ────────── v6.6.3
  Installed RecursiveArrayTools ─ v2.3.2
  Installed WebIO ─────────────── v0.8.14
  Installed StochasticDiffEq ──── v6.20.0
  Installed FillArrays ────────── v0.8.9
  Installed ModelingToolkit ───── v2.0.0
  Installed JuliaInterpreter ──── v0.7.15
   Updating `~/.julia/environments/v1.4/Project.toml`
  [aae01518] ↑ BandedMatrices v0.15.7 β‡’ v0.15.8
   Updating `~/.julia/environments/v1.4/Manifest.toml`
  [4c555306] ↑ ArrayLayouts v0.2.6 β‡’ v0.3.1
  [aae01518] ↑ BandedMatrices v0.15.7 β‡’ v0.15.8
  [00ebfdb7] ↑ CSTParser v2.2.1 β‡’ v2.3.0
  [34da2185] ↑ Compat v3.9.0 β‡’ v3.9.1
  [bcd4f6db] ↑ DelayDiffEq v5.23.0 β‡’ v5.24.1
  [2b5f629d] ↑ DiffEqBase v6.32.1 β‡’ v6.32.2
  [c894b116] ↑ DiffEqJump v6.6.2 β‡’ v6.6.3
  [1a297f60] ↑ FillArrays v0.8.8 β‡’ v0.8.9
  [59287772] + Formatting v0.4.1
  [aa1ae85d] ↑ JuliaInterpreter v0.7.14 β‡’ v0.7.15
  [23fbe1c1] ↑ Latexify v0.12.0 β‡’ v0.13.1
  [093fc24a] ↑ LightGraphs v1.3.2 β‡’ v1.3.3
  [961ee093] ↓ ModelingToolkit v3.1.1 β‡’ v2.0.0
  [1dea7af3] ↑ OrdinaryDiffEq v5.35.5 β‡’ v5.36.1
  [d96e819e] ↑ Parameters v0.12.0 β‡’ v0.12.1
  [731186ca] ↑ RecursiveArrayTools v2.3.1 β‡’ v2.3.2
  [789caeaf] ↑ StochasticDiffEq v6.19.2 β‡’ v6.20.0
  [3a884ed6] ↑ UnPack v0.1.0 β‡’ v1.0.0
  [1986cc42] ↑ Unitful v1.1.0 β‡’ v1.2.0
  [0f1e0344] ↑ WebIO v0.8.11 β‡’ v0.8.14
   Building WebIO β†’ `~/.julia/packages/WebIO/nTMDV/deps/build.log`

julia> using DifferentialEquations
[ Info: Precompiling DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]

signal (7): Bus error
in expression starting at /home/marongiuluigi/.julia/packages/Sundials_jll/bDgRw/src/Sundials_jll.jl:40
unknown function (ip: 0x7d385373012a)
_ZN4llvm15RuntimeDyldImpl11emitSectionERKNS_6object10ObjectFileERKNS1_10SectionRefEb at /opt/Julia/bin/../lib/julia/libLLVM-8jl.so (unknown line)
_ZN4llvm15RuntimeDyldImpl17findOrEmitSectionERKNS_6object10ObjectFileERKNS1_10SectionRefEbRSt3mapIS5_jSt4lessIS5_ESaISt4pairIS6_jEEE at /opt/Julia/bin/../lib/julia/libLLVM-8jl.so (unknown line)
_ZN4llvm15RuntimeDyldImpl14loadObjectImplERKNS_6object10ObjectFileE at /opt/Julia/bin/../lib/julia/libLLVM-8jl.so (unknown line)
_ZN4llvm14RuntimeDyldELF10loadObjectERKNS_6object10ObjectFileE at /opt/Julia/bin/../lib/julia/libLLVM-8jl.so (unknown line)
_ZN4llvm11RuntimeDyld10loadObjectERKNS_6object10ObjectFileE at /opt/Julia/bin/../lib/julia/libLLVM-8jl.so (unknown line)
finalize at /buildworker/worker/package_linux64/build/usr/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:230
emitAndFinalize at /buildworker/worker/package_linux64/build/usr/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:440 [inlined]
emitAndFinalize at /buildworker/worker/package_linux64/build/usr/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h:118 [inlined]
addModule at /buildworker/worker/package_linux64/build/src/jitlayers.cpp:498
jl_add_to_ee at /buildworker/worker/package_linux64/build/src/jitlayers.cpp:747 [inlined]
jl_finalize_function at /buildworker/worker/package_linux64/build/src/jitlayers.cpp:755
getAddressForFunction at /buildworker/worker/package_linux64/build/src/codegen.cpp:1414
jl_generate_fptr at /buildworker/worker/package_linux64/build/src/codegen.cpp:1510
jl_compile_method_internal at /buildworker/worker/package_linux64/build/src/gf.c:1912
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2153 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2322
grow_to! at ./dict.jl:143
dict_with_eltype at ./abstractdict.jl:549 [inlined]
Dict at ./dict.jl:128
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2158 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2322
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1700 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:369
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:458
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:409 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:817
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:911
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:814
jl_eval_module_expr at /buildworker/worker/package_linux64/build/src/toplevel.c:181
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:640
jl_parse_eval_all at /buildworker/worker/package_linux64/build/src/ast.c:872
jl_load at /buildworker/worker/package_linux64/build/src/toplevel.c:872
include at ./Base.jl:377
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2144 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2322
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1700 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:369
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:458
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:409 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:817
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:744
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:911
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:814
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:843
eval at ./boot.jl:331 [inlined]
eval at ./client.jl:449
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2144 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2322
top-level scope at ./none:3
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:808
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:764
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:843
eval at ./boot.jl:331
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2144 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2322
exec_options at ./client.jl:264
_start at ./client.jl:484
jfptr__start_2075 at /opt/Julia/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2144 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2322
jl_apply at /buildworker/worker/package_linux64/build/ui/../src/julia.h:1700 [inlined]
true_main at /buildworker/worker/package_linux64/build/ui/repl.c:96
main at /buildworker/worker/package_linux64/build/ui/repl.c:217
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at /opt/Julia/bin/julia (unknown line)
Allocations: 830485 (Pool: 830254; Big: 231); GC: 1
ERROR: LoadError: Failed to precompile Sundials [c3572dad-4567-51f8-b174-8c6c989267f4] to /home/marongiuluigi/.julia/compiled/v1.4/Sundials/j8Ppj_dUdWO.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922
 [6] include(::Module, ::String) at ./Base.jl:377
 [7] top-level scope at none:2
 [8] eval at ./boot.jl:331 [inlined]
 [9] eval(::Expr) at ./client.jl:449
 [10] top-level scope at ./none:3
in expression starting at /home/marongiuluigi/.julia/packages/DifferentialEquations/xCZD1/src/DifferentialEquations.jl:13
ERROR: Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to /home/marongiuluigi/.julia/compiled/v1.4/DifferentialEquations/UQdwS_dUdWO.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922

julia> 

What does ]build Sundials give you?

julia> ]build Sundials
ERROR: syntax: unexpected "]"
Stacktrace:
 [1] top-level scope at none:0

julia> ] build Sundials
ERROR: syntax: unexpected "]"
Stacktrace:
 [1] top-level scope at none:0

(@v1.4) pkg> build Sundials

(@v1.4) pkg> 

After you rebuilt Sundials did it work out?

Nope:

julia> using DifferentialEquations
[ Info: Precompiling DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]
ERROR: Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to /home/marongiuluigi/.julia/compiled/v1.4/DifferentialEquations/UQdwS_dUdWO.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922

Can you show the full error? Why did it fail to precompile?

That is the full error. I tried to add this package PkgId but

julia> Pkg.add("PkgId")
ERROR: The following package names could not be resolved:
 * PkgId (not found in project, manifest or registry)

Stacktrace:
 [1] pkgerror(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Types.jl:53
 [2] ensure_resolved(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; registry::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Types.jl:794
 [3] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.Linux, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:148
 [4] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:112
 [5] #add#27 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:109 [inlined]
 [6] add at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:109 [inlined]
 [7] #add#24 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:107 [inlined]
 [8] add at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:107 [inlined]
 [9] add(::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:106
 [10] add(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:106
 [11] top-level scope at REPL[5]:100:

julia> Pkg.add("Base.PkgId")
ERROR: `Base.PkgId` is not a valid package name
Stacktrace:
 [1] pkgerror(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Types.jl:53
 [2] check_package_name(::String, ::Symbol) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:52
 [3] #25 at ./none:0 [inlined]
 [4] iterate at ./generator.jl:47 [inlined]
 [5] collect(::Base.Generator{Array{String,1},Pkg.API.var"#25#26"}) at ./array.jl:665
 [6] #add#24 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:107 [inlined]
 [7] add at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:107 [inlined]
 [8] add(::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:106
 [9] add(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:106
 [10] top-level scope at REPL[6]:1

Try ]build DifferentialEquations and see if anything changes? This is weird.

Nothing, it does not work:

(@v1.4) pkg> build DifferentialEquations

julia> using DifferentialEquations
[ Info: Precompiling DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]
ERROR: Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to /home/marongiuluigi/.julia/compiled/v1.4/DifferentialEquations/UQdwS_dUdWO.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922

What is this Base.Pkg? Does DifferentialEquantion work on chromebooks? I don’t have an ARM but an Intel processor…

I have no idea what it could be. If you add and using OrdinaryDiffEq are you fine? Is it just BoundaryValueDiffEq?

The first looks promising:

julia> using Pkg

julia> Pkg.add("OrdinaryDiffEq")
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
   Updating `~/.julia/environments/v1.4/Project.toml`
  [1dea7af3] + OrdinaryDiffEq v5.36.1
   Updating `~/.julia/environments/v1.4/Manifest.toml`
 [no changes]

julia> using OrdinaryDiffEq

The second, not:

julia> Pkg.add("BoundaryValueDiffEq")
  Resolving package versions...
   Updating `~/.julia/environments/v1.4/Project.toml`
 [no changes]
   Updating `~/.julia/environments/v1.4/Manifest.toml`
 [no changes]

julia> using BoundaryValueDiffEq
Killed