FS#74683 - Julia cannot install package from git

Attached to Project: Arch Linux
Opened by Henry Gebhardt (hsgg) - Sunday, 08 May 2022, 21:17 GMT
Last edited by Antonio Rojas (arojas) - Monday, 09 May 2022, 12:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When in julia installing a package with a git URL, Julia fails on Arch.
This also happens when installing a registry with a git URL, essentially the same error (happy to post it).

I am using community/julia 2:1.7.2-2.

To reproduce, here is an example:

$ rm -rf ~/.julia
$ julia
julia> ]add git@github.com:hsgg/CryoFaBs.jl.git
Installing known registries into `~/.julia`
Cloning git-repo `git@github.com:hsgg/CryoFaBs.jl.git`
ERROR: BoundsError: attempt to access 1024-element Vector{UInt8} at index [0x0000000000000001:0x00005613544b1d40]
Stacktrace:
[1] do_cmd!(command::Pkg.REPLMode.Command, repl::REPL.LineEditREPL)
@ Pkg.REPLMode /usr/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:407
[2] do_cmd(repl::REPL.LineEditREPL, input::String; do_rethrow::Bool)
@ Pkg.REPLMode /usr/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:385
[3] do_cmd
@ /usr/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:376 [inlined]
[4] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)
@ Pkg.REPLMode /usr/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:549


The problem only manifests itself with the archlinux binaries. The official binaries from julialang.org work fine.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 09 May 2022, 12:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  julia 1.7.2-3

Loading...