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 Initial Version

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

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.