pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
emulators/wine 2026Q1
Hi all,
I just want to understand this. I have installed wine from 2026Q1:
wine-9.0nb12 = Compatibility layer for running Microsoft Windows applications
netbsd-nuc# uname -a
NetBSD netbsd-nuc.home 11.0 NetBSD 11.0 (GENERIC) #0: Thu Jul 30 15:23:12 UTC 2026 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
I am trying to run this Windows pinball game:
/home/ramiro/.wine/drive_c/Pinball
netbsd-nuc$ ls
FONT.DAT SOUND22.WAV SOUND528.WAV
PINBALL.DAT SOUND24.WAV SOUND53.WAV
PINBALL.MID SOUND240.WAV SOUND54.WAV
PINBALL2.MID SOUND243.WAV SOUND55.WAV
SDL2.dll SOUND25.WAV SOUND560.WAV
SDL2_mixer.dll SOUND26.WAV SOUND563.WAV
SOUND1.WAV SOUND27.WAV SOUND57.WAV
SOUND104.WAV SOUND28.WAV SOUND58.WAV
SOUND105.WAV SOUND29.WAV SOUND6.WAV
SOUND108.WAV SOUND3.WAV SOUND65.WAV
SOUND111.WAV SOUND30.WAV SOUND68.WAV
SOUND112.WAV SOUND34.WAV SOUND7.WAV
SOUND12.WAV SOUND35.WAV SOUND713.WAV
SOUND13.WAV SOUND36.WAV SOUND735.WAV
SOUND131.WAV SOUND38.WAV SOUND8.WAV
SOUND136.WAV SOUND39.WAV SOUND827.WAV
SOUND14.WAV SOUND4.WAV SOUND9.WAV
SOUND16.WAV SOUND42.WAV SOUND999.WAV
SOUND17.WAV SOUND43.WAV SpaceCadetPinball.exe
SOUND18.WAV SOUND45.WAV pinball.exe
SOUND181.WAV SOUND49.WAV pinball.png
SOUND19.WAV SOUND49D.WAV table.bmp
SOUND20.WAV SOUND5.WAV wavemix.inf
SOUND21.WAV SOUND50.WAV
netbsd-nuc$
netbsd-nuc$ file *exe
SpaceCadetPinball.exe: PE32+ executable (GUI) x86-64, for MS Windows, 6 sections
pinball.exe: PE32 executable (GUI) Intel 80386, for MS Windows, 3 sections
So I asumed it would work with wine64
But it failed:
netbsd-nuc$ wine64 SpaceCadetPinball.exe
0024:fixme:ntdll:create_logical_proc_info stub
0024:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:create_logical_proc_info stub
002c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
0034:fixme:ntdll:create_logical_proc_info stub
0034:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
003c:fixme:ntdll:create_logical_proc_info stub
003c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0048:fixme:thread:set_native_thread_name not implemented on this platform
0044:fixme:ntdll:create_logical_proc_info stub
0044:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0050:fixme:ntdll:create_logical_proc_info stub
0050:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0060:fixme:thread:set_native_thread_name not implemented on this platform
0078:fixme:ntdll:create_logical_proc_info stub
0078:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0084:fixme:thread:set_native_thread_name not implemented on this platform
008c:err:wineusb:usb_init Failed to register callback: Operation not supported or unimplemented on this platform
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0098:fixme:ntdll:create_logical_proc_info stub
0098:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00b0:fixme:thread:set_native_thread_name not implemented on this platform
00bc:fixme:ntdll:create_logical_proc_info stub
00bc:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00d0:fixme:thread:set_native_thread_name not implemented on this platform
0024:err:module:import_dll Library ADVAPI32.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library GDI32.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library IMM32.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
00e0:fixme:thread:set_native_thread_name not implemented on this platform
0024:err:module:import_dll Library OLEAUT32.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library SETUPAPI.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library SHELL32.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library VERSION.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library WINMM.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library SDL2.dll (which is needed by L"C:\\Pinball\\SpaceCadetPinball.exe") not found
0024:err:module:import_dll Library WINMM.dll (which is needed by L"C:\\Pinball\\SDL2_mixer.dll") not found
0024:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffd80000-0x7ffffffec000, unix_prot 0x7.
0024:err:module:import_dll Library IMM32.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library OLEAUT32.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library SETUPAPI.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library SHELL32.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library VERSION.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library WINMM.dll (which is needed by L"C:\\Pinball\\SDL2.dll") not found
0024:err:module:import_dll Library SDL2.dll (which is needed by L"C:\\Pinball\\SDL2_mixer.dll") not found
0024:err:module:import_dll Library SDL2_mixer.dll (which is needed by L"C:\\Pinball\\SpaceCadetPinball.exe") not found
0024:err:module:import_dll Library MSVCP140.dll (which is needed by L"C:\\Pinball\\SpaceCadetPinball.exe") not found
0024:err:module:import_dll Library IMM32.dll (which is needed by L"C:\\Pinball\\SpaceCadetPinball.exe") not found
0024:err:module:import_dll Library VCRUNTIME140.dll (which is needed by L"C:\\Pinball\\SpaceCadetPinball.exe") not found
0024:err:module:import_dll Library VCRUNTIME140_1.dll (which is needed by L"C:\\Pinball\\SpaceCadetPinball.exe") not found
0024:err:module:loader_init Importing dlls for L"C:\\Pinball\\SpaceCadetPinball.exe" failed, status c0000135
netbsd-nuc$ 00ec:fixme:ntdll:create_logical_proc_info stub
00ec:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00fc:fixme:thread:set_native_thread_name not implemented on this platform
netbsd-nuc$
Read somewhere that someone applied a patch to overcome an issue with capital characters (just a blind shot). I tried to compile it in
/usr/pkgsrc/emulators/wine after "make patch" for the pkgsrc patches and manual patching wine in work directory. Compilation failed.
Just to try and after cleaning, I tried to compile wine as is on the pkgsrc 2026Q1 tree in emulators/wine/. It also failed (after doing cvs update -dP).
My question is: why does compilation fail if
https://releng.netbsd.org/bulktracker/pkg/88068243
says it is an ok build?
Just curious.
Regards.
Ramiro.
gcc -m64 -c -o dlls/ntdll/unix/signal_x86_64.o dlls/ntdll/unix/signal_x86_64.c -Idlls/ntdll -Iinclude -D__WINESRC__ -D_NTSYSTEM_ \
-D_ACRTIMP= -DWINBASEAPI= -DWINE_UNIX_LIB -Wall -pipe -fcf-protection=none -fvisibility=hidden \
-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 -fPIC -fasynchronous-unwind-tables -I/usr/pkg/include -I/usr/include \
-I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -I/usr/pkg/include/SDL2 \
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/gstreamer-1.0 -I/usr/pkg/include/glib-2.0 \
-I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/libxml2 \
-O2 -g -funsigned-char -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -I/usr/pkg/include/SDL2 -I/usr/pkg/include/freetype2
-I/usr/pkg/include/gstreamer-1.0 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/libxml2
In file included from /usr/include/ctype.h:100,
from include/winnt.h:30,
from include/windef.h:271,
from dlls/ntdll/unix/signal_x86_64.c:70:
include/wine/debug.h: In function 'wine_dbgstr_fourcc':
include/wine/debug.h:332:21: warning: array subscript has type 'char' [-Wchar-subscripts]
332 | if (isprint( str[0] ) && isprint( str[1] ) && isprint( str[2] ) && isprint( str[3] ))
| ^
include/wine/debug.h:332:42: warning: array subscript has type 'char' [-Wchar-subscripts]
332 | if (isprint( str[0] ) && isprint( str[1] ) && isprint( str[2] ) && isprint( str[3] ))
| ^
include/wine/debug.h:332:63: warning: array subscript has type 'char' [-Wchar-subscripts]
332 | if (isprint( str[0] ) && isprint( str[1] ) && isprint( str[2] ) && isprint( str[3] ))
| ^
include/wine/debug.h:332:84: warning: array subscript has type 'char' [-Wchar-subscripts]
332 | if (isprint( str[0] ) && isprint( str[1] ) && isprint( str[2] ) && isprint( str[3] ))
| ^
dlls/ntdll/unix/signal_x86_64.c: In function 'save_context':
dlls/ntdll/unix/signal_x86_64.c:899:5: error: cannot convert to a pointer type
899 | if (FPU_sig(sigcontext))
| ^~
dlls/ntdll/unix/signal_x86_64.c:904:9: error: cannot convert to a pointer type
904 | context->FltSave = *FPU_sig(sigcontext);
| ^~~~~~~
dlls/ntdll/unix/signal_x86_64.c: In function 'restore_context':
dlls/ntdll/unix/signal_x86_64.c:935:5: error: cannot convert to a pointer type
935 | if (FPU_sig(sigcontext)) *FPU_sig(sigcontext) = context->FltSave;
| ^~
dlls/ntdll/unix/signal_x86_64.c:935:5: error: cannot convert to a pointer type
dlls/ntdll/unix/signal_x86_64.c: In function 'fpe_handler':
dlls/ntdll/unix/signal_x86_64.c:2083:9: error: cannot convert to a pointer type
2083 | if (FPU_sig(ucontext) && FPU_sig(ucontext)->StatusWord & 0x40)
| ^~
dlls/ntdll/unix/signal_x86_64.c:2083:9: error: cannot convert to a pointer type
dlls/ntdll/unix/signal_x86_64.c:2094:9: error: cannot convert to a pointer type
2094 | rec.ExceptionInformation[1] = FPU_sig(ucontext) ? FPU_sig(ucontext)->MxCsr : 0;
| ^~~
dlls/ntdll/unix/signal_x86_64.c:2094:9: error: cannot convert to a pointer type
dlls/ntdll/unix/signal_x86_64.c: In function 'signal_init_process':
dlls/ntdll/unix/signal_x86_64.c:2393:14: warning: unused variable 'wow_teb' [-Wunused-variable]
2393 | WOW_TEB *wow_teb = get_wow_teb( NtCurrentTeb() );
| ^~~~~~~
gmake: *** [Makefile:88654: dlls/ntdll/unix/signal_x86_64.o] Error 1
*** Error code 2
Stop.
make[1]: stopped making "all" in /usr/pkgsrc/emulators/wine
*** Error code 1
Stop.
make: stopped making "all" in /usr/pkgsrc/emulators/wine
netbsd-nuc#
Home |
Main Index |
Thread Index |
Old Index