<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Hi Ben </div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">/ust/bin/xattr exists on my machine. Running "xattr -rc ." manually does not fix the bug as noted at the start of 21506. It was sufficient in the past but no longer fixes this error. As noted farther down in 21506 </div><div class="gmail_default" style=""><font face="times new roman, serif" size="4"><br></font></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div class="gmail_default" style=""><p>the workaround given in <a class="gmail-gfm gmail-gfm-issue gmail-has-tooltip" title="MacOS notarization?" href="/ghc/ghc/-/issues/17418">#17418</a> no longer works. It did not work in 9.2.2 either. The current workaround is similar to what Kazu explained in <a rel="nofollow noreferrer noopener" href="https://twitter.com/kazu_yamamoto/status/1500643489985761282">https://twitter.com/kazu_yamamoto/status/1500643489985761282</a></p></div></div><div><div class="gmail_default" style=""><div class="gmail-gl-relative gmail-markdown-code-block gmail-js-markdown-code"><pre lang="plaintext" class="gmail-code gmail-highlight gmail-js-syntax-highlight gmail-language-plaintext gmail-white" id="gmail-code-4"><code><span lang="plaintext" class="gmail-line" id="gmail-LC1">sudo xattr -rc .</span></code></pre></div></div></div><div><div class="gmail_default" style=""><div class="gmail-gl-relative gmail-markdown-code-block gmail-js-markdown-code"><pre lang="plaintext" class="gmail-code gmail-highlight gmail-js-syntax-highlight gmail-language-plaintext gmail-white" id="gmail-code-4"><code><span lang="plaintext" class="gmail-line" id="gmail-LC2">sudo spctl --global-disable</span></code></pre></div></div></div><div><div class="gmail_default" style=""><div class="gmail-gl-relative gmail-markdown-code-block gmail-js-markdown-code"><pre lang="plaintext" class="gmail-code gmail-highlight gmail-js-syntax-highlight gmail-language-plaintext gmail-white" id="gmail-code-4"><code><span lang="plaintext" class="gmail-line" id="gmail-LC3">./configure</span></code></pre></div></div></div><div><div class="gmail_default" style=""><div class="gmail-gl-relative gmail-markdown-code-block gmail-js-markdown-code"><pre lang="plaintext" class="gmail-code gmail-highlight gmail-js-syntax-highlight gmail-language-plaintext gmail-white" id="gmail-code-4"><code><span lang="plaintext" class="gmail-line" id="gmail-LC4">sudo make install</span></code></pre></div></div></div><div><div class="gmail_default" style=""><div class="gmail-gl-relative gmail-markdown-code-block gmail-js-markdown-code"><pre lang="plaintext" class="gmail-code gmail-highlight gmail-js-syntax-highlight gmail-language-plaintext gmail-white" id="gmail-code-4"><code><span lang="plaintext" class="gmail-line" id="gmail-LC5">sudo spctl --global-enable</span></code></pre></div></div></div></blockquote><div dir="ltr"><div class="gmail_default" style=""><font face="times new roman, serif" size="4">It seems there are files created during sudo make install that have an issue as xattr -rc . was never run on them. Perhaps this is related to using Hadrian. Is it possible that the fix that was made was never tested?</font></div><div class="gmail_default" style=""><font face="times new roman, serif" size="4"><br></font></div><div class="gmail_default" style=""><font face="times new roman, serif" size="4">Thanks</font></div><div class="gmail_default" style=""><font face="times new roman, serif" size="4">George</font></div><div class="gmail_default" style=""><font face="times new roman, serif" size="4"><br></font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 23, 2022 at 12:30 AM Ben Gamari <<a href="mailto:ben@well-typed.com">ben@well-typed.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">George Colpitts <<a href="mailto:george.colpitts@gmail.com" target="_blank">george.colpitts@gmail.com</a>> writes:<br>
<br>
> Hi Ben,<br>
><br>
> I expected <a href="https://gitlab.haskell.org/ghc/ghc/-/issues/21506" rel="noreferrer" target="_blank">https://gitlab.haskell.org/ghc/ghc/-/issues/21506</a> (ghc-9.4.1-alpha1<br>
> does not install on macos: ghc-pkg-9.4.0-20220501 cannot be opened because<br>
> the developer cannot be verified) to be fixed in rc1 but it is not. Are my<br>
> expectations wrong? What is the ETA for fixing it?<br>
><br>
Thanks for letting us know, George. The fix that we have [1] is present<br>
in 9.4.1-rc1. If that commit doesn't resolve the issue then there is<br>
something that we don't understand. Does `/usr/bin/xattr` exist? Running<br>
`xattr -rc` manually on the binary distribution allow you to run the<br>
compiler?<br>
<br>
Cheers,<br>
<br>
- Ben<br>
<br>
<br>
[1] <a href="https://gitlab.haskell.org/ghc/ghc/-/commit/641972d65b476aac11424bde6c3bcfda1c65aef5" rel="noreferrer" target="_blank">https://gitlab.haskell.org/ghc/ghc/-/commit/641972d65b476aac11424bde6c3bcfda1c65aef5</a><br>
<br>
</blockquote></div></div>