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).