https://bugs.winehq.org/show_bug.cgi?id=49000
Bug ID: 49000 Summary: update to 5.6 breaks libtool in usage of GNU autoconf ./configure Product: Wine Version: 5.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: noel.kuntze+bugs.winehq@thermi.consulting Distribution: ---
When updating to 5.6, paths that are generated by libtool or GNU autoconf (unknown which specifically) in third party programs, specifically by the ./configure script of GNU autoconf programs contain trailing newlines now. This breaks the generated .libs/lb-*.c files. A short excerpt of the troublesome section:
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) # define externally_visible volatile #else # define externally_visible __attribute__((externally_visible)) volatile #endif externally_visible const char * MAGIC_EXE = "%%%MAGIC EXE variable%%%"; const char * LIB_PATH_VARNAME = "PATH"; const char * LIB_PATH_VALUE = "Z:\home\thermi\UNITS\Contauro_AG\strongswan\src\libstrongswan\.libs ;"; const char * EXE_PATH_VARNAME = "PATH"; const char * EXE_PATH_VALUE = "Z:\usr\x86_64-w64-mingw32\lib ;Z:\usr\x86_64-w64-mingw32\bin ;Z:\usr\local\lib ;Z:\usr\local\bin ;Z:\home\thermi\UNITS\Contauro_AG\strongswan\src\libstrongswan\.libs ;Z:\usr\local\lib\ipsec ;";
^ this is not valid C code (with Wine 5.5, there are no newlines between the paths and the ; chararacters. That then is valid C code).
https://bugs.winehq.org/show_bug.cgi?id=49000
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Are those paths generated with some program running with wine? There was a regression recently, see bug 48937, maybe that's what you see. It's already fixed in git.
https://bugs.winehq.org/show_bug.cgi?id=49000
--- Comment #2 from noel.kuntze+bugs.winehq@thermi.consulting --- It does indeed use winepath.
https://bugs.winehq.org/show_bug.cgi?id=49000
noel.kuntze+bugs.winehq@thermi.consulting changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED
--- Comment #3 from noel.kuntze+bugs.winehq@thermi.consulting --- Issue resolved after applying patch from issue #48937.
*** This bug has been marked as a duplicate of bug 48937 ***
https://bugs.winehq.org/show_bug.cgi?id=49000
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |programs Severity|major |normal
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Great, thanks for testing.
https://bugs.winehq.org/show_bug.cgi?id=49000
--- Comment #5 from noel.kuntze+bugs.winehq@thermi.consulting --- Thanks for your work! :)
https://bugs.winehq.org/show_bug.cgi?id=49000
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate.