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

Returning to build environment can fail with: remove before copying #105

Open
omus opened this issue Jan 27, 2021 · 0 comments
Open

Returning to build environment can fail with: remove before copying #105

omus opened this issue Jan 27, 2021 · 0 comments

Comments

@omus
Copy link
Contributor

omus commented Jan 27, 2021

I was using the wizard when I ran into this:

...
			# Step 4: Select build products

ERROR: The build has produced no binary artifacts.
       This is generally because an error occurred during the build
       or because you forgot to `make install` or equivalent.

How would you like to proceed? (CTRL-C to exit)
 > Return to build environment
   Retry with a clean build environment
   Edit the script

ArgumentError: '/private/var/folders/j7/fwm5mtz52_xdxds4f1rnhn9c0000gn/T/jl_c5U2g4/s7UYZWFT/artifacts/53e6c375d00db870bf575afc992c03c54cba1d7e' exists. `force=true` is required to remove '/private/var/folders/j7/fwm5mtz52_xdxds4f1rnhn9c0000gn/T/jl_c5U2g4/s7UYZWFT/artifacts/53e6c375d00db870bf575afc992c03c54cba1d7e' before copying.
Stacktrace:
  [1] checkfor_mv_cp_cptree(src::String, dst::String, txt::String; force::Bool)
    @ Base.Filesystem ./file.jl:312
  [2] cp(src::String, dst::String; force::Bool, follow_symlinks::Bool)
    @ Base.Filesystem ./file.jl:349
  [3] cp
    @ ./file.jl:349 [inlined]
  [4] (::BinaryBuilderBase.var"#58#64"{Bool, Prefix, Vector{Pkg.Types.PackageSpec}, Platform, Vector{String}})()
    @ BinaryBuilderBase ~/.julia/dev/BinaryBuilderBase/src/Prefix.jl:495
  [5] activate(f::BinaryBuilderBase.var"#58#64"{Bool, Prefix, Vector{Pkg.Types.PackageSpec}, Platform, Vector{String}}, new_project::String)
    @ Pkg.API ~/Development/Julia/x86/1.6/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1433
  [6] setup_dependencies(prefix::Prefix, dependencies::Vector{Pkg.Types.PackageSpec}, platform::Platform; verbose::Bool)
    @ BinaryBuilderBase ~/.julia/dev/BinaryBuilderBase/src/Prefix.jl:433
  [7] setup_dependencies
    @ ~/.julia/dev/BinaryBuilderBase/src/Prefix.jl:407 [inlined]
  [8] step4(state::BinaryBuilder.Wizard.WizardState, ur::BinaryBuilderBase.DockerRunner, platform::Platform, build_path::String, prefix::Prefix)
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/vDNXJ/src/wizard/interactive_build.jl:70
  [9] step3_interactive(state::BinaryBuilder.Wizard.WizardState, prefix::Prefix, platform::Platform, ur::BinaryBuilderBase.DockerRunner, build_path::String, artifact_paths::Vector{String})
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/vDNXJ/src/wizard/interactive_build.jl:414
 [10] step34(state::BinaryBuilder.Wizard.WizardState)
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/vDNXJ/src/wizard/interactive_build.jl:542
 [11] run_wizard(state::Nothing)
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/vDNXJ/src/Wizard.jl:104
 [12] run_wizard()
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/vDNXJ/src/Wizard.jl:87
 [13] top-level scope
    @ REPL[3]:1
 [14] eval(m::Module, e::Any)
    @ Core ./boot.jl:360
 [15] eval_user_input(ast::Any, backend::REPL.REPLBackend)
    @ REPL ~/Development/Julia/x86/1.6/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:139
 [16] repl_backend_loop(backend::REPL.REPLBackend)
    @ REPL ~/Development/Julia/x86/1.6/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:200
 [17] start_repl_backend(backend::REPL.REPLBackend, consumer::Any)
    @ REPL ~/Development/Julia/x86/1.6/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:185
 [18] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool)
    @ REPL ~/Development/Julia/x86/1.6/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:317
 [19] run_repl(repl::REPL.AbstractREPL, consumer::Any)
    @ REPL ~/Development/Julia/x86/1.6/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:305
 [20] (::Base.var"#867#869"{Bool, Bool, Bool})(REPL::Module)
    @ Base ./client.jl:387
 [21] #invokelatest#2
    @ ./essentials.jl:707 [inlined]
 [22] invokelatest
    @ ./essentials.jl:706 [inlined]
 [23] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
    @ Base ./client.jl:372
 [24] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:302
 [25] _start()
    @ Base ./client.jl:485

WizardState [step3]
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