NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.1k stars 14.15k forks source link

Build failure: steam-fhs and steam-run-fhs #264382

Closed Infinidoge closed 1 year ago

Infinidoge commented 1 year ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. Build Steam

Build log

https://gist.github.com/Infinidoge/2a46ebc0b00865dc11dabeb58db79418 (The log only contains the error from building steam-run-fhs, however the same error occurs for both. It's just that steam-run-fhs happened to be the one that built first when rebuilding my config)

Additional context

I tried to git bisect nixpkgs in order to find the problem, however I didn't want to recompile several hundred packages for certain commits, so I skipped the commits with giant rebuilds. You can see the possible first bad commits in the bisect log at the gist above, as well as tested good/bad commits.

The problem appears to be that something that used to be included in steam-usr-multi (namely gzipped manfiles) are no longer included, and the FHS builder is breaking because of it.

Notify maintainers

@jagajaga @jonringer

Metadata

❯ nix run nixpkgs#nix-info -- -m                                                  
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.8, NixOS, 23.11 (Tapir), 23.11.20231021.d5882b0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.1`

I'm using flakes, so the channels/nixpkgs information is not particularly helpful. I currently have nixpkgs pinned to d5882b063a27787baa28b981e117c7ca2ed9b5f7, while I am using an overlay to pull in the broken version of Steam for testing from a number of different nixpkgs commits. That nixpkgs commit has a working Steam version, as do the other commits marked good on my bisect log at the gist.

Infinidoge commented 1 year ago

image

I think I found the culprit! Really should have rebuilt with --repair earlier...

Gonna rebuild again after unpinning the Steam version and see what the result was. Initially rebuilt with --repair to try and fix an issue causing Xorg to crash.

Infinidoge commented 1 year ago

image

Gotcha you pesky little corrupted set of manpages.