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

No such device error when using BB wizard #1345

Open
jakobnissen opened this issue Oct 21, 2024 · 2 comments
Open

No such device error when using BB wizard #1345

jakobnissen opened this issue Oct 21, 2024 · 2 comments

Comments

@jakobnissen
Copy link

This is with Julia 1.7.3, BB 0.6.0.
The error happens when being dropped into the cross-compilation environment.

At line 293, ABORTED (19: No such device)!
At line 293, ABORTED (19: No such device)!
At line 293, ABORTED (19: No such device)!
MethodError: no method matching iterate(::Nothing)
Closest candidates are:
  iterate(::Union{LinRange, StepRangeLen}) at ~/.julia/juliaup/julia-1.7.3+0.x64.linux.gnu/share/julia/base/range.jl:826
  iterate(::Union{LinRange, StepRangeLen}, ::Integer) at ~/.julia/juliaup/julia-1.7.3+0.x64.linux.gnu/share/julia/base/range.jl:826
  iterate(::T) where T<:Union{Base.KeySet{<:Any, <:Dict}, Base.ValueIterator{<:Dict}} at ~/.julia/juliaup/julia-1.7.3+0.x64.linux.gnu/share/julia/base/dict.jl:695
  ...
Stacktrace:
  [1] isempty(itr::Nothing)
    @ Base ./essentials.jl:775
  [2] diff_srcdir(state::BinaryBuilder.Wizard.WizardState, prefix::Prefix, ur::BinaryBuilderBase.UserNSRunner)
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/HTdhp/src/wizard/interactive_build.jl:195
  [3] interactive_build(state::BinaryBuilder.Wizard.WizardState, prefix::Prefix, ur::BinaryBuilderBase.UserNSRunner, build_path::String, platform::Platform; prefix_artifacts::Dict{Prefix, Vector{String}}, hist_modify::typeof(string), srcdir_overlay::Bool)
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/HTdhp/src/wizard/interactive_build.jl:337
  [4] step3_interactive(state::BinaryBuilder.Wizard.WizardState, prefix::Prefix, platform::Platform, ur::BinaryBuilderBase.UserNSRunner, build_path::String, artifact_paths::Vector{String})
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/HTdhp/src/wizard/interactive_build.jl:415
  [5] step34(state::BinaryBuilder.Wizard.WizardState)
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/HTdhp/src/wizard/interactive_build.jl:546
  [6] run_wizard(state::Nothing)
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/HTdhp/src/Wizard.jl:104
  [7] run_wizard()
    @ BinaryBuilder.Wizard ~/.julia/packages/BinaryBuilder/HTdhp/src/Wizard.jl:87
  [8] top-level scope
    @ REPL[4]:1
  [9] eval
    @ ./boot.jl:373 [inlined]
 [10] eval_user_input(ast::Any, backend::REPL.REPLBackend)
    @ REPL ~/.julia/juliaup/julia-1.7.3+0.x64.linux.gnu/share/julia/stdlib/v1.7/REPL/src/REPL.jl:150
 [11] repl_backend_loop(backend::REPL.REPLBackend)
    @ REPL ~/.julia/juliaup/julia-1.7.3+0.x64.linux.gnu/share/julia/stdlib/v1.7/REPL/src/REPL.jl:246
 [12] start_repl_backend(backend::REPL.REPLBackend, consumer::Any)
    @ REPL ~/.julia/juliaup/julia-1.7.3+0.x64.linux.gnu/share/julia/stdlib/v1.7/REPL/src/REPL.jl:231
 [13] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool)
    @ REPL ~/.julia/juliaup/julia-1.7.3+0.x64.linux.gnu/share/julia/stdlib/v1.7/REPL/src/REPL.jl:364
 [14] run_repl(repl::REPL.AbstractREPL, consumer::Any)
    @ REPL ~/.julia/juliaup/julia-1.7.3+0.x64.linux.gnu/share/julia/stdlib/v1.7/REPL/src/REPL.jl:351
 [15] (::Base.var"#936#938"{Bool, Bool, Bool})(REPL::Module)
    @ Base ./client.jl:394
 [16] #invokelatest#2
    @ ./essentials.jl:716 [inlined]
 [17] invokelatest
    @ ./essentials.jl:714 [inlined]
 [18] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
    @ Base ./client.jl:379
 [19] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:309
 [20] _start()
    @ Base ./client.jl:495

WizardState [step3
@giordano
Copy link
Member

These things typically depend on the operating system, kernel version, so you always need to report that as well.

@jakobnissen
Copy link
Author

This is on x86_64 Linux GNU with glibc, on Manjaro, kernel 6.10.11-2-MANJARO.

julia> versioninfo()
Julia Version 1.7.3
Commit 742b9abb4d (2022-05-06 12:58 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, znver3)
Environment:
  JULIA_PKG_PRESERVE_TIERED_INSTALLED = true

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

2 participants