#51982: gcc5 fails to build on snowleopard ----------------------------+------------------------- Reporter: chrisgorman@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: snowleopard Port: gcc5 | ----------------------------+------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [comment:2 kenneth.f.cunningham@…]:
I just installed gcc5 on Snow Leopard without issue. I do have my Snow Leopard systems set up with the LibcxxOnOlderSystems variant, if that makes any difference to the process.
All versions of gcc5 were built successfully on Snow Leopard by our buildbot, which is not using libc++, so that would not be the reason for the failure. (Chris is using a custom MacPorts prefix, which is why he can't use the binaries produced by our buildbot.) The main.log contains five installation attempts. This should not happen with MacPorts 2.3.4 or earlier, but there is [ticket:51599 a bug] with MacPorts trunk which does cause the logfile to fail to be cleared between attempts. Are you actually running MacPorts trunk, and not 2.3.4 as indicated? Please `sudo rm $(port logfile gcc5)` before cleaning and trying again per Kenneth's instructions [comment:2 above]. Also, please let us know what version of Xcode you have. If it's older than 3.2.6, please upgrade to 3.2.6. -- Ticket URL: <https://trac.macports.org/ticket/51982#comment:3> MacPorts <https://www.macports.org/> Ports system for macOS