[MacPorts] #64577: advice on macports-gcc-10 errors on 10.5.8

MacPorts noreply at macports.org
Wed Feb 2 15:50:11 UTC 2022


#64577: advice on macports-gcc-10 errors on 10.5.8
---------------------------+-------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  request       |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc, Leopard, ppc64
      Port:  gcc10         |
---------------------------+-------------------------------------

Comment (by barracuda156):

 UPD. Now the build fails on this:


 {{{
 /usr/bin/make install-leaf DESTDIR=../.././gcc \
           slibdir= libsubdir= MULTIOSDIR=.
 make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_gcc10/gcc10/work/build
 /ppc-apple-darwin9/libgcc'
 /bin/sh
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_gcc10/gcc10/work/gcc-10.3.0/libgcc/../mkinstalldirs
 ../.././gcc
 /bin/sh
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_gcc10/gcc10/work/gcc-10.3.0/libgcc/../mkinstalldirs
 ../.././gcc
 /usr/bin/install -c -m 644 libgcc_eh.a ../.././gcc/
 for d in libgcc_s.1.1.dylib ; do \
           /usr/bin/install -c -m 644 $d ../.././gcc/$d || exit 1 ; \
         done
 chmod 644 ../.././gcc/libgcc_eh.a
 /opt/local/bin/ranlib ../.././gcc/libgcc_eh.a
 if [ -f ../.././gcc/libgcc_s_ppc64.1.dylib ]; then \
           rm -f ../.././gcc/libgcc_s_ppc64.1.dylib; \
         else true; fi
 ln -s libgcc_s.1.dylib \
                 ../.././gcc/libgcc_s_ppc64.1.dylib
 ln: ../.././gcc/libgcc_s_ppc64.1.dylib: File exists
 make[4]: *** [install-darwin-libgcc-stubs] Error 1
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_gcc10/gcc10/work/build
 /ppc-apple-darwin9/libgcc'
 make[3]: *** [all] Error 2
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_gcc10/gcc10/work/build
 /ppc-apple-darwin9/libgcc'
 make[2]: *** [all-stage1-target-libgcc] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_gcc10/gcc10/work/build'
 make[1]: *** [stage1-bubble] Error 2
 }}}

 Any idea what's going on here? Why Macports linker fails where native did
 not?

-- 
Ticket URL: <https://trac.macports.org/ticket/64577#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list