[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:28: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: 2.7.1
Resolution: | Keywords: monterey
Port: git-lfs |
-----------------------+----------------------
Description changed by lynxluna:
Old 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
> }}}
New 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
}}}
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
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/63874#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list