Skip to content

BinaryBuilder: LoadError: could not find source path for package #4383

@giordano

Description

@giordano

Using Julia v1.12.0-rc1: https://github.com/EnzymeAD/ReactantBuilder/actions/runs/17480690107/job/49650426973?pr=1#step:7:81

   Resolving package versions...
ERROR: LoadError: could not find source path for package LLVMLibcxx_jll based on manifest /home/wmoses/actions-runner/_work/ReactantBuilder/ReactantBuilder/R/Reactant/build/aarch64-linux-gnu-cxx11-cuda_version+12.8-gpu+cuda-mode+opt/2NOwIyko/aarch64-linux-gnu-libgfortran5-cxx11-cuda_version+12.8-gpu+cuda-mode+opt/.project/Manifest.toml
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types ~/actions-runner/_work/_tool/julia/1.12.0-rc1/x64/share/julia/stdlib/v1.12/Pkg/src/Types.jl:68
  [2] fixups_from_projectfile!(ctx::Pkg.Types.Context)
    @ Pkg.Operations ~/actions-runner/_work/_tool/julia/1.12.0-rc1/x64/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:248
  [3] add(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}, new_git::Set{Base.UUID}; allow_autoprecomp::Bool, preserve::PreserveLevel, platform::Platform, target::Symbol)
    @ Pkg.Operations ~/actions-runner/_work/_tool/julia/1.12.0-rc1/x64/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:1736
  [4] add
    @ ~/actions-runner/_work/_tool/julia/1.12.0-rc1/x64/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:1706 [inlined]
  [5] add(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; preserve::PreserveLevel, platform::Platform, target::Symbol, allow_autoprecomp::Bool, kwargs::@Kwargs{julia_version::Nothing, io::IOContext{Base.PipeEndpoint}})
    @ Pkg.API ~/actions-runner/_work/_tool/julia/1.12.0-rc1/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:339
  [6] add(pkgs::Vector{PackageSpec}; io::IOContext{Base.PipeEndpoint}, kwargs::@Kwargs{platform::Platform, julia_version::Nothing})
    @ Pkg.API ~/actions-runner/_work/_tool/julia/1.12.0-rc1/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:164
  [7] add
    @ ~/actions-runner/_work/_tool/julia/1.12.0-rc1/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:153 [inlined]
  [8] (::BinaryBuilderBase.var"#92#93"{@Kwargs{platform::Platform, io::IOContext{Base.PipeEndpoint}, julia_version::Nothing}, Tuple{Vector{PackageSpec}}})()
    @ BinaryBuilderBase ~/.julia/packages/BinaryBuilderBase/dNGD5/src/Prefix.jl:696
  [9] withenv(f::BinaryBuilderBase.var"#92#93"{@Kwargs{platform::Platform, io::IOContext{Base.PipeEndpoint}, julia_version::Nothing}, Tuple{Vector{PackageSpec}}}, keyvals::Pair{String, String})
    @ Base ./env.jl:265
 [10] #Pkg_add#90
    @ ~/.julia/packages/BinaryBuilderBase/dNGD5/src/Prefix.jl:690 [inlined]
 [11] (::BinaryBuilderBase.var"#103#104"{Bool, Prefix, Vector{PackageSpec}, Platform, Vector{String}, Vector{String}})()
    @ BinaryBuilderBase ~/.julia/packages/BinaryBuilderBase/dNGD5/src/Prefix.jl:770
 [12] activate(f::BinaryBuilderBase.var"#103#104"{Bool, Prefix, Vector{PackageSpec}, Platform, Vector{String}, Vector{String}}, new_project::String)
    @ Pkg.API ~/actions-runner/_work/_tool/julia/1.12.0-rc1/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:1415
 [13] setup_dependencies(prefix::Prefix, dependencies::Vector{PackageSpec}, platform::Platform; verbose::Bool)
    @ BinaryBuilderBase ~/.julia/packages/BinaryBuilderBase/dNGD5/src/Prefix.jl:762
 [14] setup_dependencies
    @ ~/.julia/packages/BinaryBuilderBase/dNGD5/src/Prefix.jl:726 [inlined]
 [15] (::BinaryBuilder.var"#setup_deps#21")(f::typeof(BinaryBuilderBase.is_target_dependency), prefix::Prefix, dependencies::Vector{BinaryBuilderBase.AbstractDependency}, platform::Platform, verbose::Bool)
    @ BinaryBuilder ~/.julia/packages/BinaryBuilder/yHbT3/src/AutoBuild.jl:866
 [16] 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, dont_dlopen::Bool, compression_format::String, kwargs...)
    @ BinaryBuilder ~/.julia/packages/BinaryBuilder/yHbT3/src/AutoBuild.jl:869
 [17] build_tarballs(ARGS::Any, src_name::Any, src_version::Any, sources::Any, script::Any, platforms::Any, products::Any, dependencies::Any; julia_compat::String, validate_name::Bool, compression_format::String, kwargs...)
    @ BinaryBuilder ~/.julia/packages/BinaryBuilder/yHbT3/src/AutoBuild.jl:380
 [18] top-level scope
    @ ~/actions-runner/_work/ReactantBuilder/ReactantBuilder/R/Reactant/build_tarballs.jl:624
 [19] include(mod::Module, _path::String)
    @ Base ./Base.jl:303
 [20] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:321
 [21] _start()
    @ Base ./client.jl:554
in expression starting at /home/wmoses/actions-runner/_work/ReactantBuilder/ReactantBuilder/R/Reactant/build_tarballs.jl:623

Build recipe is https://github.com/EnzymeAD/ReactantBuilder/blob/70a3e8af49b7b02c35fd9634bd43037e7f62a2e7/R/Reactant/build_tarballs.jl, targeting aarch64-linux-gnu-cxx11-cuda_version+12.8-gpu+cuda-mode+opt.

CC @IanButterworth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    binarybuilderRelated to the use of Pkg in BinaryBuilder

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions