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

error: builder for '/nix/store/nqnskjr9ccbxfg3sb1vg3n42cy7phpaa-julia-ion.drv' failed with exit code 1; #66

Open
usmcamp0811 opened this issue Feb 10, 2024 · 1 comment

Comments

@usmcamp0811
Copy link

Just trying to go through everything to figure out how I might be able to fix the Julia2Nix toml creation error I am getting among other things and thought I'd try the Ion help you have in the docks but it fails with this error.

─mcamp on reckless in ~
╰─ nix run github:JuliaCN/Julia2Nix.jl#x86_64-linux.julia2nix.entrypoints.ion --refresh -- --help
warning: Ignoring setting 'auto-allocate-uids' because experimental feature 'auto-allocate-uids' is not enabled
warning: Ignoring setting 'impure-env' because experimental feature 'configurable-impure-env' is not enabled
error: builder for '/nix/store/nqnskjr9ccbxfg3sb1vg3n42cy7phpaa-julia-ion.drv' failed with exit code 1;
       last 50 log lines:
       >     @ /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/GitTools.jl:74 [inlined]
       >   [8] ensure_clone
       >     @ /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/GitTools.jl:70 [inlined]
       >   [9] install_git(io::Base.TTY, uuid::Base.UUID, name::String, hash::Base.SHA1, urls::Set{String}, version_path::String)
       >     @ Pkg.Operations /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:678
       >  [10] download_source(ctx::Pkg.Types.Context; readonly::Bool)
       >     @ Pkg.Operations /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:905
       >  [11] download_source
       >     @ /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:791 [inlined]
       >  [12] develop(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
       >     @ Pkg.Operations /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:1408
       >  [13] develop
       >     @ /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:1398 [inlined]
       >  [14] develop(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; shared::Bool, preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
       >     @ Pkg.API /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/API.jl:222
       >  [15] develop(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
       >     @ Pkg.API /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/API.jl:156
       >  [16] develop(pkgs::Vector{Pkg.Types.PackageSpec})
       >     @ Pkg.API /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/API.jl:145
       >  [17] #develop#14
       >     @ /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/API.jl:143 [inlined]
       >  [18] develop
       >     @ /nix/store/2wcn9b3izbbiy1f3qmw55lj9zzvdhrvx-julia-1.9.1/share/julia/stdlib/v1.9/Pkg/src/API.jl:143 [inlined]
       >  [19] create_command_env(m::Module, envpath::String; test_deps::Bool)
       >     @ Comonicon.Builder /nix/store/gqs58hlhyffz10f64dfa82scx9l79iwc-julia-ion/packages/Comonicon/1NWD0/src/builder/sysimg.jl:90
       >  [20] create_command_env
       >     @ /nix/store/gqs58hlhyffz10f64dfa82scx9l79iwc-julia-ion/packages/Comonicon/1NWD0/src/builder/sysimg.jl:40 [inlined]
       >  [21] install_project_env(m::Module, options::Comonicon.Configs.Comonicon)
       >     @ Comonicon.Builder /nix/store/gqs58hlhyffz10f64dfa82scx9l79iwc-julia-ion/packages/Comonicon/1NWD0/src/builder/install.jl:27
       >  [22] install(m::Module, options::Comonicon.Configs.Comonicon)
       >     @ Comonicon.Builder /nix/store/gqs58hlhyffz10f64dfa82scx9l79iwc-julia-ion/packages/Comonicon/1NWD0/src/builder/install.jl:8
       >  [23] (::Comonicon.Builder.var"#2#3"{Module, Comonicon.Configs.Comonicon})()
       >     @ Comonicon.Builder /nix/store/gqs58hlhyffz10f64dfa82scx9l79iwc-julia-ion/packages/Comonicon/1NWD0/src/builder/cli.jl:64
       >  [24] with_logstate(f::Function, logstate::Any)
       >     @ Base.CoreLogging ./logging.jl:514
       >  [25] with_logger
       >     @ ./logging.jl:626 [inlined]
       >  [26] command_main(m::Module, options::Comonicon.Configs.Comonicon)
       >     @ Comonicon.Builder /nix/store/gqs58hlhyffz10f64dfa82scx9l79iwc-julia-ion/packages/Comonicon/1NWD0/src/builder/cli.jl:63
       >  [27] #command_main#1
       >     @ /nix/store/gqs58hlhyffz10f64dfa82scx9l79iwc-julia-ion/packages/Comonicon/1NWD0/src/builder/cli.jl:49 [inlined]
       >  [28] command_main
       >     @ /nix/store/gqs58hlhyffz10f64dfa82scx9l79iwc-julia-ion/packages/Comonicon/1NWD0/src/builder/cli.jl:47 [inlined]
       >  [29] #comonicon_install#4
       >     @ /nix/store/gqs58hlhyffz10f64dfa82scx9l79iwc-julia-ion/packages/Comonicon/1NWD0/src/frontend/cast.jl:495 [inlined]
       >  [30] comonicon_install()
       >     @ Ion /nix/store/gqs58hlhyffz10f64dfa82scx9l79iwc-julia-ion/packages/Comonicon/1NWD0/src/frontend/cast.jl:495
       >  [31] top-level scope
       >     @ none:1
       > /nix/store/74l4x6m97bvry7ccxv51h952ayvg2j46-stdenv-linux/setup: line 144: pop_var_context: head of shell_variables not a function context
       For full logs, run 'nix log /nix/store/nqnskjr9ccbxfg3sb1vg3n42cy7phpaa-julia-ion.drv'.
error: 1 dependencies of derivation '/nix/store/vvy6lzd2m97ms5p60qhqzh8pyicxy2zp-julia-ion.drv' failed to build
@GTrunSec
Copy link
Collaborator

@usmcamp0811, thanks for your reporting. please see #62 .

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