https://bugs.winehq.org/show_bug.cgi?id=52217
Bug ID: 52217 Summary: FTBFS on OpenIndiana Product: Wine Version: 7.0-rc1 Hardware: x86 OS: Solaris Status: NEW Keywords: download, source Severity: blocker Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: imwellcushtymelike@gmail.com
Git Wine FTBFS on OpenIndiana.
An initial failure with msgfmt can be worked around with MSGFMT="/usr/gnu/bin/msgfmt" during configure (or an appropriate patch).
gcc-10 -m32 -c -o dlls/ntdll/unix/env.o /tmp/wine/dlls/ntdll/unix/env.c -Idlls/ntdll -I/tmp/wine/dlls/ntdll -Iinclude \ -I/tmp/wine/include -D__WINESRC__ -D_NTSYSTEM_ -D_ACRTIMP= -DWINBASEAPI= -D_MSVCR_VER=0 \ -DWINE_UNIX_LIB -fPIC -fasynchronous-unwind-tables -Wall -pipe -fcf-protection=none \ -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \ -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \ -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \ -gdwarf-4 -fno-omit-frame-pointer -g -O0 -pipe /tmp/wine/dlls/ntdll/unix/env.c: In function 'get_initial_console': /tmp/wine/dlls/ntdll/unix/env.c:1681:24: error: storage size of 'size' isn't known 1681 | struct winsize size; | ^~~~
Adding #include <sys/termios.h> to ntdll/unix/env.c allows the compilation to continue slightly further, where it fails again
/tmp/wine/dlls/ntdll/unix/file.c: In function 'NtQueryVolumeInformationFile': /tmp/wine/dlls/ntdll/unix/file.c:6528:18: error: too few arguments to function 'fstatfs' 6528 | if (!fstatfs( fd, &stfs )) | ^~~~~~~