[MacPorts] #65543: libgcc12 fails to build on Lion 10.7.5

MacPorts noreply at macports.org
Tue Jul 26 20:51:47 UTC 2022


#65543: libgcc12 fails to build on Lion 10.7.5
-----------------------+--------------------------
  Reporter:  RobK88    |      Owner:  cjones051073
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.2
Resolution:  fixed     |   Keywords:  lion
      Port:  libgcc12  |
-----------------------+--------------------------

Comment (by RobK88):

 FYI -- I now know why Macports wants to build all the ports from source on
 my Mac running Lion despite my setting in Macports `buildfromsource
 ifneeded`.

 The problem lies with the following setting in my macports.conf which was
 recommended to be YES in previous versions of macports:

 {{{
 delete_la_files                 yes
 }}}

 All ports will be built from source if this setting `delete_la_files` has
 a value other than the default value of `No`.

 Below is the fix from the Macports wiki for Lion and Mtn
 Lion(https://trac.macports.org/wiki/LibcxxOnOlderSystems):


 {{{
 If you changed the delete_la_files setting from its default value (as
 suggested in much older versions of these instructions), you will
 unfortunately need to uninstall all installed ports before changing it
 back, as ports built with this setting on are not compatible
 with those built with it off. All ports will be built from source if this
 setting has a value other than the default.
 }}}

 If I want to download prebuilt binaries, I will need to uninstall all my
 ports, change `delete_la_files` to `no` in macports.conf, and then
 reinstall my ports.  That will be a lot of work.  I might just stick with
 building everything from source!

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


More information about the macports-tickets mailing list