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

On x86-64, cannot run dioxutils dx from cargo-binstall because libssl is missing #2469

Open
ineiti opened this issue Dec 22, 2024 · 1 comment
Labels
bug Something isn't working triage Issue needs triage

Comments

@ineiti
Copy link

ineiti commented Dec 22, 2024

What happened?

I wanted to use the dx binary from cargo binstall in a devbox environment, but it cannot find libssl. Perhaps this just doesn't work?

When trying to run, it fails with:

./bin/dx
./bin/dx: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

Even when I devbox add libssl.

Interestingly, it DOES work on MacOS.

Steps to reproduce

  1. devbox init
  2. devbox add rustup cargo-binstall
  3. devbox shell
  4. rustup default stable
  5. cargo binstall -y --root=. dioxus-cli
  6. ./bin/dx

Command

shell

devbox.json

{
  "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.6/.schema/devbox.schema.json",
  "packages": [
    "cargo-binstall@latest",
    "rustup"
  ],
  "shell": {
    "init_hook": [
      "if [ ! -d $RUSTUP_HOME/toolchains/stable* ]; then rustup default stable; fi",
      "test -f ./bin/dx || cargo binstall -y --root=. dioxus-cli"
    ]
  }
}

Devbox version

0.13.6

Nix version

2.24.7

What system does this bug occur on?

Linux (x86-64)

Debug logs

