<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">I confirm that this approach does <b>not</b> work on an M1 Mac.</div><div dir="ltr"><br></div><div dir="ltr"><span style="-webkit-text-size-adjust: auto;">Trying to install a stack portion an M1—whether or not `supported_archs x86_64` is set—throws this architecture mismatch error when trying to install on the M1:</span></div><div dir="ltr"><span style="-webkit-text-size-adjust: auto;"></span><br style="-webkit-text-size-adjust: auto;"><blockquote type="cite" style="color: rgb(0, 0, 0); -webkit-text-size-adjust: auto;">Cannot install shellcheck for the arch 'arm64' because<br></blockquote><blockquote type="cite" style="color: rgb(0, 0, 0); -webkit-text-size-adjust: auto;">It’s dependency stack is only installed for the arch 'x86_64'<br></blockquote><blockquote type="cite" style="color: rgb(0, 0, 0); -webkit-text-size-adjust: auto;">and does not have a universal variant.<br></blockquote><blockquote type="cite" style="color: rgb(0, 0, 0); -webkit-text-size-adjust: auto;">Unable to execute port: architecture mismatch</blockquote><br></div><div dir="ltr">This appears to be a functional bug in MacPorts that prevents installation of working x86_64 binaries on the M1.</div><div dir="ltr"><br></div><div dir="ltr">If it is “correct” to specify `supported_archs x86_64` in the Portfile, there must be a way to avoid the error above.</div><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On Aug 15, 2021, at 00:37, Joshua Root <jmr@macports.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>On 2021-8-15 14:11 , Ken Cunningham wrote:</span><br><blockquote type="cite"><span>IF pandoc set it’s supported_archs to x86_64 (which then matches stack) — would that now install properly on an M1 Mac, using the fallback archs?</span><br></blockquote><span></span><br><span>Yes.</span><br><span></span><br></div></blockquote></body></html>