M-Reimer/wine-lol

configure failed

kyechou opened this issue · 12 comments

../wine-lol/configure failed, which seems to be some patching error. Here's a part of the log when pulling and building from the AUR package.

==> Starting build()...
  -> Building Wine-32...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking for cpp... cpp
checking for ld... ld
checking whether gcc -m32 works... yes
checking for the directory containing the Wine tools... 
checking for flex... flex
checking whether flex is recent enough... yes
checking for bison... bison
checking whether bison is recent enough... yes
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ldconfig... /sbin/ldconfig
checking for msgfmt... msgfmt
../wine-lol/configure: line 7543: syntax error near unexpected token `newline'
../wine-lol/configure: line 7543: `    '''
==> ERROR: A failure occurred in build().
    Aborting...

Can confirm, have exactly the same issue

td77 commented

Same for me using pacaur to build

FYI, one can still install wine-lol from M-Reimer's binary repository (https://m-reimer.de/wine-lol/) if needed. I'm guessing there probably are some upstream changes that messed up the patching process.

FYI, one can still install wine-lol from M-Reimer's binary repository (https://m-reimer.de/wine-lol/) if needed. I'm guessing there probably are some upstream changes that messed up the patching process.

Oh i was not aware of that ! Tahnk you ! At least now i can play (lutris method is broken for me)

I can reproduce the problem but I won't be able to fix it. I have no clue why configure fails. I could not find which line in "configure.ac" causes the bad line in "configure" and I don't know which fix in later Wine versions fix this problem.

I can't put into words how much I HATE autoconf!

The > '' < should not be here?

Maybe. But even if that's the case it is not really possible to know what would be right as "configure" is auto-generated from "configure.ac" with this shitty "autoconf" tool. Probably this was fixed in Wine at some point but I don't know where and we can't just place a more recent configure.ac into an older Wine.

Downgrading autoconf fixes the problem. With this information I continued to search and found:

https://www.winehq.org/pipermail/wine-devel/2020-October/176324.html

Not tested so far.

Downgrading autoconf fixes the problem. With this information I continued to search and found:

https://www.winehq.org/pipermail/wine-devel/2020-October/176324.html

I just tested this patch, and it works for me on my laptop.

Updated here and on AUR. I did not push pkgrel as this fix is just for making it build again.

Amazing, thank you.
Do you happen to take any donation?