JuliaPackaging / BinaryBuilder.jl

Binary Dependency Builder for Julia
https://binarybuilder.org
Other
391 stars 99 forks source link

wizard crash #1323

Open FoolishEndeavour opened 5 months ago

FoolishEndeavour commented 5 months ago

julia 1.10.2

┌ Info: Cloning git repository
│   url = ["https://github.com/..."](https://github.com/...)
└   repo_path = "..../.julia/packages/BinaryBuilderBase/tGUXK/deps/downloads/clones/..."
TypeError: in setfield!, expected Int64, got a value of type UInt32
Stacktrace:
  [1] setproperty!(p::ProgressMeter.Progress, name::Symbol, value::UInt32)
    @ ProgressMeter ~/.julia/packages/ProgressMeter/dMfiC/src/ProgressMeter.jl:26
  [2] transfer_progress(progress::Ptr{BinaryBuilderBase.GitTransferProgress}, payloads::Dict{Symbol, Any})
    @ BinaryBuilderBase ~/.julia/packages/BinaryBuilderBase/tGUXK/src/Sources.jl:192
  [3] macro expansion
    @ /usr/sms/share/julia/1.10.2/x86_64/share/julia/stdlib/v1.10/LibGit2/src/error.jl:110 [inlined]
  [4] clone(repo_url::String, repo_path::String, clone_opts::LibGit2.CloneOptions)
    @ LibGit2 /usr/sms/share/julia/1.10.2/x86_64/share/julia/stdlib/v1.10/LibGit2/src/repository.jl:459
  [5] clone(repo_url::String, repo_path::String; branch::String, isbare::Bool, remote_cb::Ptr{Nothing}, credentials::Nothing, callbacks::Dict{Symbol, Tuple{Ptr{Nothing}, Any}})
    @ LibGit2 /usr/sms/share/julia/1.10.2/x86_64/share/julia/stdlib/v1.10/LibGit2/src/LibGit2.jl:585
  [6] clone
    @ /usr/sms/share/julia/1.10.2/x86_64/share/julia/stdlib/v1.10/LibGit2/src/LibGit2.jl:558 [inlined]
  [7] cached_git_clone(url::String; hash_to_check::Nothing, downloads_dir::String, verbose::Bool, progressbar::Bool)
    @ BinaryBuilderBase ~/.julia/packages/BinaryBuilderBase/tGUXK/src/Sources.jl:241
  [8] cached_git_clone
    @ ~/.julia/packages/BinaryBuilderBase/tGUXK/src/Sources.jl:203 [inlined]
  [9] download_source(state::BinaryBuilder.Wizard.WizardState)
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/L8tBh/src/wizard/obtain_source.jl:87
 [10] obtain_source(state::BinaryBuilder.Wizard.WizardState)
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/L8tBh/src/wizard/obtain_source.jl:279
 [11] step2(state::BinaryBuilder.Wizard.WizardState)
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/L8tBh/src/wizard/obtain_source.jl:379
 [12] run_wizard(state::Nothing)
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/L8tBh/src/Wizard.jl:101
 [13] run_wizard()
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/L8tBh/src/Wizard.jl:87
 [14] top-level scope
    @ REPL[6]:1
 ...

I suspect its related to terminal settings - was ssh'd into a Debian Linux server from terminal window on an old mac. Some details,

~$ echo $TERM
xterm-256color

Opening a distinct xterm window this step did not crash.