You are not logged in.

#1 2022-04-27 10:49:18

proledatarian
Member
Registered: 2022-02-11
Posts: 20

Compiling wine using mingw-binutils failes because of missing file.

I just tried updating wine-ge-proton from the AUR which needs to be compiled using MinGW. It always failed because the file rpcrt4_dll_h.o could not be found. After using MinGW from the non-testing community repository it worked fine.

tools/winebuild/winebuild -b x86_64-w64-mingw32 -w --implib -o dlls/rpcrt4/librpcrt4.delay.a --export \  
  ../wine-ge-custom/proton-wine/dlls/rpcrt4/rpcrt4.spec  
/usr/bin/x86_64-w64-mingw32-dlltool: dlls/rpcrt4/librpcrt4.cross.a: error reading rpcrt4_dll_h.o: file truncated  
/usr/bin/x86_64-w64-mingw32-dlltool: failed to open temporary head file: rpcrt4_dll_h.o: No such file or directory  
winebuild: /usr/bin/x86_64-w64-mingw32-dlltool failed with status 1  
make: *** [Makefile:242784: dlls/rpcrt4/librpcrt4.delay.a] Error 1  
winebuild: /usr/bin/x86_64-w64-mingw32-dlltool failed with status 1  
make: *** Waiting for unfinished jobs....  
make: *** [Makefile:242784: dlls/rpcrt4/librpcrt4.cross.a] Error 1  
==> ERROR: A failure occurred in build().  
    Aborting...  
 -> error making: wine-ge-custom

Offline

#2 2022-05-03 04:45:15

blablo
Member
Registered: 2011-06-02
Posts: 38

Re: Compiling wine using mingw-binutils failes because of missing file.

Please recompile mingw-w64-binutils 2.38-2 with a patch and try again.
reference:

  1. Bug 28885 

Offline

Board footer

Powered by FluxBB