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 installing [email protected] #2119

Open
p3k opened this issue Jun 3, 2024 · 1 comment
Open

Error installing [email protected] #2119

p3k opened this issue Jun 3, 2024 · 1 comment
Labels
bug Something isn't working package Request to add a package or report a problem triage Issue needs triage

Comments

@p3k
Copy link

p3k commented Jun 3, 2024

Package name

[email protected]

What changes are you requesting?

$ DEVBOX_DEBUG=1 devbox global add difftastic
2024/06/03 22:41:30 findProjectDir: path is 
2024/06/03 22:41:30 finding devbox config in dir: /Users/tobi
2024/06/03 22:41:30 finding devbox config in dir: /Users
2024/06/03 22:41:30 failed to open devbox: No devbox.json found in this directory, or any parent directories. Did you run `devbox init` yet?
2024/06/03 22:41:30 findProjectDir: path is 
2024/06/03 22:41:30 finding devbox config in dir: /Users/tobi
2024/06/03 22:41:30 finding devbox config in dir: /Users
2024/06/03 22:41:30 failed to open devbox: No devbox.json found in this directory, or any parent directories. Did you run `devbox init` yet?
2024/06/03 22:41:30 nix --version --debug output:
nix (Nix) 2.18.1
System type: x86_64-darwin
Additional system types: 
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /Users/tobi/.config/nix/nix.conf:/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/6zi5fqzn9n17wrk8r41rhdw4j7jqqsi3-nix-2.18.1/share
2024/06/03 22:41:30 findProjectDir: path is /Users/tobi/.local/share/devbox/global/default
2024/06/03 22:41:31 nixcache: running setup: first time setup
Info: Adding package "difftastic@latest" to devbox.json
2024/06/03 22:41:31 Creating files for package "caddy@latest" create files
2024/06/03 22:41:31 Creating file "/Users/tobi/.local/share/devbox/global/default/.devbox/virtenv/caddy/process-compose.yaml" from contentPath: "caddy/process-compose.yaml"
2024/06/03 22:41:31 Creating files for package "python3@latest" create files
2024/06/03 22:41:31 Creating file "/Users/tobi/.local/share/devbox/global/default/.devbox/virtenv/python3/bin/venvShellHook.sh" from contentPath: "pip/venvShellHook.sh"
Warning: Outputs for sshfs@latest are not in lockfile. Fetching store paths from nix, this may take a while
2024/06/03 22:41:31 Running cmd /nix/var/nix/profiles/default/bin/nix path-info github:NixOS/nixpkgs/3f316d2a50699a78afe5e77ca486ad553169061e#sshfs --json --impure --extra-experimental-features ca-derivations --option experimental-features nix-command flakes fetch-closure
Warning: Outputs for watch@latest are not in lockfile. Fetching store paths from nix, this may take a while
2024/06/03 22:41:35 Running cmd /nix/var/nix/profiles/default/bin/nix path-info github:NixOS/nixpkgs/7d0ed7f2e5aea07ab22ccb338d27fbe347ed2f11#watch --json --impure --extra-experimental-features ca-derivations --option experimental-features nix-command flakes fetch-closure
2024/06/03 22:41:36 Running cmd /nix/var/nix/profiles/default/bin/nix path-info --offline --json /nix/store/c618m2j7qdr1yd2wsi2x1z3f5can4g8p-caddy-2.7.6 /nix/store/9scwz9b6h71y5zi4ay1xs4lz8mqgwrvq-nano-8.0 /nix/store/06ikrv8pnq7lf2f6rf4q970acf42f1x7-bat-0.24.0 /nix/store/9xzd1sryz26nvcmn75w704hymzbn6wfl-duti-1.5.5pre /nix/store/ckw61s7ll6rbkja4qvn3qc1lnv9cmm55-fortune-mod-3.20.0 /nix/store/4h5ychfx2cax86jvv5wnnhsshd6fpdvs-ssh-copy-id-9.7p1 /nix/store/1p6vr83cgyfwm8517jhfmf6lypzhy3q2-go-1.22.3 /nix/store/y0zlpb0pqg647qva3l0gw24znl29zbbs-imagemagick-7.1.1-32 /nix/store/jhwa2j4hds0w6rkgi9jsyndbx85xsyyq-goku-0.6.0 /nix/store/8mqzd2cfk0a9blz8n1vl8p2v1488vsq2-inetutils-2.5 /nix/store/zpgh68xydmsckwqamhb25b2lwa50lnmn-python3.11-speedtest-cli-2.1.3 /nix/store/dh8y47j709rd3b48wflmgk053d1czs3g-watch-procps-3.3.17 /nix/store/6lksj5594arjcm1yy3r9syzyvw2n8hqj-openssl-3.0.13-bin /nix/store/ix294ys27kkn03y7rhwjfcmd67hqq3bs-openssl-3.0.13-man /nix/store/0l20pw2kz5cffk6n2bfd0mj0564v264w-rlwrap-0.46.1 /nix/store/8af1bpcqgc9s0h7c6y2w9b87yww786z5-starship-1.19.0 /nix/store/sblqjb14ckz1xrzr4an26ff70dx9v8cl-pkg-config-wrapper-0.29.2 /nix/store/w4d8b6vayk2f40vkwb8w8ajg0v782bz5-pkg-config-wrapper-0.29.2-man /nix/store/b4fb2rz1k18cbhqr0pqcmplfa35qz6bl-difftastic-0.58.0 /nix/store/5gh55ys1c1y5lm2asa68i0rl2xp9w8k4-nushell-0.93.0 /nix/store/ip0zkfq7w98n2vb6v3kfycx8n1dn5r05-bzip2-1.0.8-bin /nix/store/g1p26pvks5wk1af9732gcx54rnx8p779-bzip2-1.0.8-man /nix/store/lfa5bn829h81f4iazzl2wpjw0hpylcjc-fish-3.7.1 /nix/store/rwkir7nma4hgyg8lydzjisbjgwr9a4xf-git-2.44.1 /nix/store/bpfyriz1v75s27jjp334xmz76i39jb5m-jq-1.7.1-bin /nix/store/z9k3kvc4vd3nalz0zy642jwldjx8nycz-jq-1.7.1-man /nix/store/hdaq13py931n1rvqmb6f2bz2zbbqqijx-keychain-2.8.5 /nix/store/5wd37iffm00kk46vg85ispiikkawhqgx-neofetch-unstable-2021-12-10 /nix/store/bfvl5zp2m9jmvg6jxinsskws7p56l58g-neofetch-unstable-2021-12-10-man /nix/store/vcx4f30qjdj1cxv7196p5p3pp77569gf-nmap-7.94 /nix/store/0qm5bsqkfrcz1ayl42n8lqijdmf5cbk7-oh-my-posh-20.2.0 /nix/store/6jy28lfjr42adzi10p158aq6m1q9qgs0-python3-3.11.9 /nix/store/5klfdwi949k2xqb25zis8g9yvj3k58ms-smartmontools-7.4 /nix/store/51p7dzm75jg964blp76l4az9a6azbavs-sshfs-fuse-2.10 /nix/store/qis9zga5vqri45z868ainhsy37hd7dd7-btop-1.3.2 /nix/store/kv9bax4w6lx30kmjdvhjmh6fr92kzxsq-curl-8.7.1-bin /nix/store/jf1cjs21ph0vcsawvlqlxj2gy2bx8735-curl-8.7.1-man /nix/store/y4qpcjizkg3kaf3vwlvw1mzk1qz6zxi7-qpdf-11.9.0 /nix/store/rsncrpxaapgnml9sp3qxync31c0slydd-rsync-3.3.0 /nix/store/rf0fnfai8cjbg2m7vqnqrlb9nwyq847q-sqlite-3.45.3-bin /nix/store/90gv0akrz0xb79z7zzghna21lmg0a7c4-joker-1.3.5 /nix/store/hgrll07rfjkl6sqs0kj14w7ypcf1vj7x-watchexec-2.1.1 /nix/store/blq2l04v6jmdak8jg0fasp94pgq7lljg-poppler-utils-24.02.0 /nix/store/3rh70pqdcgwrrrmvywr90qhrgmbk9by0-deno-1.43.5 /nix/store/c8swfr4rjav5yfds4rfjvz8zl7r4a05a-ffmpeg-6.1.1-bin /nix/store/0h2drs21j72xiy7b1zfynyhwdyscpv9a-ffmpeg-6.1.1-man /nix/store/wbhz8yqkzhhmxykwp5p2y6cs91nlx124-xsel-1.2.1 /nix/store/w28pkd6kjxgcwqj6qm2d1d8jki49f7zm-qemu-8.2.4 /nix/store/gmm9wgv95fbn56b5whjfcmzhyls67dgq-bash-interactive-5.2p26 /nix/store/1526wcx2qppjl0wiwh6zhr1qvf33n42k-bash-interactive-5.2p26-man /nix/store/1h0a73fpbhd823rz5szy0jcxpmsgdc5b-slumber-1.3.2 /nix/store/43d5nky8dls01z1h4hlhwjw5m0cjmgkq-invoice-0.1.0 /nix/store/d7jhrgmzxr2lb87c8n7h8dnq8n1fpy3p-chezmoi-2.48.1 /nix/store/00lvdakpspjq60djr5zynhb3qhamdsg7-coreutils-9.5 /nix/store/lxgxayzs5y3bryyvlmapsip903q7rxdb-git-extras-7.2.0 /nix/store/cb7mbya9llsgww7kl5s21wlgjiwyqaxd-qrencode-4.1.1-bin /nix/store/ivrf5j66dgrqzsd00fs7pjznh2yzn039-qrencode-4.1.1-man /nix/store/ndmd8ir2xifcfphf4mzxnsd48gbrdnqf-xar-1.6.1 /nix/store/d3k80ymaaqh25kqbdxnd026vgifz3lg6-keepassxc-2.7.7 --extra-experimental-features ca-derivations --option experimental-features nix-command flakes fetch-closure
Info: Installing the following packages to the nix store: difftastic@latest
2024/06/03 22:41:36 Running cmd: /nix/var/nix/profiles/default/bin/nix build --impure --extra-experimental-features ca-derivations --option experimental-features nix-command flakes fetch-closure --no-link github:NixOS/nixpkgs/c5187508b11177ef4278edf19616f44f21cc8c69#difftastic
error: builder for '/nix/store/vksy02jd5y3m7h9p020q9gblv4i2avm6-difftastic-0.58.0.drv' failed with exit code 101;
       last 10 log lines:
       >   cargo:warning=                                        ^
       >   cargo:warning=10 warnings and 1 error generated.
       >
       >   --- stderr
       >
       >
       >   error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/nix/store/zmfpybag2nwgyw932ahg36z8im955flp-clang-wrapper-16.0.6/bin/cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-apple-darwin" "-mmacosx-version-min=10.12" "-I" "c_src/mimalloc/include" "-I" "c_src/mimalloc/src" "-Wall" "-Wextra" "-ftls-model=initial-exec" "-DMI_DEBUG=0" "-o" "/private/tmp/nix-build-difftastic-0.58.0.drv-1/source/target/x86_64-apple-darwin/release/build/libmimalloc-sys-94fbed163c001725/out/98cfcaec7182b1d8-static.o" "-c" "c_src/mimalloc/src/static.c" with args "cc" did not execute successfully (status code exit status: 1).
       >
       >
       > warning: build failed, waiting for other jobs to finish...
       For full logs, run 'nix-store -l /nix/store/vksy02jd5y3m7h9p020q9gblv4i2avm6-difftastic-0.58.0.drv'.
