[MacPorts] #63453: libffi @3.4.2_0 does not tell port gcc7 (and possibly libgcc7?) need to be rebuilt

MacPorts noreply at macports.org
Sun Sep 5 15:52:16 UTC 2021


#63453: libffi @3.4.2_0 does not tell port gcc7 (and possibly libgcc7?) need to be
rebuilt
------------------------+---------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:  leopard
      Port:  libffi     |
------------------------+---------------------

Comment (by kencu):

 rev-upgrade is meant to take care of all this, but it's possible something
 was missed for a revbump or otherwise things got confused.

 First think I would do is clean out all partially-built software. I often
 go into the main MacPorts build directory and see what's there, and clean
 it up manually, but {{{sudo port -v reclaim}}} has an option to do that as
 part of it's cleanup (be careful about deleting anything you want in your
 installed ports if you do that!).

 {{{libffi}}} is very core, and as you have seen, lots of things break when
 it updates.

 Looks to me like the first thing that needs to be working is llvm-3.4, so
 your linker works again. I would do that first, therefore:
 {{{
 sudo port -f uninstall llvm-3.4
 sudo port -v install llvm-3.4
 }}}

 Then I would probably run {{{sudo port -v rev-upgrade}}} again, and let
 MacPorts sort the rest out. Looks like lots of things need to be rebuilt
 for the new {{{libffi}}}, no surprise as you have lots of things
 installed.

 If you get the exact same error about {{{libgobject-2.0.0.dylib}}} being
 broken, and MacPorts has not sorted it out properly for some reason, then
 this is the port that would need to be uninstalled and reinstalled to fix
 that:
 {{{
 % port provides /opt/local/lib/libgobject-2.0.0.dylib
 /opt/local/lib/libgobject-2.0.0.dylib is provided by: glib2
 }}}

 If you have a problem after doing the above, please post again.

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


More information about the macports-tickets mailing list