Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning(?) from git-remote-https with Julia 1.7 #43

Closed
GunnarFarneback opened this issue Jan 25, 2022 · 4 comments
Closed

Warning(?) from git-remote-https with Julia 1.7 #43

GunnarFarneback opened this issue Jan 25, 2022 · 4 comments

Comments

@GunnarFarneback
Copy link
Contributor

On Julia 1.7 I'm getting this somewhat scary and at least annoying output when running a git clone:

/tmp/testdepot/artifacts/33c5e3a13ad6427f86436f577c0edce1e468ac80/libexec/git-core/git-remote-https: /home/gunnar/julia1.7/bin/../lib/julia/libcurl.so.4: no version information available (required by /tmp/testdepot/artifacts/33c5e3a13ad6427f86436f577c0edce1e468ac80/libexec/git-core/git-remote-https)

The command seems successful though.

Complete reproducer (Ubuntu 20.04):

$ mkdir /tmp/testdepot 
$ JULIA_DEPOT_PATH=/tmp/testdepot julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.7.0 (2021-11-30)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.7) pkg> add Git
  Installing known registries into `/tmp/testdepot`
    Updating registry at `/tmp/testdepot/registries/General.toml`
   Resolving package versions...
   Installed OpenSSL_jll ── v1.1.13+0
   Installed XML2_jll ───── v2.9.12+0
   Installed Expat_jll ──── v2.2.10+0
   Installed Git_jll ────── v2.34.1+0
   Installed Gettext_jll ── v0.21.0+0
   Installed Git ────────── v1.2.1
   Installed Preferences ── v1.2.3
   Installed JLLWrappers ── v1.4.0
   Installed Libiconv_jll ─ v1.16.1+1
  Downloaded artifact: Expat
  Downloaded artifact: OpenSSL
  Downloaded artifact: XML2
  Downloaded artifact: Gettext
  Downloaded artifact: Git
  Downloaded artifact: Libiconv
    Updating `/tmp/testdepot/environments/v1.7/Project.toml`
  [d7ba0133] + Git v1.2.1
    Updating `/tmp/testdepot/environments/v1.7/Manifest.toml`
  [d7ba0133] + Git v1.2.1
  [692b3bcd] + JLLWrappers v1.4.0
  [21216c6a] + Preferences v1.2.3
  [2e619515] + Expat_jll v2.2.10+0
  [78b55507] + Gettext_jll v0.21.0+0
  [f8c6e375] + Git_jll v2.34.1+0
  [94ce4f54] + Libiconv_jll v1.16.1+1
  [458c3c95] + OpenSSL_jll v1.1.13+0
  [02c8fc9c] + XML2_jll v2.9.12+0
  [0dad84c5] + ArgTools
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [f43a241f] + Downloads
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [ca575930] + NetworkOptions
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML
  [a4e569a6] + Tar
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll
  [deac9b47] + LibCURL_jll
  [29816b5a] + LibSSH2_jll
  [c8ffd9c3] + MbedTLS_jll
  [14a3606d] + MozillaCACerts_jll
  [efcefdf7] + PCRE2_jll
  [83775a58] + Zlib_jll
  [8e850ede] + nghttp2_jll
  [3f19e933] + p7zip_jll
Precompiling project...
  14 dependencies successfully precompiled in 3 seconds

julia> using Git

julia> run(`$(Git.git()) -C $(mktempdir()) clone https://github.com/JuliaRegistries/General.git`);
Cloning into 'General'...
/tmp/testdepot/artifacts/33c5e3a13ad6427f86436f577c0edce1e468ac80/libexec/git-core/git-remote-https: /home/gunnar/julia1.7/bin/../lib/julia/libcurl.so.4: no version information available (required by /tmp/testdepot/artifacts/33c5e3a13ad6427f86436f577c0edce1e468ac80/libexec/git-core/git-remote-https)
remote: Enumerating objects: 528899, done.
remote: Counting objects: 100% (52/52), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 528899 (delta 11), reused 46 (delta 9), pack-reused 528847
Receiving objects: 100% (528899/528899), 157.29 MiB | 14.70 MiB/s, done.
Resolving deltas: 100% (288515/288515), done.
@giordano
Copy link
Member

giordano commented Jan 25, 2022

It's a harmless warning, which should have been fixed by JuliaPackaging/Yggdrasil#3219. Maybe that build didn't make it to Julia v1.7?

@GunnarFarneback
Copy link
Contributor Author

Good to know it's annoying only. I'll see if I can find out why this is different on 1.7.

@GunnarFarneback
Copy link
Contributor Author

It looks like the last update in Julia 1.7 was JuliaLang/julia#39625, which predates that fix. But why doesn't this happen on 1.6?

@giordano
Copy link
Member

This is fixed in recent versions of Julia (definitely 1.8.5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants