Opened 3 years ago

Last modified 3 years ago

#63874 closed defect

git-lfs @ 3.0.2_0 : compiled binary is only for arm64 on macOS Monterey — at Version 2

Reported by: lynxluna (Didiet) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: git-lfs

Description (last modified by lynxluna (Didiet))

Installing git-lfs installs only compiled binary for ARM64 when installed on Monterey x86_64.

$ sudo port install git-lfs                                                                                                         ─╯
Password:
--->  Computing dependencies for git-lfs
--->  Fetching archive for git-lfs
--->  Attempting to fetch git-lfs-3.0.2_0.darwin_21.noarch.tbz2 from http://jog.id.packages.macports.org/macports/packages/git-lfs
--->  Attempting to fetch git-lfs-3.0.2_0.darwin_21.noarch.tbz2.rmd160 from http://jog.id.packages.macports.org/macports/packages/git-
lfs
--->  Installing git-lfs @3.0.2_0
--->  Activating git-lfs @3.0.2_0
--->  Cleaning git-lfs
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

When checked, it's an arm64 binary which won't run on x86_64

$ file /opt/local/bin/git-lfs                                                                                                       ─╯
/opt/local/bin/git-lfs: Mach-O 64-bit executable arm64

So, when I run git lfs it won't work.

$ git lfs                                                                                                                           ─╯
fatal: cannot exec 'git-lfs': Bad CPU type in executable

This is my machine

$ uname -a                                                                                                                          ─╯
Darwin 192.168.1.9 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64

Change History (2)

comment:1 Changed 3 years ago by lynxluna (Didiet)

Keywords: monterey added
Version: 2.7.1

comment:2 Changed 3 years ago by lynxluna (Didiet)

Description: modified (diff)
Note: See TracTickets for help on using tickets.