Opened 3 years ago
Closed 3 years ago
#63874 closed defect (fixed)
git-lfs @3.0.2_0: incorrectly marked as noarch
Reported by: | lynxluna (Didiet) | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
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
Attachments (1)
Change History (5)
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) |
---|
comment:3 Changed 3 years ago by jmroot (Joshua Root)
Keywords: | monterey removed |
---|---|
Owner: | set to raimue |
Status: | new → assigned |
Summary: | git-lfs @ 3.0.2_0 : compiled binary is only for arm64 on macOS Monterey → git-lfs @3.0.2_0: incorrectly marked as noarch |
Changed 3 years ago by lynxluna (Didiet)
Attachment: | Portfile-git-lfs.diff added |
---|
comment:4 Changed 3 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Diff file with supported_arch to x86_64 and arm64 added. It works well.