FS#63537 - [julia] update not wok

Attached to Project: Community Packages
Opened by Ke Liu (specter119) - Friday, 23 August 2019, 09:19 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Saturday, 24 August 2019, 09:18 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

julia 1.2.0 update not work.

Additional info:
* package version(s) 1.2.0-1
* config and/or log files etc. fresh install
* link to upstream bug report, if any

Steps to reproduce:

enter julia, command `]`, then exec `update`

I get the message:

Cloning default registries into `~/.julia`
Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: could not load library "libgit2"
libcurl.so.4: ELF load command address/offset not properly aligned
Stacktrace:
[1] #up#43(::Pkg.Types.UpgradeLevel, ::Pkg.Types.PackageMode, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.up), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /build/julia/src/julia-1.2.0/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:149
[2] up at /build/julia/src/julia-1.2.0/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:143 [inlined]
[3] do_up!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /build/julia/src/julia-1.2.0/usr/share/julia/stdlib/v1.2/Pkg/src/REPLMode.jl:483
[4] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:789

then, `ldd /usr/lib/julia/libgit2.so `

I get:

/usr/lib/julia/libgit2.so: error while loading shared libraries: libcurl.so.4: ELF load command address/offset not properly aligned
This task depends upon

Closed by  Chih-Hsuan Yen (yan12125)
Saturday, 24 August 2019, 09:18 GMT
Reason for closing:  Duplicate
Additional comments about closing:  https://bugs.archlinux.org/task/63536
Comment by CR (g33kscientist) - Friday, 23 August 2019, 09:39 GMT
Duplicate of https://bugs.archlinux.org/task/63536

I also came across this problem. I tried the original binaries as per in the ticket https://github.com/JuliaLang/julia/issues/33038 (the user also uses Arch) and it does work fine, so it's an Arch issue.

I downloaded the PKGBUILD + additional files, and I found that line 11 of Maker.user is:

override USE_SYSTEM_LIBGIT2 = 0

I set it to 1 (so, override USE_SYSTEM_LIBGIT2 = 1), recompiled, and it works fine.

Loading...