Skip to content

failed to precompile #33

@bjarthur

Description

@bjarthur
% julia --project=@temp
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.3 (2025-01-21)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@temp) pkg> add DiskArrayTools
   Resolving package versions...
    Updating `~/.julia/environments/temp/Project.toml`
  [fcd2136c] + DiskArrayTools v0.1.11
    Updating `~/.julia/environments/temp/Manifest.toml`
  [79e6a3ab] + Adapt v4.1.1
  [13072b0f] + AxisAlgorithms v1.1.0
  [d360d2e6] + ChainRulesCore v1.25.1
  [34da2185] + Compat v4.16.0
  [fcd2136c] + DiskArrayTools v0.1.11
  [3c3547ce] + DiskArrays v0.4.10
  [a98d9a8b] + Interpolations v0.15.1
  [c8e1da08] + IterTools v1.10.0
  [8ac3fa9e] + LRUCache v1.6.1
  [6fe1bfb0] + OffsetArrays v1.15.0
  [aea7be01] + PrecompileTools v1.2.1
  [21216c6a] + Preferences v1.4.3
  [c84ed2f1] + Ratios v0.4.5
  [ae029012] + Requires v1.3.0
  [90137ffa] + StaticArrays v1.9.12
  [1e83bf80] + StaticArraysCore v1.4.3
  [efce3f68] + WoodburyMatrices v1.0.0
  [56f22d72] + Artifacts v1.11.0
  [ade2ca70] + Dates v1.11.0
  [8ba89e20] + Distributed v1.11.0
  [8f399da3] + Libdl v1.11.0
  [37e2e46d] + LinearAlgebra v1.11.0
  [a63ad114] + Mmap v1.11.0
  [de0858da] + Printf v1.11.0
  [9a3f8284] + Random v1.11.0
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization v1.11.0
  [1a1011a3] + SharedArrays v1.11.0
  [6462fe0b] + Sockets v1.11.0
  [2f01184e] + SparseArrays v1.11.0
  [fa267f1f] + TOML v1.0.3
  [cf7118a7] + UUIDs v1.11.0
  [4ec0a83e] + Unicode v1.11.0
  [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0
  [4536629a] + OpenBLAS_jll v0.3.27+1
  [bea87d4a] + SuiteSparse_jll v7.7.0+0
  [8e850b90] + libblastrampoline_jll v5.11.0+0
Precompiling project...
  ✗ DiskArrayTools
  0 dependencies successfully precompiled in 2 seconds. 34 already precompiled.
  1 dependency errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:

DiskArrayTools 

Failed to precompile DiskArrayTools [fcd2136c-9f69-4db6-97e5-f31981721d63] to "/Users/arthurb/.julia/compiled/v1.11/DiskArrayTools/jl_MILHF3".
WARNING: could not import DiskArrays.findints into DiskArrayTools
WARNING: could not import DiskArrays.ChunkType into DiskArrayTools
ERROR: LoadError: UndefVarError: `ChunkType` not defined in `DiskArrayTools`
Stacktrace:
 [1] top-level scope
   @ ~/.julia/packages/DiskArrayTools/veirj/src/DiskArrayTools.jl:160
 [2] include
   @ ./Base.jl:557 [inlined]
 [3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2881
 [4] top-level scope
   @ stdin:6
in expression starting at /Users/arthurb/.julia/packages/DiskArrayTools/veirj/src/DiskArrayTools.jl:1
in expression starting at stdin:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions