Build failure: steam-fhsenv-rootfs
Opened this issue · 4 comments
Steps To Reproduce
Steps to reproduce the behavior:
I'm using NixOS. Pasting my whole config misses the point. I am yet to provide a minimal build (I've been looking at testing it in a VM, but since I'm new to nix, I'd appreciate any tips on how to set this up with flakes).
This is the steam-related part of my configuration.nix:
programs.steam = {
enable = true;
remotePlay.openFirewall =
true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall =
true; # Open ports in the firewall for Source Dedicated Server
extraCompatPackages = with pkgs; [
proton-ge-bin
];
extraPackages = with pkgs; [
protontricks
];
};
Build log
Build Log
...
these 8 paths will be fetched (0.76 MiB download, 11.14 MiB unpacked):
/nix/store/6v2sf6k91nk0riigbf3xyjh3cymzc5iv-fhs-rootfs-bulder
/nix/store/a3fbrhwj49vf02r28zn1gn9nq0g7h1av-fhsenv-ensure-gsettings-schemas-directory
/nix/store/0givdhvfbfpmrkfscam3hghcr4yf6f1m-protontricks-1.12.0
/nix/store/w199m58d62425fyn6bh09mbnb7viyd2l-steam-run
/nix/store/503cnwdda129kihsnh6sc7qqgrvxjff1-steam-run-bash
/nix/store/i0d290pwsdqfzgnzrjz7kg5by4x5iiw3-steam-run-bwrap
/nix/store/68n8ya3k14vk3vd2xw8bx219f46hwn2h-steam-run-fhsenv-profile
/nix/store/7hmk85gn7yjascvgfcd3b35kgh50hqrw-steam-run-fhsenv-rootfs
building '/nix/store/vbywq3rilja128y4hbz96hrmmp4f2d0q-boot.json.drv'...
building '/nix/store/1l4pi23mxis177wkmmq11g31xyv4dzp5-etc-nix-registry.json.drv'...
building '/nix/store/cpqj3mv0mqzhfxsbj8iynqzbaic7sbjy-etc-os-release.drv'...
building '/nix/store/z002c4w2hs95l9827xddxpfsq9n0wpzs-issue.drv'...
building '/nix/store/w73h22197np3h4ji8wi0hj2pzf8r7b45-nixos-version.drv'...
building '/nix/store/zkr5nw5gkblfffjvydlja8acmk8vw6vp-arion-0.2.1.0.drv'...
copying path '/nix/store/6v2sf6k91nk0riigbf3xyjh3cymzc5iv-fhs-rootfs-bulder' from 'https://cache.nixos.org'...
building '/nix/store/z4h2ky9r4gwrjcjnmprfrclxigldpf4x-fhsenv-ensure-gsettings-schemas-directory.drv'...
building '/nix/store/jhpnik1y9cxa8jrfzjp94z2bk29kxw91-steam-fhsenv-profile.drv'...
building '/nix/store/477xmkxyph84vz6nr5p2rikjs25r6h6y-steam-run-fhsenv-profile.drv'...
copying path '/nix/store/a3fbrhwj49vf02r28zn1gn9nq0g7h1av-fhsenv-ensure-gsettings-schemas-directory' from 'https://cache.nixos.org'...
copying path '/nix/store/68n8ya3k14vk3vd2xw8bx219f46hwn2h-steam-run-fhsenv-profile' from 'https://cache.nixos.org'...
building '/nix/store/4qrfibbh9c0wvvz384k3sj0xyj4s4vlm-steam-fhsenv-profile.drv'...
building '/nix/store/r5dbfknsncmpfk6nhfxkwm0lx74igg0p-shutdown-ramfs-contents.json.drv'...
copying path '/nix/store/7hmk85gn7yjascvgfcd3b35kgh50hqrw-steam-run-fhsenv-rootfs' from 'https://cache.nixos.org'...
building '/nix/store/w4b9vvvbf16s6dvfh52fv1pslfxvyicq-steam-fhsenv-rootfs.drv'...
building '/nix/store/6ginkn4ma0wsl16909dbm17q2vwxxd2b-unit-generate-shutdown-ramfs.service.drv'...
copying path '/nix/store/i0d290pwsdqfzgnzrjz7kg5by4x5iiw3-steam-run-bwrap' from 'https://cache.nixos.org'...
copying path '/nix/store/w199m58d62425fyn6bh09mbnb7viyd2l-steam-run' from 'https://cache.nixos.org'...
copying path '/nix/store/503cnwdda129kihsnh6sc7qqgrvxjff1-steam-run-bash' from 'https://cache.nixos.org'...
copying path '/nix/store/0givdhvfbfpmrkfscam3hghcr4yf6f1m-protontricks-1.12.0' from 'https://cache.nixos.org'...
building '/nix/store/9z1w7262i4m00c4vzbrvkscjsiflyskj-steam-fhsenv-rootfs.drv'...
building '/nix/store/2v4pg2jif2n9ibq291xc95dm47pikhf4-steam-run-fhsenv-rootfs.drv'...
building '/nix/store/knaz7d54v1rw84ixz7shzabrj08kcd7x-steam-bwrap.drv'...
error: builder for '/nix/store/9z1w7262i4m00c4vzbrvkscjsiflyskj-steam-fhsenv-rootfs.drv' failed with exit code 1;
last 5 log lines:
> structuredAttrs is enabled
> Error: When symlinking "/nix/store/7hmk85gn7yjascvgfcd3b35kgh50hqrw-steam-run-fhsenv-rootfs/bin" to "/nix/store/qd5g2p7k5jx3n5fkjzb8w7ya3fy2g4cg-steam-fhsenv-rootfs/usr/bin"
>
> Caused by:
> File exists (os error 17)
For full logs, run 'nix log /nix/store/9z1w7262i4m00c4vzbrvkscjsiflyskj-steam-fhsenv-rootfs.drv'.
error: builder for '/nix/store/2v4pg2jif2n9ibq291xc95dm47pikhf4-steam-run-fhsenv-rootfs.drv' failed with exit code 1;
last 5 log lines:
> structuredAttrs is enabled
> Error: When symlinking "/nix/store/7hmk85gn7yjascvgfcd3b35kgh50hqrw-steam-run-fhsenv-rootfs/lib" to "/nix/store/3gbmwlspwhkqjws92qvll5c5caw1ifq9-steam-run-fhsenv-rootfs/usr/lib64/"
>
> Caused by:
> File exists (os error 17)
For full logs, run 'nix log /nix/store/2v4pg2jif2n9ibq291xc95dm47pikhf4-steam-run-fhsenv-rootfs.drv'.
error: 1 dependencies of derivation '/nix/store/l2gwyyhyp0fm7nsg5j76fg3yyivanbyd-steam-bwrap.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xlppcdnvc5cxmkzzzqr42b6i7d0xjyd9-steam-run-bwrap.drv' failed to build
error: 1 dependencies of derivation '/nix/store/q36vdapklfpi66w2vlyw411ql0sn2dhw-steam-run.drv' failed to build
error: 1 dependencies of derivation '/nix/store/m4kcnd0s46aikn5gp54xrdypglqgwfim-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/k5mzr78gc5yash6rhq2kkdz59r4jmg1v-nixos-system-nexus-24.11.20241104.6e80056.drv' failed to build
Additional context
I have pinpointed this PR to introduce breaking changes: #351928 (pinned flake to the commit right before this one and it built just fine).
Metadata
> nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.6.51, NixOS, 24.11 (Vicuna), 24.11.20241104.06823bc`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.24.10`
- nixpkgs: `/nix/store/9b0la9vdkmjbgalh397p85jq8ddxr6h7-source`
Note I couldn't build with the commit described, so the above was run on the preceding commit.
Notify maintainers
@K900 I guess
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
Can you please run the build with --keep-failed
and upload the build directory somewhere?
Sure!
> ls -hla /tmp/nix-build-steam-run-fhsenv-rootfs.drv-0/build
total 416K
drwxr-xr-x 2 nixbld13 nixbld 4,0K 11-20 23:02 ./
drwxr-xr-x 3 root root 4,0K 11-20 23:02 ../
-rw-r--r-- 1 nixbld13 nixbld 398K 11-20 23:02 .attrs.json
-rw-r--r-- 1 nixbld13 nixbld 2,2K 11-20 23:02 .attrs.sh
-rw------- 1 nixbld13 nixbld 3,1K 11-20 23:02 env-vars
Here are the contents: https://gist.github.com/klausweiss/6218ceffd9a5d1fefc0d9fbd22725100
Can you please upload all of /tmp/nix-build-steam-run-fhsenv-rootfs.drv-0/
?
Confirming here I am having the same issue, will upload the relevant files tomorrow (As it's past midnight here downunder).