#63096 closed defect (fixed)
MacPort installer requires Rosetta 2
Reported by: | gagarine (Simon) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.7.2 |
Component: | base | Version: | |
Keywords: | Cc: | jmroot (Joshua Root) | |
Port: |
Description
Running the MacPorts-2.7.1-11-BigSur.pkg do not support M1/Apple silicone and require Rosetta 2.
Change History (9)
comment:1 Changed 3 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|
comment:2 follow-up: 3 Changed 3 years ago by gagarine (Simon)
As soon as I launch the installer I get a warning. Certainly is simply a missing flag in the installer. Adding "arm64" may fix it.
hostArchtectures="x86_64,arm64"
A related question is why using a .pkg and not directly launch a script like homebrew, composer and many others command line tools. to install brew I can simply run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to gagarine:
A related question is why using a .pkg and not directly launch a script like homebrew, composer and many others command line tools. To install brew I can simply run:
Not related in any way. File another ticket if you would like to suggest that we offer such a feature. We use an installer package because it is Apple's preferred software distribution method. It is secure. Installers are signed. Etc.
comment:4 Changed 3 years ago by jmroot (Joshua Root)
OK, we don't currently set hostArchitectures since it is documented as being optional. This could well be an undocumented change in Big Sur's Installer.
comment:5 Changed 3 years ago by jmroot (Joshua Root)
Cc: | jmroot added |
---|
comment:6 Changed 3 years ago by jmroot (Joshua Root)
comment:7 Changed 3 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:8 Changed 3 years ago by jmroot (Joshua Root)
Milestone: | → MacPorts Future |
---|
comment:9 Changed 3 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 2.7.2 |
---|
I don't have an Apple Silicon machine so I can't confirm or deny this. I don't understand why the installer pkg would require a specific arch however. All the code that the installer runs is JavaScript or shell script. Do you have any more information about what part of the installer needs Rosetta 2?