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

Dependency Path-syntax causes error on Julia 1.7 #209

Open
jeremiahpslewis opened this issue Jan 27, 2022 · 0 comments
Open

Dependency Path-syntax causes error on Julia 1.7 #209

jeremiahpslewis opened this issue Jan 27, 2022 · 0 comments

Comments

@jeremiahpslewis
Copy link
Contributor

For the standard build command:

julia build_tarballs.jl --verbose --debug x86_64-linux-gnu

Tested on Julia 1.6 and there are no issues.

 Dependency(PackageSpec(; name = "boost_jll",  uuid = "28df3c45-c428-5900-9ff8-a3135698ca75", path = "/root/.julia/dev/boost_jll")),
  [3f19e933] + p7zip_jll v16.2.1+2
ERROR: LoadError: MethodError: no method matching get_last_stdlibs(::Nothing)
Closest candidates are:
  get_last_stdlibs(::VersionNumber) at ~/julia-1.7.1/share/julia/stdlib/v1.7/Pkg/src/Types.jl:416
Stacktrace:
 [1] stdlib_version(uuid::Base.UUID, julia_version::Nothing)
   @ BinaryBuilderBase ~/.julia/dev/BinaryBuilderBase/src/compat.jl:23
 [2] (::BinaryBuilderBase.var"#88#94"{Bool, Prefix, Vector{Pkg.Types.PackageSpec}, Platform, Vector{String}, Vector{String}})()
   @ BinaryBuilderBase ~/.julia/dev/BinaryBuilderBase/src/Prefix.jl:598
 [3] activate(f::BinaryBuilderBase.var"#88#94"{Bool, Prefix, Vector{Pkg.Types.PackageSpec}, Platform, Vector{String}, Vector{String}}, new_project::String)
   @ Pkg.API ~/julia-1.7.1/share/julia/stdlib/v1.7/Pkg/src/API.jl:1599
 [4] setup_dependencies(prefix::Prefix, dependencies::Vector{Pkg.Types.PackageSpec}, platform::Platform; verbose::Bool)
   @ BinaryBuilderBase ~/.julia/dev/BinaryBuilderBase/src/Prefix.jl:565
 [5] (::BinaryBuilder.var"#setup_deps#27")(f::typeof(BinaryBuilderBase.is_target_dependency), prefix::Prefix, dependencies::Vector{BinaryBuilderBase.AbstractDependency}, platform::Platform, verbose::Bool)
   @ BinaryBuilder ~/.julia/packages/BinaryBuilder/FL6q3/src/AutoBuild.jl:754
 [6] autobuild(dir::AbstractString, src_name::AbstractString, src_version::VersionNumber, sources::Vector{<:BinaryBuilderBase.AbstractSource}, script::AbstractString, platforms::Vector, products::Vector{<:Product}, dependencies::Vector{<:BinaryBuilderBase.AbstractDependency}; verbose::Bool, debug::Bool, skip_audit::Bool, ignore_audit_errors::Bool, autofix::Bool, code_dir::Union{Nothing, String}, require_license::Bool, kwargs::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}})
   @ BinaryBuilder ~/.julia/packages/BinaryBuilder/FL6q3/src/AutoBuild.jl:757
 [7] build_tarballs(ARGS::Any, src_name::Any, src_version::Any, sources::Any, script::Any, platforms::Any, products::Any, dependencies::Any; julia_compat::String, kwargs::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}})
   @ BinaryBuilder ~/.julia/packages/BinaryBuilder/FL6q3/src/AutoBuild.jl:321
 [8] top-level scope
   @ ~/Yggdrasil/Q/QLever/build_tarballs.jl:114
@giordano giordano transferred this issue from JuliaPackaging/BinaryBuilder.jl Jan 27, 2022
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

1 participant