ineiti@fricklebox:~/dioxus$ DEVBOX_DEBUG=1 devbox run -- ./bin/dx
time=2024-12-22T15:29:48.875+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:125 msg="searching for config file (including parent directories)" path=.
time=2024-12-22T15:29:48.875+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:146 msg="trying config file" path=devbox.json
time=2024-12-22T15:29:48.875+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:133 msg="config file found" path=/home/ineiti/dioxus/devbox.json dur=255.398µs
time=2024-12-22T15:29:48.875+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:48.875+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
time=2024-12-22T15:29:48.875+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:125 msg="searching for config file (including parent directories)" path=.
time=2024-12-22T15:29:48.875+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:146 msg="trying config file" path=devbox.json
time=2024-12-22T15:29:48.875+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:133 msg="config file found" path=/home/ineiti/dioxus/devbox.json dur=85.814µs
time=2024-12-22T15:29:48.875+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:48.875+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
Info: New devbox available: 0.13.6 -> v0.13.7. Please run devbox version update.
time=2024-12-22T15:29:48.900+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/nix.go:342 msg="nix --version --debug output" out="nix (Nix) 2.24.7\nSystem type: x86_64-linux\nAdditional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux\nFeatures: gc, signed-caches\nSystem configuration file: /etc/nix/nix.conf\nUser configuration files: /home/ineiti/.config/nix/nix.conf:/etc/xdg/nix/nix.conf\nStore directory: /nix/store\nState directory: /nix/var/nix\nData directory: /nix/store/s429drnj3jp5dbxib74r3q0rypknvw48-nix-2.24.7/share\n"
time=2024-12-22T15:29:48.900+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:60 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' eval --impure --raw --expr builtins.currentSystem" cmd.path=/home/ineiti/.nix-profile/bin/nix
time=2024-12-22T15:29:48.926+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:67 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' eval --impure --raw --expr builtins.currentSystem" cmd.path=/home/ineiti/.nix-profile/bin/nix cmd.pid=3735004 cmd.code=0 cmd.dur=25.896105ms
time=2024-12-22T15:29:48.926+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/boxcli/run.go:104 msg="run script" script=./bin/dx args=[]
time=2024-12-22T15:29:48.926+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:125 msg="searching for config file (including parent directories)" path=.
time=2024-12-22T15:29:48.926+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:146 msg="trying config file" path=devbox.json
time=2024-12-22T15:29:48.926+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:133 msg="config file found" path=/home/ineiti/dioxus/devbox.json dur=103.514µs
time=2024-12-22T15:29:48.926+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:48.926+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
time=2024-12-22T15:29:48.926+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:48.926+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
time=2024-12-22T15:29:48.926+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:48.926+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
Info: Ensuring packages are installed.
time=2024-12-22T15:29:48.927+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/plugin/plugin.go:85 msg="creating files for package" pkg=rustup
time=2024-12-22T15:29:48.927+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:48.927+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
time=2024-12-22T15:29:48.927+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:60 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' store info --store daemon --json" cmd.path=/home/ineiti/.nix-profile/bin/nix
time=2024-12-22T15:29:48.951+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:67 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' store info --store daemon --json" cmd.path=/home/ineiti/.nix-profile/bin/nix cmd.stderr="cannot connect to socket at '/nix/var/nix/daemon-socket/socket': No such file or directory" cmd.pid=3735011 cmd.code=1 cmd.dur=24.415512ms
time=2024-12-22T15:29:48.951+01:00 level=ERROR source=go.jetpack.io/devbox/internal/devbox/providers/nixcache/setup.go:81 msg="nixcache: skipping setup: error connecting to nix daemon, assuming single-user install" err="command nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' store info --store daemon --json: nix: command error: nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' store info --store daemon --json: cannot connect to socket at '/nix/var/nix/daemon-socket/socket': No such file or directory: exit code 1: error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket': No such file or directory\n"
time=2024-12-22T15:29:49.063+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:60 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info 'github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#rustup' --json --impure" cmd.path=/home/ineiti/.nix-profile/bin/nix
time=2024-12-22T15:29:49.698+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:67 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info 'github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#rustup' --json --impure" cmd.path=/home/ineiti/.nix-profile/bin/nix cmd.pid=3735016 cmd.code=0 cmd.dur=634.653413ms
time=2024-12-22T15:29:49.698+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:60 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info --offline --json /nix/store/1h2hnnl1w3k4b6pj8h3bcmcl0syjdhl0-cargo-binstall-1.10.16 /nix/store/0cn8dalwkmdark0zhpyn05453vb2lnds-rustup-1.26.0" cmd.path=/home/ineiti/.nix-profile/bin/nix
time=2024-12-22T15:29:49.722+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:67 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info --offline --json /nix/store/1h2hnnl1w3k4b6pj8h3bcmcl0syjdhl0-cargo-binstall-1.10.16 /nix/store/0cn8dalwkmdark0zhpyn05453vb2lnds-rustup-1.26.0" cmd.path=/home/ineiti/.nix-profile/bin/nix cmd.pid=3735019 cmd.code=0 cmd.dur=23.687346ms
time=2024-12-22T15:29:49.722+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:49.722+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
time=2024-12-22T15:29:49.722+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/plugin/plugin.go:85 msg="creating files for package" pkg=rustup
time=2024-12-22T15:29:49.722+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:49.722+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
⣾ Computing the Devbox environment...
time=2024-12-22T15:29:49.722+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/nix.go:85 msg="running print-dev-env cmd" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' print-dev-env --json path:/home/ineiti/dioxus/.devbox/gen/flake"
time=2024-12-22T15:29:49.723+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:60 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' print-dev-env --json path:/home/ineiti/dioxus/.devbox/gen/flake" cmd.pat⣷ Computing the Devbox environment...
time=2024-12-22T15:29:50.444+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:67 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' print-dev-env --json path:/home/ineiti/dioxus/.devbox/gen/flake" cmd.path=✓ Computed the Devbox environment.
time=2024-12-22T15:29:50.445+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:60 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' profile list --profile /home/ineiti/dioxus/.devbox/nix/profile/default --json" cmd.path=/home/ineiti/.nix-profile/bin/nix
time=2024-12-22T15:29:50.470+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:67 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' profile list --profile /home/ineiti/dioxus/.devbox/nix/profile/default --json" cmd.path=/home/ineiti/.nix-profile/bin/nix cmd.pid=3735026 cmd.code=0 cmd.dur=24.625143ms
time=2024-12-22T15:29:50.470+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:50.470+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
time=2024-12-22T15:29:50.470+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:50.470+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
time=2024-12-22T15:29:50.470+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/devbox.go:706 msg="current environment PATH" path=/home/ineiti/.nix-profile/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
time=2024-12-22T15:29:50.471+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/devbox.go:721 msg="nix environment PATH" path=/nix/store/znqwpxy9jlxcgi2ms2hga0ch87bbbr9g-patchelf-0.15.0/bin:/nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin:/nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/bin:/nix/store/nvh3jgs8pqghnsfzbv28004xkigiw8gc-glibc-2.38-23-bin/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/h8d2j0prdf7pnpgyrgkxrrbfwnmxbq6y-binutils-wrapper-2.40/bin:/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin:/nix/store/1h2hnnl1w3k4b6pj8h3bcmcl0syjdhl0-cargo-binstall-1.10.16/bin:/nix/store/0cn8dalwkmdark0zhpyn05453vb2lnds-rustup-1.26.0/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/qyzfglbrqb5ck0dgljplin2bvc4995w7-findutils-4.9.0/bin:/nix/store/x6y2i213maj6ibcn0qzgg7graif5qcvi-diffutils-3.10/bin:/nix/store/g5p3ky90xa05ggg5szyb0pbbl2vp7n03-gnused-4.9/bin:/nix/store/p2r51wfg9m3ga7pp7avslpfhfa7w5y83-gnugrep-3.11/bin:/nix/store/cmn958i8qym0qvmvydl23fh3bm3fbhl7-gawk-5.2.2/bin:/nix/store/f5qy259g9b4qh0hwz22z5j5bq3m53cpv-gnutar-1.35/bin:/nix/store/kmr52zpw7wazxywqvzgpdx0vnn9prd3v-gzip-1.13/bin:/nix/store/w1mar48lwkavwy64mvj567lwaqnm2l11-bzip2-1.0.8-bin/bin:/nix/store/9dh2csn531by6b1vr9jv85v4k17xwkid-gnumake-4.4.1/bin:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin:/nix/store/pinwlz7294p37d2sbkdpjildzxii42vv-patch-2.7.6/bin:/nix/store/skrzk0g88jf9rg28labqsyxv7gg357q1-xz-5.4.4-bin/bin:/nix/store/h5pshzq92r2xcv6w1p10cmkar4nyv0xp-file-5.45/bin
time=2024-12-22T15:29:50.471+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/devbox.go:755 msg="PATH after plugins and config" path=/home/ineiti/dioxus/.devbox/nix/profile/default/bin:/nix/store/znqwpxy9jlxcgi2ms2hga0ch87bbbr9g-patchelf-0.15.0/bin:/nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin:/nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/bin:/nix/store/nvh3jgs8pqghnsfzbv28004xkigiw8gc-glibc-2.38-23-bin/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/h8d2j0prdf7pnpgyrgkxrrbfwnmxbq6y-binutils-wrapper-2.40/bin:/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin:/nix/store/1h2hnnl1w3k4b6pj8h3bcmcl0syjdhl0-cargo-binstall-1.10.16/bin:/nix/store/0cn8dalwkmdark0zhpyn05453vb2lnds-rustup-1.26.0/bin:/nix/store/qyzfglbrqb5ck0dgljplin2bvc4995w7-findutils-4.9.0/bin:/nix/store/x6y2i213maj6ibcn0qzgg7graif5qcvi-diffutils-3.10/bin:/nix/store/g5p3ky90xa05ggg5szyb0pbbl2vp7n03-gnused-4.9/bin:/nix/store/p2r51wfg9m3ga7pp7avslpfhfa7w5y83-gnugrep-3.11/bin:/nix/store/cmn958i8qym0qvmvydl23fh3bm3fbhl7-gawk-5.2.2/bin:/nix/store/f5qy259g9b4qh0hwz22z5j5bq3m53cpv-gnutar-1.35/bin:/nix/store/kmr52zpw7wazxywqvzgpdx0vnn9prd3v-gzip-1.13/bin:/nix/store/w1mar48lwkavwy64mvj567lwaqnm2l11-bzip2-1.0.8-bin/bin:/nix/store/9dh2csn531by6b1vr9jv85v4k17xwkid-gnumake-4.4.1/bin:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin:/nix/store/pinwlz7294p37d2sbkdpjildzxii42vv-patch-2.7.6/bin:/nix/store/skrzk0g88jf9rg28labqsyxv7gg357q1-xz-5.4.4-bin/bin:/nix/store/h5pshzq92r2xcv6w1p10cmkar4nyv0xp-file-5.45/bin
time=2024-12-22T15:29:50.471+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/devbox.go:773 msg="filtering out buildInput from PATH" path=/nix/store/1h2hnnl1w3k4b6pj8h3bcmcl0syjdhl0-cargo-binstall-1.10.16/bin input=/nix/store/1h2hnnl1w3k4b6pj8h3bcmcl0syjdhl0-cargo-binstall-1.10.16
time=2024-12-22T15:29:50.471+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/devbox.go:773 msg="filtering out buildInput from PATH" path=/nix/store/0cn8dalwkmdark0zhpyn05453vb2lnds-rustup-1.26.0/bin input=/nix/store/0cn8dalwkmdark0zhpyn05453vb2lnds-rustup-1.26.0
time=2024-12-22T15:29:50.471+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/devbox.go:779 msg="PATH after filtering buildInputs" inputs="[/nix/store/1h2hnnl1w3k4b6pj8h3bcmcl0syjdhl0-cargo-binstall-1.10.16 /nix/store/0cn8dalwkmdark0zhpyn05453vb2lnds-rustup-1.26.0]" path=/home/ineiti/dioxus/.devbox/nix/profile/default/bin:/nix/store/znqwpxy9jlxcgi2ms2hga0ch87bbbr9g-patchelf-0.15.0/bin:/nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin:/nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/bin:/nix/store/nvh3jgs8pqghnsfzbv28004xkigiw8gc-glibc-2.38-23-bin/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/h8d2j0prdf7pnpgyrgkxrrbfwnmxbq6y-binutils-wrapper-2.40/bin:/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin:/nix/store/qyzfglbrqb5ck0dgljplin2bvc4995w7-findutils-4.9.0/bin:/nix/store/x6y2i213maj6ibcn0qzgg7graif5qcvi-diffutils-3.10/bin:/nix/store/g5p3ky90xa05ggg5szyb0pbbl2vp7n03-gnused-4.9/bin:/nix/store/p2r51wfg9m3ga7pp7avslpfhfa7w5y83-gnugrep-3.11/bin:/nix/store/cmn958i8qym0qvmvydl23fh3bm3fbhl7-gawk-5.2.2/bin:/nix/store/f5qy259g9b4qh0hwz22z5j5bq3m53cpv-gnutar-1.35/bin:/nix/store/kmr52zpw7wazxywqvzgpdx0vnn9prd3v-gzip-1.13/bin:/nix/store/w1mar48lwkavwy64mvj567lwaqnm2l11-bzip2-1.0.8-bin/bin:/nix/store/9dh2csn531by6b1vr9jv85v4k17xwkid-gnumake-4.4.1/bin:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin:/nix/store/pinwlz7294p37d2sbkdpjildzxii42vv-patch-2.7.6/bin:/nix/store/skrzk0g88jf9rg28labqsyxv7gg357q1-xz-5.4.4-bin/bin:/nix/store/h5pshzq92r2xcv6w1p10cmkar4nyv0xp-file-5.45/bin
time=2024-12-22T15:29:50.471+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:50.471+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
time=2024-12-22T15:29:50.471+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/devbox.go:798 msg="new path stack is" path_stack=DEVBOX_NIX_ENV_PATH_00d9acda8635cde292f2f959b535f5440b94aa2f3e1b1c4125cf5f718baf04fe:DEVBOX_INIT_PATH
time=2024-12-22T15:29:50.471+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/devbox.go:800 msg="computed environment PATH" path=/home/ineiti/dioxus/.devbox/nix/profile/default/bin:/nix/store/znqwpxy9jlxcgi2ms2hga0ch87bbbr9g-patchelf-0.15.0/bin:/nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin:/nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/bin:/nix/store/nvh3jgs8pqghnsfzbv28004xkigiw8gc-glibc-2.38-23-bin/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/h8d2j0prdf7pnpgyrgkxrrbfwnmxbq6y-binutils-wrapper-2.40/bin:/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin:/nix/store/qyzfglbrqb5ck0dgljplin2bvc4995w7-findutils-4.9.0/bin:/nix/store/x6y2i213maj6ibcn0qzgg7graif5qcvi-diffutils-3.10/bin:/nix/store/g5p3ky90xa05ggg5szyb0pbbl2vp7n03-gnused-4.9/bin:/nix/store/p2r51wfg9m3ga7pp7avslpfhfa7w5y83-gnugrep-3.11/bin:/nix/store/cmn958i8qym0qvmvydl23fh3bm3fbhl7-gawk-5.2.2/bin:/nix/store/f5qy259g9b4qh0hwz22z5j5bq3m53cpv-gnutar-1.35/bin:/nix/store/kmr52zpw7wazxywqvzgpdx0vnn9prd3v-gzip-1.13/bin:/nix/store/w1mar48lwkavwy64mvj567lwaqnm2l11-bzip2-1.0.8-bin/bin:/nix/store/9dh2csn531by6b1vr9jv85v4k17xwkid-gnumake-4.4.1/bin:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin:/nix/store/pinwlz7294p37d2sbkdpjildzxii42vv-patch-2.7.6/bin:/nix/store/skrzk0g88jf9rg28labqsyxv7gg357q1-xz-5.4.4-bin/bin:/nix/store/h5pshzq92r2xcv6w1p10cmkar4nyv0xp-file-5.45/bin:/home/ineiti/dioxus/.devbox/virtenv/runx/bin:/home/ineiti/.nix-profile/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
time=2024-12-22T15:29:50.471+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/run.go:36 msg="executing script" cmd="[/usr/bin/sh -c "/home/ineiti/dioxus/.devbox/gen/scripts/.cmd.sh"]"
INFO resolve: Resolving package: 'dioxus-cli'
WARN The package dioxus-cli v0.6.1 (x86_64-unknown-linux-gnu) has been downloaded from github.com
INFO This will install the following binaries:
INFO - dx => ./bin/dx
INFO Installing binaries...
INFO Done in 3.72712221s
./bin/dx: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
Error: error running script "./bin/dx" in Devbox: exit status 127

