Your tutorial is a great idea!
but it fails on my Windows10 pc.
I get this error:
IOError: could not spawn
docker inspect --type=image julia_binarybuilder_rootfs:v2020.1.7-5d7e01: no such file or directory (ENOENT)
below the full REPL output:
# Step 1: Select your platforms
Make a platform selection
All Supported Platforms
Select by Operating System
> Fully Custom Platform Choice
Select platforms
[press: d=done, a=all, n=none]
^ [ ] Linux(:armv7l, libc=:glibc, call_abi=:eabihf)
[ ] Linux(:powerpc64le, libc=:glibc)
[ ] Linux(:i686, libc=:musl)
[ ] Linux(:x86_64, libc=:musl)
[ ] Linux(:aarch64, libc=:musl)
[ ] Linux(:armv7l, libc=:musl, call_abi=:eabihf)
[ ] MacOS(:x86_64)
[ ] FreeBSD(:x86_64)
[ ] Windows(:i686)
> [X] Windows(:x86_64)
# Step 2a: Obtain the source code
Please enter a URL (git repository or compressed archive) containing the source code to build:
> https://github.com/jakubwro/sinewave
The entered URL has been canonicalized to
https://github.com/jakubwro/sinewave.git
Cloning: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| Time: 0:00:01
Cloning: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| Time: 0:00:01
Resolving Deltas: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| Time: 0:00:01You have selected a git repository. Please enter a branch, commit or tag to use.
Please note that for reproducability, the exact commit will be recorded,
so updates to the remote resource will not be used automatically;
you will have to manually update the recorded commit.
> master
Recorded as 609dbc803095d577c83478c5ef8e962613fb16a6
Would you like to download additional sources? [y/N]: N
# Step 2b: Obtain binary dependencies (if any)
Do you require any (binary) dependencies? [y/N]: N
[ Info: Updating bare Yggdrasil clone in deps/Yggdrasil...
Enter a name for this project. This will be used for filenames:
> sinewave
Enter a version number for this project:
> 0.1.0
# Step 3: Build for Windows(:x86_64)
You will now be dropped into the cross-compilation environment.
Please compile the package. Your initial compilation target is x86_64-w64-mingw32
The $prefix environment variable contains the target directory.
Once you are done, exit by typing `exit` or `^D`
You have the following contents in your working directory:
- sinewave
IOError: could not spawn `docker inspect --type=image julia_binarybuilder_rootfs:v2020.1.7-5d7e01`: no such file or directory (ENOENT)
Stacktrace:
[1] _spawn_primitive(::String, ::Cmd, ::Array{Any,1}) at .\process.jl:99
[2] setup_stdios(::Base.var"#554#555"{Cmd}, ::Array{Any,1}) at .\process.jl:112
[3] success(::Cmd) at .\process.jl:111
[4] #import_docker_image#279(::Bool, ::typeof(BinaryBuilder.import_docker_image), ::BinaryBuilder.CompilerShard, ::String) at C:\Users\elm\.julia\packages\BinaryBuilder\4sWut\src\DockerRunner.jl:42 [5] #import_docker_image at .\array.jl:0 [inlined]
[6] #DockerRunner#280(::String, ::Windows, ::Array{Pair{String,String},1}, ::Dict{String,String},
::Bool, ::String, ::String, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Type{BinaryBuilder.DockerRunner}, ::String) at C:\Users\elm\.julia\packages\BinaryBuilder\4sWut\src\DockerRunner.jl:104
[7] (::Core.var"#kw#Type")(::NamedTuple{(:cwd, :workspaces, :platform, :src_name),Tuple{String,Array{Pair{String,String},1},Windows,String}}, ::Type{BinaryBuilder.DockerRunner}, ::String) at .\none:0
[8] step34(::BinaryBuilder.WizardState) at C:\Users\elm\.julia\packages\BinaryBuilder\4sWut\src\wizard\interactive_build.jl:304
[9] run_wizard(::Nothing) at C:\Users\elm\.julia\packages\BinaryBuilder\4sWut\src\Wizard.jl:92
[10] run_wizard() at C:\Users\elm\.julia\packages\BinaryBuilder\4sWut\src\Wizard.jl:75
[11] top-level scope at none:0
[12] eval at .\boot.jl:330 [inlined]
[13] repleval(::Module, ::Expr) at C:\Users\elm\.julia\packages\Atom\lBERI\src\repl.jl:149
[14] (::Atom.var"#172#174"{Module})() at C:\Users\elm\.julia\packages\Atom\lBERI\src\repl.jl:171
[15] with_logstate(::Atom.var"#172#174"{Module}, ::Base.CoreLogging.LogState) at .\logging.jl:395
[16] with_logger at .\logging.jl:491 [inlined]
[17] evalrepl(::Module, ::String) at C:\Users\elm\.julia\packages\Atom\lBERI\src\repl.jl:162
[18] top-level scope at C:\Users\elm\.julia\packages\Atom\lBERI\src\repl.jl:207
[19] eval(::Module, ::Any) at .\boot.jl:330
[20] eval_user_input(::Any, ::REPL.REPLBackend) at C:\desktop\Julia-1.3.0\share\julia\stdlib\v1.3\REPL\src\REPL.jl:86
[21] macro expansion at C:\desktop\Julia-1.3.0\share\julia\stdlib\v1.3\REPL\src\REPL.jl:118 [inlined]
[22] (::REPL.var"#26#27"{REPL.REPLBackend})() at .\task.jl:333
WizardState [step3]
Any advice gladly welcome!
[in case it helps]
julia> versioninfo()
Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
JULIA_EDITOR = "C:\Users\elm\AppData\Local\atom\app-1.43.0\atom.exe" -a
JULIA_HOME = C:\desktop\Julia-1.3.0\bin
JULIA_NUM_THREADS = 3```