Excellent work getting an ARM version of SIFT. Much appreciated.
Fresh install of Ubuntu 24.04 ARM64 (Apple M3) - sift installed via latest cask, mac-apt.py is broken.
sift@siftworkstation: ~
$ mac_apt.py --help
Traceback (most recent call last):
File "/usr/local/bin/mac_apt.py", line 34, in <module>
import plugins.helpers.macinfo as macinfo
File "/opt/mac-apt/bin/mac_apt_git/plugins/helpers/macinfo.py", line 36, in <module>
from plugins.helpers.statx import statx
File "/opt/mac-apt/bin/mac_apt_git/plugins/helpers/statx.py", line 103, in <module>
SYS_STATX = SYSCALLS[platform.machine()]
~~~~~~~~^^^^^^^^^^^^^^^^^^^^
KeyError: 'aarch64'
Fix: Manually add "aarch64": 397 to /opt/mac-apt/bin/mac_apt_git/plugins/helpers/statx.py
https://github.com/hrw/syscalls-table
SYSCALLS = {
"alpha": 522,
"arc": 291,
"arm": 397,
"arm64": 291,
"aarch64": 397,
"armoabi": 9437581,
"c6x": 291,
Thanks
Excellent work getting an ARM version of SIFT. Much appreciated.
Fresh install of Ubuntu 24.04 ARM64 (Apple M3) - sift installed via latest cask, mac-apt.py is broken.
Fix: Manually add "aarch64": 397 to /opt/mac-apt/bin/mac_apt_git/plugins/helpers/statx.py
Thanks