time=2024-12-22T15:29:54.248+01:00 level=ERROR source=go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:70 msg="command error" execid=9ebf6a2ce71941338505a16da7eaa98c stack="error running script "./bin/dx" in Devbox: exit status 127\ngo.jetpack.io/devbox/internal/boxcli.runScriptCmd\n\tgo.jetpack.io/devbox/internal/boxcli/run.go:127\ngo.jetpack.io/devbox/internal/boxcli.runCmd.func1\n\tgo.jetpack.io/devbox/internal/boxcli/run.go:50\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/[email protected]/command.go:983\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/[email protected]/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/[email protected]/command.go:1039\ngo.jetpack.io/devbox/internal/boxcli/midcobra.(*midcobraExecutable).Execute\n\tgo.jetpack.io/devbox/internal/boxcli/midcobra/midcobra.go:61\ngo.jetpack.io/devbox/internal/boxcli.Execute\n\tgo.jetpack.io/devbox/internal/boxcli/root.go:116\ngo.jetpack.io/devbox/internal/boxcli.Main\n\tgo.jetpack.io/devbox/internal/boxcli/root.go:139\nmain.main\n\t./main.go:11\nruntime.main\n\truntime/proc.go:272\nruntime.goexit\n\truntime/asm_amd64.s:1700"
time=2024-12-22T15:29:54.248+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:125 msg="searching for config file (including parent directories)" path=.
time=2024-12-22T15:29:54.248+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:146 msg="trying config file" path=devbox.json
time=2024-12-22T15:29:54.248+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:133 msg="config file found" path=/home/ineiti/dioxus/devbox.json dur=104.606µs
time=2024-12-22T15:29:54.248+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=cargo-binstall mode=auto
time=2024-12-22T15:29:54.248+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg=rustup mode=auto
ineiti@fricklebox:~/dioxus$

@ineiti ineiti added bug Something isn't working triage Issue needs triage labels Dec 22, 2024
@ineiti
Copy link
Author

ineiti commented Dec 22, 2024

This is on a debian bullseye system. I thought that devbox will allow to run it on any system. But even cargo install dioxus-cli doesn't run through...

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

No branches or pull requests

1 participant