[MacPorts] #63874: git-lfs @ 3.0.2_0 : compiled binary is only for arm64 on macOS Monterey

MacPorts noreply at macports.org
Tue Nov 9 08:21:51 UTC 2021


#63874: git-lfs @ 3.0.2_0 : compiled binary is only for arm64 on macOS Monterey
----------------------+---------------------
 Reporter:  lynxluna  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  git-lfs
----------------------+---------------------
 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63874>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list