Re: Setting system gcc when `port select --set gcc app-gcc*` is set

2019-10-03 Thread Steven Smith
Thanks for all your comments. Please see https://github.com/macports/macports-ports/pull/5419 I “fixed” this issue by adding PATH to build.env and verified that it works: > # ensure /usr/bin/gcc is used; see > https://github.com/haskell/cabal/issues/1325 > default build.env

Re: Setting system gcc when `port select --set gcc app-gcc*` is set

2019-10-03 Thread Chris Jones
Hi, > On 3 Oct 2019, at 6:50 pm, Steven Smith wrote: > > I have a build failure on a system with `port select --set gcc mp-gcc9` set: > >> :info:build >> /opt/local/lib/gcc9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/ma >> th.h:45:10: error: >> :info:build fatal error: sys/cdefs.h:

Re: Setting system gcc when `port select --set gcc app-gcc*` is set

2019-10-03 Thread Mojca Miklavec
On Thu, 3 Oct 2019 at 19:50, Steven Smith wrote: > > I have a build failure on a system with `port select --set gcc mp-gcc9` set: > > :info:build > /opt/local/lib/gcc9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/ma > th.h:45:10: error: > :info:build fatal error: sys/cdefs.h: No such file

Re: Setting system gcc when `port select --set gcc app-gcc*` is set

2019-10-03 Thread Ken Cunningham
You can’t make sure gcc means any particular compiler. One way or another this software needs to conform to normal rules, not the other way around. K Sent from my iPhone

Setting system gcc when `port select --set gcc app-gcc*` is set

2019-10-03 Thread Steven Smith
I have a build failure on a system with `port select --set gcc mp-gcc9` set: > :info:build > /opt/local/lib/gcc9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/ma > th.h:45:10: error: > :info:build fatal error: sys/cdefs.h: No such file or directory > :info:build45 | #include >