<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><a href="https://github.com/macports/macports-ports/commit/2e46a05404462e04930b612ed29d9f08ece64603">https://github.com/macports/macports-ports/commit/2e46a05404462e04930b612ed29d9f08ece64603</a></div><div dir="ltr"><br></div><div dir="ltr">I have no way though to test the logic on an OS as ancient as 10.5....</div><div dir="ltr"><br><blockquote type="cite">On 26 Sep 2019, at 10:31 pm, Christopher Jones <jonesc@hep.phy.cam.ac.uk> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">Hi,<div class=""><br class=""></div><div class="">Hmm, yeah. Now I look at that again its clear the deps are not really right for older systems that do not support all the various gcc versions.</div><div class=""><br class=""></div><div class="">I think the fix is to not explicitly list all the libgcc versions for each older gcc, but just rely on the fact each libgcc port knows what newer libgcc deps it needs. e.g. libgcc6 knows it needs libgcc7, and so on. so change gcc libgcc7</div><div class=""><br class=""></div><div class=""> set libgccs "path:lib/libgcc/libgcc_s.1.dylib:libgcc port:libgcc8 port:libgcc7 port:libgcc6”</div><div class=""><br class=""></div><div class="">to just</div><div class=""><br class=""></div><div class=""> set libgccs "path:lib/libgcc/libgcc_s.1.dylib:libgcc  port:libgcc6"</div><div class=""><br class=""></div><div class="">so on newer systems, the libgcc6 will also implicitly bring in libgcc7, libgcc8, and libgcc9, but on older systems it will stop on the last supported.</div><div class=""><br class=""></div><div class="">Chris</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">set libgccs "path:lib/libgcc/libgcc_s.1.dylib:libgcc port:libgcc8 port:libgcc7 port:libgcc6 port:libgcc45"</span></font>On 26 Sep 2019, at 10:04 pm, Joshua Root <<a href="mailto:jmr@macports.org" class="">jmr@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 2019-9-27 06:01 , Christopher Jones wrote:<br class=""><blockquote type="cite" class="">Hi,<br class=""><br class="">From the output it appears cmake has a dependency on both libgcc and libgcc8. This is not correct on 10.5.<br class=""><br class="">You should file a ticket against cmake to bring it to the attention of the maintainer.<br class=""></blockquote><br class="">It's not cmake doing it. The problem is actually this:<br class=""><<a href="https://github.com/macports/macports-ports/commit/3e21e859b6b935b3413a1c357d39041cdeb03921#diff-4061bdcd5b9dd81cb5a85dccd8def8ab" class="">https://github.com/macports/macports-ports/commit/3e21e859b6b935b3413a1c357d39041cdeb03921#diff-4061bdcd5b9dd81cb5a85dccd8def8ab</a>><br class=""><br class="">- Josh<br class=""></div></div></blockquote></div><br class=""></div></div></blockquote></body></html>