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

BinaryBuilder + Julia 1.7 picks up the wrong dependency #210

Closed
jeremiahpslewis opened this issue Jan 27, 2022 · 3 comments
Closed

BinaryBuilder + Julia 1.7 picks up the wrong dependency #210

jeremiahpslewis opened this issue Jan 27, 2022 · 3 comments

Comments

@jeremiahpslewis
Copy link
Contributor

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

With 1.7:
Screen Shot 2022-01-27 at 16 26 53

With 1.6:
Screen Shot 2022-01-27 at 16 26 44

@giordano giordano transferred this issue from JuliaPackaging/BinaryBuilder.jl Jan 27, 2022
@giordano
Copy link
Member

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
Copy link
Contributor Author

@giordano Should I create an issue @Pkg.jl or is there already one that covers this?

@giordano
Copy link
Member

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.

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