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 )) | ^~~~~~~
https://bugs.winehq.org/show_bug.cgi?id=52217
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- Munged a workaround to that but it then goes on to fail with:
/usr/gnu/bin/ld: target elf32-i386 not found (GNU LD)
or
ld: fatal: file elf_i386: open failed: No such file or directory (Solaris LD)
I don't know if this is due to a bad environment though.
https://bugs.winehq.org/show_bug.cgi?id=52217
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- Created attachment 71285 --> https://bugs.winehq.org/attachment.cgi?id=71285 [PATCH] configure: Use correct msgfmt in OpenIndiana
This patch seems to work in Linux and OI but running autoconf removes a lot of stuff. I don't know enough about configure scripts to know how to work around this.
https://bugs.winehq.org/show_bug.cgi?id=52217
--- Comment #3 from Ken Sharp imwellcushtymelike@gmail.com --- Created attachment 71286 --> https://bugs.winehq.org/attachment.cgi?id=71286 [PATCH] ntdll: Include termios.h in env.c
https://bugs.winehq.org/show_bug.cgi?id=52217
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- Created attachment 71288 --> https://bugs.winehq.org/attachment.cgi?id=71288 [PATCH] ntdll: Use statvfs() for Solaris in file.c
I doubt that this is correct.
https://bugs.winehq.org/show_bug.cgi?id=52217
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |45263
https://bugs.winehq.org/show_bug.cgi?id=52217
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- I assume this is still broken? Anyone want to create a MR?
https://bugs.winehq.org/show_bug.cgi?id=52217
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #6 from Vijay Kamuju infyquest@gmail.com --- I am not so sure about opensolaris support in wine. If new patches are accepted for it's support.
https://bugs.winehq.org/show_bug.cgi?id=52217
--- Comment #7 from Fabian Maurer dark.shadow4@web.de --- I don't see why it wouldn't be accepted.
https://bugs.winehq.org/show_bug.cgi?id=52217
--- Comment #8 from Vijay Kamuju infyquest@gmail.com --- I think solaris support is deprecated, as we no longer provide any precompiled versions of wine for that platform.
https://bugs.winehq.org/show_bug.cgi?id=52217
--- Comment #9 from Austin English austinenglish@gmail.com --- (In reply to Vijay Kamuju from comment #8)
I think solaris support is deprecated, as we no longer provide any precompiled versions of wine for that platform.
Just because we don't provide precompiled binaries means that something is unsupported.
https://bugs.winehq.org/show_bug.cgi?id=52217
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Solaris is pretty much unsupported at this point, there are essentially zero users, and it's not worth the extra maintenance work.
If someone really cares, they can maintain an out-of-tree patch. If that generates enough interest we can reconsider.