-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Description
Describe the bug
While trying to create #170943 I noticed that my buils were failing, but even rolling back to current master, wine won't build for me. This is on 57ba746.
$ nix-build -A wineWowPackages.staging --keep-failed --check
[...]
error: builder for '/nix/store/x2j1290fkwyzh200fxikwx6i59jwpcif-wine-wow-7.4-staging.drv' failed with exit code 2;
last 10 log lines:
> tools/winebuild/winebuild -b x86_64-w64-mingw32 -w --implib -o dlls/kernelbase/libkernelbase.cross.a --export \
> /build/wine-7.4/dlls/kernelbase/kernelbase.spec
> tools/winebuild/winebuild -b x86_64-w64-mingw32 -w --implib -o dlls/sechost/libsechost.cross.a --export \
> /build/wine-7.4/dlls/sechost/sechost.spec
> tools/winebuild/winebuild -b x86_64-w64-mingw32 -w --implib -o dlls/setupapi/libsetupapi.cross.a --export \
> /build/wine-7.4/dlls/setupapi/setupapi.spec
> /nix/store/6nsvi3ar932jjlslpgywas2fkzmvasg8-x86_64-w64-mingw32-binutils-2.38/bin/x86_64-w64-mingw32-dlltool: dlls/rpcrt4/librpcrt4.delay.a: error reading rpcrt4_dll_t.o: No such file or directory
> winebuild: /nix/store/6nsvi3ar932jjlslpgywas2fkzmvasg8-x86_64-w64-mingw32-binutils-2.38/bin/x86_64-w64-mingw32-dlltool failed with status 1
> make: *** [Makefile:171142: dlls/rpcrt4/librpcrt4.delay.a] Error 1
> make: *** Waiting for unfinished jobs....
For full logs, run 'nix log /nix/store/x2j1290fkwyzh200fxikwx6i59jwpcif-wine-wow-7.4-staging.drv'.
Steps To Reproduce
Steps to reproduce the behavior:
On master (57ba746):
$ nix-build -A wineWowPackages.staging --keep-failed --check
Expected behavior
Wine staging builds successfully, as it did before.
Additional context
I've tried to bisect this issue (I suspect that the gcc compiler or binutils bump that happened since the 7.4 update in nixpkgs may be causing the issue), but my machine has been chugging along for twelve hours on 52f8cf5 and I still haven't reached the actual wine build yet, so that is turning out to be impractical for me. Commit dd6c709 (which bumps the wine version to 7.4) works for me.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 5.17.3, NixOS, 22.05 (Quokka), 22.05.20220426.cdb0887`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.8.0pre20220411_f7276bc`
- channels(frijters): `""`
- channels(root): `"nixos, nixos-unstable-20.09pre225264.683c68232e9"`
- nixpkgs: `/etc/nixpkgs`