BinaryBuilder + Julia 1.7 picks up the wrong dependency
Closed this issue · 3 comments
jeremiahpslewis commented
Based on the following Dependency
, with Julia 1.6, the correct non-official binary is picked up, with Julia 1.7, the canonical JuliaBinaryWrappers
version is installed.
Dependency(PackageSpec(; name = "boost_jll", uuid = "28df3c45-c428-5900-9ff8-a3135698ca75", url = "https://github.com/jeremiahpslewis/boost_jll.jl.git")),
https://github.com/jeremiahpslewis/Yggdrasil/blob/jpsl/qlever_jll/Q/QLever/build_tarballs.jl#L104
giordano commented
I think this is a Pkg
bug:
julia> Pkg.add(Pkg.Types.Context(), [PackageSpec(; name = "boost_jll", uuid = "28df3c45-c428-5900-9ff8-a3135698ca75", url = "https://github.com/jeremiahpslewis/boost_jll.jl.git")])
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Installed boost_jll ─ v1.76.0+0
Downloaded artifact: boost
Updating `/tmp/jl_anMewZ/Project.toml`
[28df3c45] + boost_jll v1.76.0+0
Updating `/tmp/jl_anMewZ/Manifest.toml`
[692b3bcd] + JLLWrappers v1.4.0
[21216c6a] + Preferences v1.2.3
[28df3c45] + boost_jll v1.76.0+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
[deac9b47] + LibCURL_jll
[29816b5a] + LibSSH2_jll
[c8ffd9c3] + MbedTLS_jll
[14a3606d] + MozillaCACerts_jll
[83775a58] + Zlib_jll
[8e850ede] + nghttp2_jll
[3f19e933] + p7zip_jll
jeremiahpslewis commented
@giordano Should I create an issue @Pkg.jl or is there already one that covers this?
giordano commented
I wasn't aware of this other bug. JuliaLang/Pkg.jl#2942 is similar in the sense that Pkg.add(ctx, [PackageSpec])
does something wrong, but it's maybe unrelated.