Gcenx / macOS_Wine_builds

Official Winehq macOS Packages
459 stars 23 forks source link

wine-devel-9.6-osx64 & wine-staging-9.6-osx64 can’t find libinotify.0.dylib #85

Closed stephen-welker closed 2 months ago

stephen-welker commented 2 months ago

Open terminal app, type winecfg command.

% winecfg
dyld[1101]: Library not loaded: '/opt/local/lib/libinotify.0.dylib'
  Referenced from: '/Applications/Wine Staging.app/Contents/Resources/wine/bin/wineserver'
  Reason: tried: '/opt/local/lib/libinotify.0.dylib' (no such file), '/usr/local/lib/libinotify.0.dylib' (no such file), '/usr/lib/libinotify.0.dylib' (no such file) 

debug report

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               wineserver [1038]
Path:                  /Applications/Wine Staging.app/Contents/Resources/wine/bin/wineserver
Identifier:            wineserver
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        Exited process [1035]
Responsible:           Terminal [984]
User ID:               503

Date/Time:             2024-04-21 18:03:24.1718 +1000
OS Version:            macOS 12.7.4 (21H1123)
Report Version:        12
Anonymous UUID:        5D58EC0C-F392-E328-75EB-403550102E62

Time Awake Since Boot: 680 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: '/opt/local/lib/libinotify.0.dylib'
Referenced from: '/Applications/Wine Staging.app/Contents/Resources/wine/bin/wineserver'
Reason: tried: '/opt/local/lib/libinotify.0.dylib' (no such file), '' (no such file), '' (no such file)
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0   dyld                                     0x1008c89a2 __abort_with_payload + 10
1   dyld                                     0x1008deab2 abort_with_payload_wrapper_internal + 80
2   dyld                                     0x1008deae4 abort_with_payload + 9
3   dyld                                     0x10088c699 dyld4::halt(char const*) + 615
4   dyld                                     0x1008885b5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3995
5   dyld                                     0x1008874e4 start + 388

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000002000209  rbx: 0x0000000000000000  rcx: 0x00007ff7bfefe328  rdx: 0x00007ff7bfefe790
  rdi: 0x0000000000000006  rsi: 0x0000000000000001  rbp: 0x00007ff7bfefe370  rsp: 0x00007ff7bfefe328
   r8: 0x00007ff7bfefe390   r9: 0x0000000000000000  r10: 0x000000000000007c  r11: 0x0000000000000246
  r12: 0x000000000000007c  r13: 0x00007ff7bfefe790  r14: 0x0000000000000001  r15: 0x0000000000000006
  rip: 0x00000001008c89a2  rfl: 0x0000000000000246  cr2: 0x0000000000000000

Logical CPU:     0
Error Code:      0x02000209
Trap Number:     133

Binary Images:
       0x100882000 -        0x1008edfff dyld (*) <430a12c9-134a-3904-9d88-c2df933fdf54> /usr/lib/dyld

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1112K resident=0K(0%) swapped_out_or_unallocated=1112K(100%)
Writable regions: Total=17.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=17.0M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
STACK GUARD                       56.0M        1
Stack                             8192K        1
VM_ALLOCATE                         12K        3
__DATA                            8216K        3
__DATA_CONST                       108K        2
__LINKEDIT                         224K        3
__TEXT                             900K        2
dyld private memory               1024K        1
===========                     =======  =======
TOTAL                             74.2M       16

-----------
Full Report
-----------