2024/06/03 22:43:30 Nix build exit code: 1, output: 

Error: There was an error installing nix packages
source: nix build exit code: 1, output: , err: exit status 1

2024/06/03 22:43:30 Command stderr: 
2024/06/03 22:43:30 
ExecutionID:1a4eb86aa9ea458998c17b25bb7e49fb
nix build exit code: 1, output: , err: exit status 1
go.jetpack.io/devbox/internal/nix.Build
        go.jetpack.io/devbox/internal/nix/build.go:54
go.jetpack.io/devbox/internal/devbox.(*Devbox).installNixPackagesToStore
        go.jetpack.io/devbox/internal/devbox/packages.go:496
go.jetpack.io/devbox/internal/devbox.(*Devbox).installPackages
        go.jetpack.io/devbox/internal/devbox/packages.go:404
go.jetpack.io/devbox/internal/devbox.(*Devbox).ensureStateIsUpToDate
        go.jetpack.io/devbox/internal/devbox/packages.go:271
go.jetpack.io/devbox/internal/devbox.(*Devbox).Add
        go.jetpack.io/devbox/internal/devbox/packages.go:117
go.jetpack.io/devbox/internal/boxcli.addCmdFunc
        go.jetpack.io/devbox/internal/boxcli/add.go:88
go.jetpack.io/devbox/internal/boxcli.addCmd.func1
        go.jetpack.io/devbox/internal/boxcli/add.go:47
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/[email protected]/command.go:983
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/[email protected]/command.go:1115
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/[email protected]/command.go:1039
go.jetpack.io/devbox/internal/boxcli/midcobra.(*midcobraExecutable).Execute
        go.jetpack.io/devbox/internal/boxcli/midcobra/midcobra.go:61
go.jetpack.io/devbox/internal/boxcli.Execute
        go.jetpack.io/devbox/internal/boxcli/root.go:113
go.jetpack.io/devbox/internal/boxcli.Main
        go.jetpack.io/devbox/internal/boxcli/root.go:136
main.main
        ./main.go:11
runtime.main
        runtime/proc.go:271
runtime.goexit
        runtime/asm_amd64.s:1695
2024/06/03 22:43:30 findProjectDir: path is 
2024/06/03 22:43:30 finding devbox config in dir: /Users/tobi
2024/06/03 22:43:30 finding devbox config in dir: /Users

Nixhub link

No response

@p3k p3k added bug Something isn't working package Request to add a package or report a problem triage Issue needs triage labels Jun 3, 2024
@p3k
Copy link
Author

p3k commented Jun 3, 2024

Downgrading to stable version 0.56.1 works – is there a way to make devbox use the stable Nix channel only?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package Request to add a package or report a problem triage Issue needs triage
Development

No branches or pull requests

1 participant