[MacPorts] #51982: gcc5 fails to build on snowleopard
#51982: gcc5 fails to build on snowleopard -------------------------------------+-------------------------------- Reporter: chrisgorman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: snowleopard gcc5 libgcc | Port: gcc5 -------------------------------------+-------------------------------- {{{ g -O2 -pipe -Os -c -o atexit_arm.lo /sandbox/var/macports/build/_sandbox_trunk_dports_lang_gcc5/gcc5/work/gcc-5.3.0/libstdc++-v3/libsupc++/atexit_arm.cc ../libtool: line 533: CDPATH: command not found ../libtool: line 533: CDPATH: command not found ../libtool: line 937: libtool: ignoring unknown tag CXX: command not found ../libtool: line 937: libtool: ignoring unknown tag disable-shared: command not found ../libtool: line 937: libtool: ignoring unknown tag CXX: command not found ../libtool: line 937: libtool: ignoring unknown tag disable-shared: command not found libtool: Version mismatch error. This is libtool 2.2.7a, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.7a libtool: and run autoconf again. libtool: Version mismatch error. This is libtool 2.2.7a, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.7a libtool: and run autoconf again. make[5]: *** [atexit_arm.lo] Error 63 make[5]: *** Waiting for unfinished jobs.... make[5]: *** [array_type_info.lo] Error 63 make[5]: Leaving directory `/sandbox/var/macports/build/_sandbox_trunk_dports_lang_gcc5/gcc5/work/build/x86_64 -apple-darwin10/libstdc++-v3/libsupc++' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/sandbox/var/macports/build/_sandbox_trunk_dports_lang_gcc5/gcc5/work/build/x86_64 -apple-darwin10/libstdc++-v3' make[3]: *** [all] Error 2 make[3]: Leaving directory `/sandbox/var/macports/build/_sandbox_trunk_dports_lang_gcc5/gcc5/work/build/x86_64 -apple-darwin10/libstdc++-v3' make[2]: *** [all-stage3-target-libstdc++-v3] Error 2 make[2]: Leaving directory `/sandbox/var/macports/build/_sandbox_trunk_dports_lang_gcc5/gcc5/work/build' make[1]: *** [stage3-bubble] Error 2 make[1]: Leaving directory `/sandbox/var/macports/build/_sandbox_trunk_dports_lang_gcc5/gcc5/work/build' make: *** [bootstrap-lean] Error 2 make: Leaving directory `/sandbox/var/macports/build/_sandbox_trunk_dports_lang_gcc5/gcc5/work/build' Command failed: cd "/sandbox/var/macports/build/_sandbox_trunk_dports_lang_gcc5/gcc5/work/build" && /usr/bin/make -j2 -w bootstrap-lean Exit code: 2 Error: Failed to build gcc5: command execution failed Error: See /sandbox/var/macports/logs/_sandbox_trunk_dports_lang_gcc5/gcc5/main.log for details. Error: Follow http://guide.macports.org/#project.tickets to report a bug. Error: Processing of port octave failed }}} -- Ticket URL: <https://trac.macports.org/ticket/51982> MacPorts <https://www.macports.org/> Ports system for OS X
#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 mf2k@…): * cc: mww@… (removed) * keywords: snowleopard gcc5 libgcc => snowleopard * owner: macports-tickets@… => mww@… -- Ticket URL: <https://trac.macports.org/ticket/51982#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | ----------------------------+------------------------- Comment (by kenneth.f.cunningham@…): I just installed gcc5 on Snow Leopard without issue. I do have my Snow Leopard systems set up with the <https://trac.macports.org/wiki/LibcxxOnOlderSystems> variant, if that makes any difference to the process. I did notice that your build log indicated gcc-5.3.0.tar.bz2, whereas I just built gcc-5.4.0.tar.bz2, so perhaps you haven't updated macports in a while? As a suggestion, you might consider trying to {{{ sudo port clean gcc5 sudo port selfupdate sudo port update outdated }}} and then try gcc5 again. -- Ticket URL: <https://trac.macports.org/ticket/51982#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#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
participants (1)
-
MacPorts