{"app_name":"wineserver","timestamp":"2024-04-21 18:03:24.00 +1000","app_version":"","slice_uuid":"16971ee8-6895-3033-afd4-105119b71765","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.7.4 (21H1123)","incident_id":"0F42925D-1DC4-494F-8151-95B9FB5C2AC2","name":"wineserver"}
{
  "uptime" : 680,
  "procLaunch" : "2024-04-21 18:03:24.1677 +1000",
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 503,
  "deployVersion" : 210,
  "modelCode" : "Macmini7,1",
  "procStartAbsTime" : 689933193524,
  "coalitionID" : 1123,
  "osVersion" : {
    "train" : "macOS 12.7.4",
    "build" : "21H1123",
    "releaseType" : "User"
  },
  "captureTime" : "2024-04-21 18:03:24.1718 +1000",
  "incident" : "0F42925D-1DC4-494F-8151-95B9FB5C2AC2",
  "bug_type" : "309",
  "pid" : 1038,
  "procExitAbsTime" : 689936660071,
  "cpuType" : "X86-64",
  "procName" : "wineserver",
  "procPath" : "\/Applications\/Wine Staging.app\/Contents\/Resources\/wine\/bin\/wineserver",
  "parentProc" : "Exited process",
  "parentPid" : 1035,
  "coalitionName" : "com.apple.Terminal",
  "crashReporterKey" : "5D58EC0C-F392-E328-75EB-403550102E62",
  "responsiblePid" : 984,
  "responsibleProc" : "Terminal",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: '\/opt\/local\/lib\/libinotify.0.dylib'","Referenced from: '\/Applications\/Wine Staging.app\/Contents\/Resources\/wine\/bin\/wineserver'","Reason: tried: '\/opt\/local\/lib\/libinotify.0.dylib' (no such file), '' (no such file), '' (no such file)"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":14097,"threadState":{"r13":{"value":140702053820304},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":1},"r8":{"value":140702053819280},"cr2":{"value":0},"rdx":{"value":140702053820304},"r10":{"value":124},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":4304177570,"matchesCrashFrame":1},"rbp":{"value":140702053819248},"rsp":{"value":140702053819176},"r12":{"value":124},"rcx":{"value":140702053819176},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":289186,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":0},{"imageOffset":379570,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":379620,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":0},{"imageOffset":42649,"symbol":"dyld4::halt(char const*)","symbolLocation":615,"imageIndex":0},{"imageOffset":26037,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3995,"imageIndex":0},{"imageOffset":21732,"symbol":"start","symbolLocation":388,"imageIndex":0}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4303888384,
    "size" : 442368,
    "uuid" : "430a12c9-134a-3904-9d88-c2df933fdf54",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "sharedCache" : {
  "base" : 140703408312320,
  "size" : 19331678208,
  "uuid" : "49e18b84-2cd0-3c1e-9270-0e198c2fdf68"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1112K resident=0K(0%) swapped_out_or_unallocated=1112K(100%)\nWritable regions: Total=17.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=17.0M(100%)\n\n                                VIRTUAL REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack 8192K        1 \nVM_ALLOCATE                         12K       3 \n__DATA                            8216K        3 \n__DATA_CONST                108K        2 \n__LINKEDIT                224K        3 \n__TEXT                             900K       2 \ndyld private memory              1024K        1 \n===========                     ======= ======= \nTOTAL               74.2M       16 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60f8ddccefea4203d95cbeef",
      "factorPackIds" : {

      },
      "deploymentId" : 240000025
    },
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000614
    }
  ],
  "experiments" : [

  ]
}
}

Model: Macmini7,1, BootROM 483.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 1.4 GHz, 8 GB, SMC 2.24f32
Graphics: Intel HD Graphics 5000, Intel HD Graphics 5000, Built-In
Display: DELL P2415Q, 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition), Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E424C54414C41522D4E5444
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E424C54414C41522D4E5444
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x13B), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4)
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: Samsung SSD 860 EVO 500GB, 500.11 GB
USB Device: USB30Bus
USB Device: USB3.0 Hub
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: USB2.0 Hub
USB Device: IR Receiver
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: Mac mini, Apple Inc., 26.1
dario-pilori commented 2 months ago

Same problem on macOS Sonoma, on a MacBookPro with a M1 Pro processor:

% winecfg
dyld[19892]: Library not loaded: /opt/local/lib/libinotify.0.dylib
  Referenced from: <D8F464E3-D15B-3DB9-9D3A-216C4405B7C2> /Applications/Wine Devel.app/Contents/Resources/wine/bin/wineserver
  Reason: tried: '/opt/local/lib/libinotify.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libinotify.0.dylib' (no such file), '/opt/local/lib/libinotify.0.dylib' (no such file)
jamesellinger commented 2 months ago

I'm getting the same error.

Gcenx commented 2 months ago

I’ll upload fixed packages later today.

w1ebr commented 2 months ago

Would you mind also creating the 9.7 wine-devel package?