Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install on an M1 mac: is an x86_64 arch required? #331

Open
stepheneb opened this issue Aug 30, 2022 · 2 comments
Open

install on an M1 mac: is an x86_64 arch required? #331

stepheneb opened this issue Aug 30, 2022 · 2 comments

Comments

@stepheneb
Copy link

Tried to install on a mac with an M1 cpu using the brew package manager and the install failed with this error: fits: The x86_64 architecture is required for this software. Is the dependency on an x86_64 architecture needed?

% system_profiler SPSoftwareDataType SPHardwareDataType -detailLevel mini
Software:

    System Software Overview:

      System Version: macOS 12.5.1 (21G83)
      Kernel Version: Darwin 21.6.0
      Time since boot: 1 day 2:48

Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro18,3
      Chip: Apple M1 Pro
      Total Number of Cores: 10 (8 performance and 2 efficiency)
      Memory: 32 GB
      System Firmware Version: 7459.141.1
      OS Loader Version: 7459.141.1

% brew install fits
fits: The x86_64 architecture is required for this software.

Is the dependency on an x86_64 architecture needed?

https://github.com/Homebrew/homebrew-core/blob/12a796617c3233fcbf2daa2aba483eec1304eb86/Formula/fits.rb#L12

@pwinckles
Copy link
Contributor

The version currently in Homebrew does require x86_64 due to its bundled copy of MediaInfo. It's possible that that recipe could be updated to add a dependency on MediaInfo, remove the bundled copy, and it might work. That's at least where I would start.

@pwinckles
Copy link
Contributor

Looking at the MediaInfo page, it looks like they have a build that works for arm64 and x86_64. I'm not sure how they got the same artifact to work for either architecture, but, regardless, we'll include it in the next release, and, assuming it works, the Homebrew recipe can be updated to say that it supports arm64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants