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.jl seems to fail when using containerd (Docker Desktop beta feature) #1260

Open
jeremiahpslewis opened this issue Jan 24, 2023 · 0 comments

Comments

@jeremiahpslewis
Copy link
Contributor

Error when the option is toggled (on M1 Mac), no error when it's off.

[ Info: Copying content of bundled in srcdir...
[ Info: Checking to see if /Users/a/git/Yggdrasil/O/oneTBB/build/x86_64-linux-gnu/gjthGra2/ is encrypted...
[ Info: Couldn't open /proc/mounts, returning...
[ Info: Checking to see if /Users/a/.julia/packages/BinaryBuilderBase/oHRR1/deps/ is encrypted...
[ Info: Couldn't open /proc/mounts, returning...
[ Info: Importing docker base image from /Users/a/.julia/artifacts/d0c08357d84c092c9d6a8bad715001ad33e3d5d5 to julia_binarybuilder_rootfs:v2022.4.15-e3d5d5
Error response from daemon: not implemented
tar: Write error
ERROR: LoadError: failed processes:
  Process(`tar -c -C /Users/a/.julia/artifacts/d0c08357d84c092c9d6a8bad715001ad33e3d5d5 .`, ProcessExited(1)) [1]
  Process(`docker import - -c 'ENTRYPOINT ["/docker_entrypoint.sh"]' julia_binarybuilder_rootfs:v2022.4.15-e3d5d5`, ProcessExited(1)) [1]

Stacktrace:
  [1] pipeline_error(procs::Base.ProcessChain)
    @ Base ./process.jl:578
  [2] run(::Base.CmdRedirect; wait::Bool)
    @ Base ./process.jl:480
  [3] run
    @ ./process.jl:477 [inlined]
  [4] import_docker_image(rootfs::BinaryBuilderBase.CompilerShard, workspace_root::String; verbose::Bool)
    @ BinaryBuilderBase ~/.julia/packages/BinaryBuilderBase/oHRR1/src/DockerRunner.jl:56
  [5] BinaryBuilderBase.DockerRunner(workspace_root::String; cwd::String, platform::Platform, workspaces::Vector{Pair{String, String}}, extra_env::Dict{String, String}, verbose::Bool, compiler_wrapper_path::String, toolchains_path::String, src_name::String, shards::Vector{BinaryBuilderBase.CompilerShard}, kwargs::Base.Pairs{Symbol, Any, Tuple{Symbol, Symbol}, NamedTuple{(:compiler_wrapper_dir, :preferred_gcc_version), Tuple{String, VersionNumber}}})
    @ BinaryBuilderBase ~/.julia/packages/BinaryBuilderBase/oHRR1/src/DockerRunner.jl:89
  [6] kwcall(::NamedTuple{(:cwd, :platform, :verbose, :workspaces, :compiler_wrapper_dir, :src_name, :shards, :preferred_gcc_version), Tuple{String, Platform, Bool, Vector{Pair{String, String}}, String, String, Vector{BinaryBuilderBase.CompilerShard}, VersionNumber}}, ::Type{BinaryBuilderBase.DockerRunner}, workspace_root::String)
    @ BinaryBuilderBase ~/.julia/packages/BinaryBuilderBase/oHRR1/src/DockerRunner.jl:70
  [7] 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/0CUml/src/AutoBuild.jl:796
  [8] kwcall(::Any, ::typeof(autobuild), dir::AbstractString, src_name::AbstractString, src_version::VersionNumber, sources::Vector{<:BinaryBuilderBase.AbstractSource}, script::AbstractString, platforms::Vector, products::Vector{<:Product}, dependencies::Vector{<:BinaryBuilderBase.AbstractDependency})
    @ BinaryBuilder ~/.julia/packages/BinaryBuilder/0CUml/src/AutoBuild.jl:732
  [9] 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/0CUml/src/AutoBuild.jl:347
 [10] kwcall(::Any, ::typeof(build_tarballs), ARGS::Any, src_name::Any, src_version::Any, sources::Any, script::Any, platforms::Any, products::Any, dependencies::Any)
    @ BinaryBuilder ~/.julia/packages/BinaryBuilder/0CUml/src/AutoBuild.jl:171
 [11] top-level scope
    @ ~/git/Yggdrasil/O/oneTBB/build_tarballs.jl:67
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