Nix build fails: line 729: /build/makeself.khG0YkK0/zstd: cannot execute: required file not found
Open
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 3.2k
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
It looks like the build fails due to some issue extracting the drivers
./result/bin/simula
building '/nix/store/jr8z5rmsmvwzpxff3kxm4y373c3n0591-impure-nvidia-version-file.drv'...
installing 'nixVulkanNvidia-530.30.02'
building '/nix/store/66sz1x97nvkf8akabmw9xhgzcff5j6f0-nvidia-530.30.02.drv'...
unpacking sources
Creating directory NVIDIA-Linux-x86_64-530.30.02
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 530.30.02/nix/store/8zpy6cffgk57wb8vnpyas6c9x21bixmj-NVIDIA-Linux-x86_64-530.30.02.run: line 729: /build/makeself.khG0YkK0/zstd: cannot execute: required file not found
/nix/store/8zpy6cffgk57wb8vnpyas6c9x21bixmj-NVIDIA-Linux-x86_64-530.30.02.run: line 720: /dev/tty: No such device or address
Terminated
xz: (stdin): File format not recognized
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
error:
… while calling the 'derivationStrict' builtin
at //builtin/derivation.nix:9:12: (source not available)
… while evaluating derivation 'nixVulkanNvidia-530.30.02'
whose name attribute is located at /nix/store/hwis1dw4fzggwk2rdnajg4jirfhg84hx-nixpkgs-unstable/pkgs/stdenv/generic/make-derivation.nix:294:7
… while evaluating attribute 'text' of derivation 'nixVulkanNvidia-530.30.02'
at /nix/store/hwis1dw4fzggwk2rdnajg4jirfhg84hx-nixpkgs-unstable/pkgs/build-support/trivial-builders.nix:137:16:
136| runCommand name
137| { inherit text executable checkPhase meta;
| ^
138| passAsFile = [ "text" ];
error: builder for '/nix/store/66sz1x97nvkf8akabmw9xhgzcff5j6f0-nvidia-530.30.02.drv' failed with exit code 2
Godot Engine v3.4.beta.custom_build - https://godotengine.org
ERROR: Condition "!fbc" is true. Returned: ERR_UNCONFIGURED
at: initialize (platform/x11/context_gl_x11.cpp:154)
ERROR: Error initializing GLAD
at: is_viable (drivers/gles3/rasterizer_gles3.cpp:141)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with ./result/bin/simula and inspect the NVIDIA driver extraction command around the reported makeself lines. Check why zstd cannot execute in the Nix build environment, then verify that the driver archive extracts successfully and Simula no longer reaches the Godot GLAD initialization errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- build-system, game-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100