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

[Fatal Error Bug Report] Failed to build NVIDIA Nixgl Drivers #138

Open
dnkmmr69420 opened this issue Jun 18, 2023 · 3 comments
Open

[Fatal Error Bug Report] Failed to build NVIDIA Nixgl Drivers #138

dnkmmr69420 opened this issue Jun 18, 2023 · 3 comments

Comments

@dnkmmr69420
Copy link
Contributor

Here is my error

error: builder for '/nix/store/xg6fkrij6pm4dkxghp6lnhlb5b4dk82g-nvidia-x11-530.41.03-nixGL.drv' failed with exit code 2;
       last 10 log lines:
       > Verifying archive integrity... OK
       > Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 530.41.03/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Linux-x86_64-530.41.03.run: line 729: /build/makeself.ZYlnAtA5/zstd: No such file or directory
       > tail: error writing 'standard output': Broken pipe
       > /nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Linux-x86_64-530.41.03.run: line 720: /dev/tty: No such device or address
       >
       > Terminated
       > xz: (stdin): File format not recognized
       > tail: error writing 'standard output': Broken pipe
       > tar: This does not look like a tar archive
       > tar: Exiting with failure status due to previous errors
       For full logs, run 'nix log /nix/store/xg6fkrij6pm4dkxghp6lnhlb5b4dk82g-nvidia-x11-530.41.03-nixGL.drv'.
error: 1 dependencies of derivation '/nix/store/cpx61md1wgh926qvljijalsyjlkny1nj-nixGLNvidia-530.41.03.drv' failed to build
error: 1 dependencies of derivation '/nix/store/0s46cygkxjny6jm5cljc86mr0gxzs8hd-nixGL.drv' failed to build

This is running on fedora silverblue

@dnkmmr69420
Copy link
Contributor Author

the log

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/xg6fkrij6pm4dkxghp6lnhlb5b4dk82g-nvidia-x11-530.41.03-nixGL.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
tail: error writing 'standard output': Broken pipe
Creating directory NVIDIA-Linux-x86_64-530.41.03
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 530.41.03/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Lin>
tail: error writing 'standard output': Broken pipe
/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Linux-x86_64-530.41.03.run: line 720: /dev/tty: No such device or address

Terminated
xz: (stdin): File format not recognized
tail: error writing 'standard output': Broken pipe
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 ESCOD






























@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
tail: error writing 'standard output': Broken pipe
Creating directory NVIDIA-Linux-x86_64-530.41.03
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 530.41.03/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Lin>
tail: error writing 'standard output': Broken pipe
/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Linux-x86_64-530.41.03.run: line 720: /dev/tty: No such device or address

Terminated
xz: (stdin): File format not recognized
tail: error writing 'standard output': Broken pipe
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
 ESCOD






























@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
tail: error writing 'standard output': Broken pipe
Creating directory NVIDIA-Linux-x86_64-530.41.03
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 530.41.03/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Lin>
tail: error writing 'standard output': Broken pipe
/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Linux-x86_64-530.41.03.run: line 720: /dev/tty: No such device or address

Terminated
xz: (stdin): File format not recognized
tail: error writing 'standard output': Broken pipe
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-14/14 (END)

@wentasah
Copy link

Using current nixpkgs-unstable seems to fix this problem. Running the following works for me:

NIXPKGS_ALLOW_UNFREE=1 nix run --impure --override-input nixpkgs nixpkgs/nixos-unstable github:guibou/nixGL

@movefasta
Copy link

Using current nixpkgs-unstable seems to fix this problem. Running the following works for me:

NIXPKGS_ALLOW_UNFREE=1 nix run --impure --override-input nixpkgs nixpkgs/nixos-unstable github:guibou/nixGL

Additional info: i face an issue with flake.lock file, because nixpkgs was pinned in my flake registry. Unpin nixpkgs solved this.

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

3 participants