JuliaHEP / Minuit2_Julia_Wrapper

GNU Lesser General Public License v2.1
1 stars 0 forks source link

LoadError: julia_binarybuilder_rootfs:v2020.8.19-cc8098 no such file or directory #2

Open mmikhasenko opened 3 years ago

mmikhasenko commented 3 years ago

Error when building the tarballs with julia v1.5.3

PS C:\Users\LLL\Documents> & 'C:\Users\LLL\AppData\Local\Programs\Julia 1.5.3\\bin\julia.exe' Minuit2_Julia_Wrapper/.ci/build_tarballs.jl x86_64-w64-mingw32-cxx11 --deploy=local
[ Info: Building for x86_64-w64-mingw32-cxx11
[ Info: Directory "Minuit2_Julia_Wrapper" found
   Updating registry at `C:\Users\LLL\.julia\registries\General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
ERROR: LoadError: IOError: could not spawn `docker inspect --type=image julia_binarybuilder_rootfs:v2020.8.19-cc8098`: no such file or directory (ENOENT)
Stacktrace:
 [1] _spawn_primitive(::String, ::Cmd, ::Array{Any,1}) at .\process.jl:99
 [2] #585 at .\process.jl:112 [inlined]
 [3] setup_stdios(::Base.var"#585#586"{Cmd}, ::Array{Any,1}) at .\process.jl:196
 [4] _spawn at .\process.jl:111 [inlined]
 [5] _spawn at .\process.jl:106 [inlined]
 [6] success(::Cmd) at .\process.jl:496
 [7] import_docker_image(::BinaryBuilderBase.CompilerShard, ::String; verbose::Bool) at C:\Users\LLL\.julia\packages\BinaryBuilderBase\fylAz\src\DockerRunner.jl:42
 [8] BinaryBuilderBase.DockerRunner(::String; cwd::String, platform::Windows, workspaces::Array{Pair{String,String},1}, extra_env::Dict{String,String}, verbose::Bool, compiler_wrapper_path::String, src_name::String, shards::Array{BinaryBuilderBase.CompilerShard,1}, kwargs::Base.Iterators.Pairs{Symbol,Any,Tuple{Symbol,Symbol},NamedTuple{(:compiler_wrapper_dir, :preferred_gcc_version),Tuple{String,VersionNumber}}}) at C:\Users\LLL\.julia\packages\BinaryBuilderBase\fylAz\src\DockerRunner.jl:107
 [9] autobuild(::AbstractString, ::AbstractString, ::VersionNumber, ::Array{var"#s648",1} where var"#s648"<:BinaryBuilderBase.AbstractSource, ::AbstractString, ::Array{T,1} where T, ::Array{var"#s647",1} where var"#s647"<:Product, ::Array{var"#s646",1} where var"#s646"<:BinaryBuilderBase.AbstractDependency; verbose::Bool, debug::Bool, skip_audit::Bool, ignore_audit_errors::Bool, autofix::Bool, code_dir::Union{Nothing, String}, require_license::Bool, kwargs::Any) at C:\Users\LLL\.julia\packages\BinaryBuilder\OMMHj\src\AutoBuild.jl:641
 [10] build_tarballs(::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any, ::Any; kwargs::Any) at C:\Users\mikha\.julia\packages\BinaryBuilder\OMMHj\src\AutoBuild.jl:247
 [11] top-level scope at C:\Users\mikha\Documents\Minuit2_Julia_Wrapper\.ci\build_tarballs.jl:46
 [12] include(::Function, ::Module, ::String) at .\Base.jl:380
 [13] include(::Module, ::String) at .\Base.jl:368
 [14] exec_options(::Base.JLOptions) at .\client.jl:296
 [15] _start() at .\client.jl:506
in expression starting at C:\Users\mikha\Documents\Minuit2_Julia_Wrapper\.ci\build_tarballs.jl:46
jstrube commented 3 years ago

Do you have docker installed? According to https://docs.binarybuilder.org/stable/, you need docker installed. It may be easier to install Linux using WSL for the time being.

mmikhasenko commented 3 years ago

Just got Docker installed, got some progress

PS C:\Users\LLL\Documents> & 'C:\Users\LLL\AppData\Local\Programs\Julia 1.5.3\\bin\julia.exe' Minuit2_Julia_Wrapper/.ci/build_tarballs.jl x86_64-w64-mingw32-cxx11 --deploy=local
[ Info: Building for x86_64-w64-mingw32-cxx11
[ Info: Directory "Minuit2_Julia_Wrapper" found
   Updating registry at `C:\Users\LLL\.julia\registries\General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
┌ Warning: Dependency LibOSXUnwind_jll does not have a mapping for artifact LibOSXUnwind for platform Windows(:x86_64, compiler_abi=CompilerABI(libgfortran_version=v"5.0.0", cxxstring_abi=:cxx11))
└ @ BinaryBuilderBase C:\Users\LLL\.julia\packages\BinaryBuilderBase\fylAz\src\Prefix.jl:434
┌ Warning: Dependency LibUnwind_jll does not have a mapping for artifact LibUnwind for platform Windows(:x86_64, compiler_abi=CompilerABI(libgfortran_version=v"5.0.0", cxxstring_abi=:cxx11))
└ @ BinaryBuilderBase C:\Users\LLL\.julia\packages\BinaryBuilderBase\fylAz\src\Prefix.jl:434
Downloading artifact: Rootfs.v2020.8.19.x86_64-linux-musl.unpacked
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
At line:12 char:1
+ $webclient.DownloadFile("https://pkg.julialang.org/artifact/fa69bff63 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException
Downloading artifact: Rootfs.v2020.8.19.x86_64-linux-musl.unpacked
[ Info: No hash cache found
[ Info: Calculated hash f4d1a5dcb111ee844a9eaa679540b88cc7395da81d406f1024209cf4bf77df10 for file C:\Users\LLL\AppData\Local\Temp\jl_dmULQHz5Xh-download.gz
tar: Failed to open '\\.\tape0'
error during connect: This error may indicate that the docker daemon is not running.: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?changes=ENTRYPOINT+%5B%22%2Fdocker_entrypoint.sh%22%5D&fromSrc=-&message=&repo=julia_binarybuilder_rootfs%3Av2020.8.19-cc8098&tag=: open //./pipe/docker_engine: The system cannot find the file specified.
ERROR: LoadError: failed processes:
  Process(`tar -c -C 'C:\Users\LLL\.julia\artifacts\fa69bff63cb89d64f71a88fdd89f7dde38cc8098' .`, ProcessExited(1)) [1]
  Process(`docker import - -c 'ENTRYPOINT ["/docker_entrypoint.sh"]' julia_binarybuilder_rootfs:v2020.8.19-cc8098`, ProcessExited(1)) [1]

hm, docker related. I should double-check my Docker installation

jstrube commented 3 years ago

Is your docker running? You probably need to start the service first.