<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">reported as <a href="https://gitlab.haskell.org/ghc/ghc/-/issues/22993">https://gitlab.haskell.org/ghc/ghc/-/issues/22993</a></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">Thanks & Regards</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">George</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 15, 2023 at 2:04 PM George Colpitts <<a href="mailto:george.colpitts@gmail.com">george.colpitts@gmail.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"><div dir="ltr"><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">It seems wrong to me that the configure file references Xcode.app and MacOSX12.1:</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">bash-3.2$ fgrep Xcode.app configure</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">FFIIncludeDir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/ffi</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">FFILibDir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib</div></blockquote></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 15, 2023 at 1:51 PM George Colpitts <<a href="mailto:george.colpitts@gmail.com" target="_blank">george.colpitts@gmail.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"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div></div><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">Thanks for replying.</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">As I mentioned in my original email I'm on Ventura,13.2.1, I just upgraded to that before installing alpha3.</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">I have command line tools. I did the following to reinstall them and got the same results stated in my email:</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"> sudo rm -rf /Library/Developer/CommandLineTools</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">Password:</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">bash-3.2$ xcode-select --install</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">xcode-select: note: install requested for command line developer tools</div></blockquote><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">Looking more carefully at the error message:</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">checking Xcode version... xcode-select: error: tool 'xcodebuild' requires</span></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">> Xcode, but active developer directory '/Library/Developer/CommandLin</span><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">eTools'</span></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">> is a command line tools instance</span></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">> not found (too old?)</span></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></span></div></blockquote><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">It seems to be saying that I need Xcode not command line tools. That's also consistent with the linker warning message:</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">ld: warning: directory not found for option '-L/Applications/<b>Xcode.app</b>/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib'</div></blockquote><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">There is no urgency on my part to get this resolved. We may want to just wait to see if anybody else on 13.2.1 got this also.</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">Thanks</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">George</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 15, 2023 at 1:20 PM Ben Gamari <<a href="mailto:ben@well-typed.com" target="_blank">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<br>
><br>
> I get a strange warning on MacOS when I do ./configure:<br>
><br>
> checking Xcode version... xcode-select: error: tool 'xcodebuild' requires<br>
> Xcode, but active developer directory '/Library/Developer/CommandLineTools'<br>
> is a command line tools instance<br>
> not found (too old?)<br>
><br>
><br>
> I also get a related strange warning when I do a compile:<br>
><br>
> ghc hello.hs<br>
> [1 of 2] Compiling Main ( hello.hs, hello.o ) [Missing object<br>
> file]<br>
> [2 of 2] Linking hello [Objects changed]<br>
> ld: warning: directory not found for option<br>
> '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib'<br>
><br>
Hmm, that is indeed odd. It sounds like you Xcode installation may be<br>
broken. Did you upgrade your operating system recently? Do you have<br>
Xcode, the CLT package, or both installed?<br>
<br>
Cheers,<br>
<br>
- Ben<br>
</blockquote></div></div>
</blockquote></div>
</blockquote></div>