wine run nmap python application error,but run ok on mac.

Questions about Wine on macOS.
Locked
AlexPhil
Newbie
Newbie
Posts: 1
Joined: Fri Oct 18, 2019 8:41 pm

wine run nmap python application error,but run ok on mac.

Post by AlexPhil »

I need to help solve this error, make the app run correct,thanks a lot!!!

exception info:
=====================================================
0009:fixme:esync:do_esync eventfd not supported on this platform.
000b:fixme:esync:do_esync eventfd not supported on this platform.
000b:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
000b:fixme:winediag:start_process Wine Staging 4.17 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
000d:fixme:esync:do_esync eventfd not supported on this platform.
000f:fixme:esync:do_esync eventfd not supported on this platform.
000f:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0012:fixme:esync:do_esync eventfd not supported on this platform.
000d:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0012:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0014:fixme:esync:do_esync eventfd not supported on this platform.
001b:fixme:esync:do_esync eventfd not supported on this platform.
0014:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
001b:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0021:fixme:esync:do_esync eventfd not supported on this platform.
0021:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
002a:fixme:esync:do_esync eventfd not supported on this platform.
002a:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
>>> path=Z:\Users\liyang\PYCH~5RR\ADBI~4O4\dist\main\log,filename=58c0527a-71fd-46c5-9e69-05227b3890c6.log
002a:fixme:font:freetype_SelectFont Untranslated charset 255
002f:fixme:esync:do_esync eventfd not supported on this platform.
002a:fixme:ntdll:server_get_file_info Unsupported info class e
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Common/ChunkCompression.cpp:49: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist'
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Common/ChunkCompression.cpp:49: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/AppExceptions.bundle/Exceptions.plist'
WARNING: Could not import all necessary Npcap functions. You may need to upgrade to the latest version from https://npcap.org. Resorting to connect() mode -- Nmap may not function completely
002f:fixme:msvcrt:__clean_type_info_names_internal (0x3983d4) stub
002f:fixme:msvcrt:__clean_type_info_names_internal (0x10026484) stub
002f:fixme:msvcrt:__clean_type_info_names_internal (0x7f0304) stub
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:ntdll:server_get_file_info Unsupported info class e
002a:fixme:imm:ImmReleaseContext (0000000000010066, 00000000000D03F0): stub
2019-10-19 09:47:17,138 - model.py[line:27] - INFO: >>> start scan!!
listbox clean all!!
2019-10-19 09:47:17,184 - model.py[line:36] - INFO: >>> scan thread has start!!
2019-10-19 09:47:17,184 - model.py[line:152] - INFO: start thread scan_thread
0035:fixme:esync:do_esync eventfd not supported on this platform.
2019-10-19 09:47:17,263 - model.py[line:162] - INFO: >>> scan running!!
0035:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
>>> path=Z:\Users\liyang\PYCH~5RR\ADBI~4O4\dist\main\log,filename=300539d2-a756-499a-9187-49a8033d5ea2.log
0035:fixme:font:freetype_SelectFont Untranslated charset 255
003a:fixme:esync:do_esync eventfd not supported on this platform.
0035:fixme:ntdll:server_get_file_info Unsupported info class e
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Common/ChunkCompression.cpp:49: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist'
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Common/ChunkCompression.cpp:49: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/AppExceptions.bundle/Exceptions.plist'
WARNING: Could not import all necessary Npcap functions. You may need to upgrade to the latest version from https://npcap.org. Resorting to connect() mode -- Nmap may not function completely

003a:fixme:msvcrt:__clean_type_info_names_internal (0x3983d4) stub
003a:fixme:msvcrt:__clean_type_info_names_internal (0x10026484) stub
003a:fixme:msvcrt:__clean_type_info_names_internal (0x7f0304) stub
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:ntdll:server_get_file_info Unsupported info class e
0035:fixme:imm:ImmReleaseContext (00000000000100BA, 00000000000C95D0): stub
2019-10-19 09:47:19,278 - model.py[line:162] - INFO: >>> scan running!!
0035:fixme:ver:GetCurrentPackageId (0x21fd00 0x0): stub
0035:fixme:msvcrt:__clean_type_info_names_internal (0x28ba2a0) stub
0035:fixme:msvcrt:__clean_type_info_names_internal (0x1a4f168) stub
0035:fixme:msvcrt:__clean_type_info_names_internal (0x1d187e90) stub
0035:fixme:msvcrt:__clean_type_info_names_internal (0x1a1d400) stub
0035:fixme:msvcrt:__clean_type_info_names_internal (0x182d140) stub
0035:fixme:msvcrt:__clean_type_info_names_internal (0x18000e300) stub
0035:fixme:msvcrt:__clean_type_info_names_internal (0x103bc3c0) stub
0035:fixme:msvcrt:__clean_type_info_names_internal (0x1011b540) stub
0035:fixme:msvcrt:__clean_type_info_names_internal (0x10fa4c0) stub
0035:fixme:msvcrt:__clean_type_info_names_internal (0x1d1bdd60) stub
0035:fixme:msvcrt:__clean_type_info_names_internal (0x1e321350) stub
2019-10-19 09:47:21,161 - model.py[line:164] - INFO: >>> scan exit!!
002a:fixme:ver:GetCurrentPackageId (0x21fd00 0x0): stub
002a:fixme:msvcrt:__clean_type_info_names_internal (0x28ba2a0) stub
002a:fixme:msvcrt:__clean_type_info_names_internal (0x1a4f168) stub
002a:fixme:msvcrt:__clean_type_info_names_internal (0x1d187e90) stub
002a:fixme:msvcrt:__clean_type_info_names_internal (0x1a1d400) stub
002a:fixme:msvcrt:__clean_type_info_names_internal (0x182d140) stub
002a:fixme:msvcrt:__clean_type_info_names_internal (0x18000e300) stub
002a:fixme:msvcrt:__clean_type_info_names_internal (0x103bc3c0) stub
002a:fixme:msvcrt:__clean_type_info_names_internal (0x1011b540) stub
002a:fixme:msvcrt:__clean_type_info_names_internal (0x10fa4c0) stub
002a:fixme:msvcrt:__clean_type_info_names_internal (0x1d1bdd60) stub
002a:fixme:msvcrt:__clean_type_info_names_internal (0x1e321350) stub
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: wine run nmap python application error,but run ok on mac.

Post by DarkShadow44 »

Please use code tags for logs.
Do you have a specific question? The log does tell you what is wrong, no? "Upgrade npcap" - that means you need a wine that is compiled with pcap support, and have the according library installed. Do you have that?
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: wine run nmap python application error,but run ok on mac.

Post by Gcenx »

The following errors can be ignored

Code: Select all

003a:fixme:esync:do_esync eventfd not supported on this platform.
This one is obvious macOS doesn’t support esync this error can be disabled by setting

Code: Select all

winedebug=fixme-esync

Code: Select all

/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Common/ChunkCompression.cpp:49: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist'
This one can’t be disabled but it’s related to Winehq’s winebuild system using the 10.8 SDK to build wine.

As Darkshadow said, you lightly need to compile wine from source yourself with the needed dependancies.

Winehq releases for macOS are built with a minimal set of dependencies, for a fully featured version you have no option but to compile wine from source.
Locked