darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.55k stars 446 forks source link

generated iosurface debian package is missing the actual framework contents #1451

Closed benoit-pierre closed 6 months ago

benoit-pierre commented 1 year ago

It looks like the debian package generated on Github Actions for IOSurface is actually missing the actual framework contents:

▸ als darling-iosurface_0.1.20231102~jammy_amd64.deb
drwxr-xr-x root/root         0 2023-11-02 02:36 ./
drwxr-xr-x root/root         0 2023-11-02 02:36 ./usr/
drwxr-xr-x root/root         0 2023-11-02 02:36 ./usr/share/
drwxr-xr-x root/root         0 2023-11-02 02:36 ./usr/share/doc/
drwxr-xr-x root/root         0 2023-11-02 02:36 ./usr/share/doc/darling-iosurface/
-rw-r--r-- root/root       145 2023-11-02 02:36 ./usr/share/doc/darling-iosurface/changelog.gz
-rw-r--r-- root/root       135 2023-11-02 02:29 ./usr/share/doc/darling-iosurface/copyright

After installing the debs on Arch Linux, this result in the following errors on shell startup and every few seconds:

dyld: Library not loaded: /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
  Referenced from: /usr/sbin/iokitd
  Reason: image not found
abort_with_payload: reason: dyld: No shared cache present
Library not loaded: /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
  Referenced from: /usr/sbin/iokitd
  Reason: image not found; code: 1
Software Version
Darling 141c24aaa8187b4787cd1f0b002aeac0f35c43eb [0.1.20231102]