<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Thanks for all your comments. Please see <a href="https://github.com/macports/macports-ports/pull/5419">https://github.com/macports/macports-ports/pull/5419</a></div><div dir="ltr"><br></div><div dir="ltr">I “fixed” this issue by adding PATH to build.env and verified that it works:</div><div dir="ltr"><br></div><div dir="ltr"><blockquote type="cite"><div dir="ltr"># ensure /usr/bin/gcc is used; see https://github.com/haskell/cabal/issues/1325</div><div dir="ltr">default build.env           {PATH=/usr/bin:$env(PATH)}</div></blockquote><div dir="ltr"><br></div><div dir="ltr">I suggest trying the same approach with the stack git issue on deprecated systems.</div><div dir="ltr"><br></div><blockquote type="cite">Convince upstream to address https://github.com/haskell/cabal/issues/1325</blockquote><br></div><div dir="ltr">Yep, filled with confidence that they’ll pick up this issue from 2013…</div></body></html>