[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 09:20:46 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:
 Keywords:  leopard    |       Port:  libffi
-----------------------+--------------------
 This is the (partially sorted by GNU Emacs) list of ports from `port -vd
 rev-upgrade` that need to be updated:

 {{{
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 Could not open /opt/local/lib/libgcc/libgcc_s.1.dylib: Error opening or
 reading file (referenced from /opt/local/lib/libHalf.24.dylib)
 Could not open /opt/local/lib/libgcc/libstdc++.6.dylib: Error opening or
 reading file (referenced from /opt/local/lib/libHalf.24.dylib)
 Could not open /opt/local/lib/libffi.7.dylib: Error opening or reading
 file (referenced from /opt/local/bin/guile)
 Could not open /opt/local/lib/gcc5/libgcc_s.1.dylib: Error opening or
 reading file (referenced from /opt/local/bin/gappletviewer-mp-5)
 Could not open /opt/local/lib/gcc5/libgomp.1.dylib: Error opening or
 reading file (referenced from /opt/local/lib/gcc5/libgomp-plugin-
 host_nonshm.1.dylib)
 Could not open /opt/local/lib/gcc47/libgcc_s.1.dylib: Error opening or
 reading file (referenced from /opt/local/bin/gappletviewer-mp-4.7)
 Could not open /opt/local/lib/gcc49/libgcc_s.1.dylib: Error opening or
 reading file (referenced from /opt/local/bin/gappletviewer-mp-4.9)
 Could not open /opt/local/lib/libgcc/libgfortran.4.dylib: Error opening or
 reading file (referenced from /opt/local/lib/libopenblas-r1.dylib)
 Could not open /opt/local/lib/libgcc/libatomic.1.dylib: Error opening or
 reading file (referenced from /opt/local/bin/fix-qdf)
 --->  Found 729 broken files, matching files to ports
 --->  Found 46 broken ports, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt:

  OpenBLAS @0.3.17+gcc7+lapack+native
  blackbox @0.76
  boost
 @1.71.0+cmake_scripts+no_single+no_static+python38+regex_match_extra
  boost171 @1.71.0+no_single+no_static+python38
  clamav @0.103.3
  clang-3.4 @3.4.2+analyzer
  cmake @3.20.5
  doxygen @1.9.2
  dvisvgm @2.12
  fftw-3 @3.3.9+gfortran
  gcc47 @4.7.4
  gcc49 @4.9.4
  gcc5 @5.5.0
  glib2 @2.62.6+x11
  gnutls @3.6.16+dane
  gobject-introspection @1.60.2
  gpgme @1.14.0
  graphite2 @1.3.13
  gtk3 @3.24.23+x11
  guile @2.2.7
  harfbuzz @2.8.2
  harfbuzz-icu @2.8.2
  icu @67.1
  ilmbase @2.3.0
  libde265 @1.0.8
  libgcc6 @6.5.0
  libheif @1.12.0
  libraw @0.20.2
  libsodium @1.0.18-20200728
  libssh2 @1.9.0
  libusb @1.0.24
  lighttpd @1.4.59+ssl
  llvm-3.3 @3.3
  nettle @3.7.3
  nghttp2 @1.44.0
  openexr @2.3.0
  p11-kit @0.24.0+doc
  pstoedit @3.75
  py38-cairo @1.20.1
  py38-kiwisolver @1.3.1
  py38-numpy @1.21.2+gfortran+openblas
  qhull @2020.2
  qpdf @10.3.2
  texlive-bin @2021.58693+x11
  uchardet @0.0.7
  woff2 @1.0.2
 }}}

 But when I try to rebuild my version of GNU Emacs with GCC7 I get in
 `configure.log`:

 {{{
 dyld: Library not loaded: /opt/local/lib/libffi.7.dylib
   Referenced from: /opt/local/lib/libgobject-2.0.0.dylib
   Reason: image not found
 }}}

 I've also seen `ld-127` form `port ld64-127` crashing, see attached
 screenshot.


 `port` itself has no proper plan to rebuild these invalid packages, it
 starts with `guile` (possibly trying to upgrade to new version 2.2.7_1 and
 never manages to finish (with "never" I mean a time period of three hours
 CPU use in `top`).

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


More information about the macports-tickets mailing list