Skip to content

GMT.jl v1.18.0 precompile failed under macOS Sonoma 14.7 #1542

@melodyjulia

Description

@melodyjulia

Please see the following error message:

ERROR: The following 1 direct dependency failed to precompile:

GMT [5752ebe1-31b9-557e-87aa-f909b540aa54]

Failed to precompile GMT [5752ebe1-31b9-557e-87aa-f909b540aa54] to "/Users/test/.julia/compiled/v1.10/GMT/jl_IEFmYy".
grdimage [ERROR]: Option -R parsing failure. Correct syntax:

  -R<west>/<east>/<south>/<north>[+r]
     Specify the min/max coordinates of your data region in user units. Use dd:mm[:ss] for regions given in arc degrees, minutes [and seconds]. Use -R<xmin>/<xmax>/<ymin>/<ymax>[+u<unit>] for regions given in projected coordinates, with <unit>
     selected from e|f|k|M|n|u [Default: e]. If +u is set, projected regions centered on (0,0) may be set via -R<halfwidth>[/<halfheight>]+u<unit>, where <halfheight> defaults to <halfwidth> if not given. Use [yyyy[-mm[-dd]]]T[hh[:mm[:ss[.xxx]]]]
     format for time axes. Append +r if -R specifies the coordinates of the lower left and upper right corners of a rectangular area.
     Alternatively, use -R<code><x0>/<y0>/<n_columns>/<n_rows> for origin and grid dimensions, where <code> is a 2-char combo from [T|M|B][L|C|R] (top/middle/bottom/left/center/right) and grid spacing must be specified via -I<dx>[/<dy>] (also see
     -r).
grdimage [ERROR]: Offending option -R32/1.976262583365e-323/3.024720436637e-314/1.976262583365e-323
ERROR: LoadError: Something went wrong when calling the module. GMT error number = 72
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] gmt(::String, ::GMT.GMTgrid{Float32, 2}, ::Vararg{Any})
    @ GMT ~/.julia/packages/GMT/XumeP/src/gmt_main.jl:170
  [3] finish_PS_module(::Dict{Symbol, Any}, ::Vector{String}, ::String, ::Bool, ::Bool, ::Bool, ::GMT.GMTgrid{Float32, 2}, ::Vararg{Any})
    @ GMT ~/.julia/packages/GMT/XumeP/src/common_options.jl:4449
  [4] grdimage(cmd0::String, arg1::Matrix{Float32}, arg2::Nothing, arg3::Nothing; first::Bool, kwargs::@Kwargs{})
    @ GMT ~/.julia/packages/GMT/XumeP/src/grdimage.jl:145
  [5] grdimage
    @ ~/.julia/packages/GMT/XumeP/src/grdimage.jl:51 [inlined]
  [6] grdimage (repeats 2 times)
    @ ~/.julia/packages/GMT/XumeP/src/grdimage.jl:225 [inlined]
  [7] macro expansion
    @ ~/.julia/packages/GMT/XumeP/src/GMT.jl:352 [inlined]
  [8] macro expansion
    @ ~/.julia/packages/PrecompileTools/L8A3n/src/workloads.jl:140 [inlined]
  [9] top-level scope
    @ ~/.julia/packages/GMT/XumeP/src/GMT.jl:332
 [10] include
    @ ./Base.jl:495 [inlined]
 [11] 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:2222
 [12] top-level scope
    @ stdin:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions