devbox icon indicating copy to clipboard operation
devbox copied to clipboard

[email protected] does not install

Open include opened this issue 6 months ago • 1 comments

Package name

[email protected]

What changes are you requesting?

hi,

I am trying to install this mysql version but no luck so far. Your help very much appreciated :)

(I am using a fresh env)

mkdir /private/tmp/data/engine-5.7.27
cd /private/tmp/data/engine-5.7.27
devbox init
devbox shell
DEVBOX_DEBUG=1 devbox add [email protected]

time=2024-07-31T14:37:51.311+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:22 msg="finding devbox config" path=""
time=2024-07-31T14:37:51.311+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:66 msg="finding devbox config" dir=/private/tmp/data/engine-5.7.27
time=2024-07-31T14:37:51.312+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:22 msg="finding devbox config" path=""
time=2024-07-31T14:37:51.312+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:66 msg="finding devbox config" dir=/private/tmp/data/engine-5.7.27
time=2024-07-31T14:37:51.370+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/nix.go:337 msg="nix --version --debug output" out="nix (Nix) 2.22.1\nSystem type: aarch64-darwin\nAdditional system types: x86_64-darwin\nFeatures: gc, signed-caches\nSystem configuration file: /etc/nix/nix.conf\nUser configuration files: /Users/include/.config/nix/nix.conf:/etc/xdg/nix/nix.conf\nStore directory: /nix/store\nState directory: /nix/var/nix\nData directory: /nix/store/ch3wrx07wnxqqkvbk9w7vvi4r9pw2974-nix-2.22.1/share\n"
time=2024-07-31T14:37:51.370+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=/nix/var/nix/profiles/default/bin/nix
time=2024-07-31T14:37:51.407+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=/nix/var/nix/profiles/default/bin/nix cmd.pid=55762 cmd.code=0 cmd.dur=36.747625ms
time=2024-07-31T14:37:51.407+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:22 msg="finding devbox config" path=""
time=2024-07-31T14:37:51.407+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:66 msg="finding devbox config" dir=/private/tmp/data/engine-5.7.27
Info: Adding package "[email protected]" to devbox.json
time=2024-07-31T14:37:51.652+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/e722007bf05802573b41701c49da6c8814878171#mysql57' --json --impure" cmd.path=/nix/var/nix/profiles/default/bin/nix
time=2024-07-31T14:37:51.946+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/e722007bf05802573b41701c49da6c8814878171#mysql57' --json --impure" cmd.path=/nix/var/nix/profiles/default/bin/nix cmd.stderr="assertion '(with lib; (((toolset == \"clang\") && (! (versionOlder (stdenv).cc.version \"8.0.0\"))) -> (! (versionOlder version \"1.69\"))))' failed" cmd.pid=55765 cmd.code=1 cmd.dur=293.770459ms

Error: error installing package [email protected]
source: nix: command error: nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info 'github:NixOS/nixpkgs/e722007bf05802573b41701c49da6c8814878171#mysql57' --json --impure: assertion '(with lib; (((toolset == "clang") && (! (versionOlder (stdenv).cc.version "8.0.0"))) -> (! (versionOlder version "1.69"))))' failed: exit code 1

time=2024-07-31T14:37:51.946+01:00 level=ERROR source=go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:68 msg="command error" stderr="error:\n       … while calling the 'derivationStrict' builtin\n         at <nix/derivation-internal.nix>:9:12:\n            8|\n            9|   strict = derivationStrict drvAttrs;\n             |            ^\n           10|\n\n       … while evaluating derivation 'mysql-5.7.27'\n         whose name attribute is located at /nix/store/kvycjfkalilk8bxlrkd1kvqq9mplz8nq-source/pkgs/stdenv/generic/make-derivation.nix:205:7\n\n       … while evaluating attribute 'buildInputs' of derivation 'mysql-5.7.27'\n         at /nix/store/kvycjfkalilk8bxlrkd1kvqq9mplz8nq-source/pkgs/stdenv/generic/make-derivation.nix:247:7:\n          246|       depsHostHost                = lib.elemAt (lib.elemAt dependencies 1) 0;\n          247|       buildInputs                 = lib.elemAt (lib.elemAt dependencies 1) 1;\n             |       ^\n          248|       depsTargetTarget            = lib.elemAt (lib.elemAt dependencies 2) 0;\n\n       (stack trace truncated; use '--show-trace' to show the full, detailed trace)\n\n       error: assertion '(with lib; (((toolset == \"clang\") && (! (versionOlder (stdenv).cc.version \"8.0.0\"))) -> (! (versionOlder version \"1.69\"))))' failed\n       at /nix/store/kvycjfkalilk8bxlrkd1kvqq9mplz8nq-source/pkgs/development/libraries/boost/generic.nix:35:1:\n           34| # Boost <1.69 can't be build with clang >8, because pth was removed\n           35| assert with lib; ((toolset == \"clang\" && !(versionOlder stdenv.cc.version \"8.0.0\")) -> !(versionOlder version \"1.69\"));\n             | ^\n           36|\n" execid=bbcfb08c7c344131bd46b08e4aad6c61 stack=<nil>
time=2024-07-31T14:37:51.946+01:00 level=ERROR source=go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:70 msg="command error" execid=bbcfb08c7c344131bd46b08e4aad6c61 stack=<nil>
time=2024-07-31T14:37:51.946+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:22 msg="finding devbox config" path=""
time=2024-07-31T14:37:51.946+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:66 msg="finding devbox config" dir=/private/tmp/data/engine-5.7.27

PS: [email protected] installs without issues.

Cheers, F

Nixhub link

No response

include avatar Jul 31 '24 13:07 include