M-Reimer/wine-lol

PKGBUILD failing now

gardotd426 opened this issue · 3 comments

Current PKGBUILD fails:

i686-w64-mingw32-gcc -c -o misc.cross.o ../../../wine-lol/dlls/setupapi/misc.c -I. -I../../../wine-lol/dlls/setupapi \
  -I../../include -I../../../wine-lol/include -I../../../wine-lol/include/msvcrt -D__WINESRC__ \
  -D_SETUPAPI_ -D_UCRT -DWINE_CROSS_PE -Wall -D_FORTIFY_SOURCE=2 -g -O2
/usr/lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld: schrpc_c.cross.o:schrpc_c.c:(.bss+0x0): multiple definition of `rpc_handle'; atsvc_c.cross.o:atsvc_c.c:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/i686-w64-mingw32-gcc failed
make[1]: *** [Makefile:437: schedsvc_test-stripped.exe] Error 2
make[1]: Leaving directory '/home/matt/tmp/makepkg/wine-lol/src/wine-lol-32-build/dlls/schedsvc/tests'
make: *** [Makefile:9838: dlls/schedsvc/tests] Error 2
make: *** Waiting for unfinished jobs....

Manjaro Linux, GCC 2.32-4, wine-lol-gcc 2.32-2. I build other versions of wine daily (with mingw enabled), my mingw is fine.

I wonder where the post from @yuiiio has gone 😜
I did cherry-pick your commit with the "without-mingw".
There is absolutely no need to build with mingw.

Weird, yeah I got the email too. Yeah changing the build to use --without-mingw should do the trick, thanks.

Already part of wine-lol GIT and AUR. Just update and build again.