[MacPorts] #52911: rev-upgrade -v should be more verbose about missing architecture

MacPorts noreply at macports.org
Fri Nov 18 01:03:27 CET 2016


#52911: rev-upgrade -v should be more verbose about missing architecture
-------------------------+--------------------------------
 Reporter:  mojca        |      Owner:  macports-tickets@…
     Type:  enhancement  |     Status:  new
 Priority:  Low          |  Milestone:
Component:  base         |    Version:  2.3.99
 Keywords:               |       Port:
-------------------------+--------------------------------
 After installation of `wine-devel` I managed to end up with non-universal
 `glib2` after upgrading outdated ports. I'm not sure why MacPorts would
 even allow a non-universal one (something for a separate issue perhaps),
 but the main problem is that `port -v rev-upgrade` is not really helpful:
 {{{
 > sudo port -vy rev-upgrade
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  Found 430 broken files, matching files to ports
 --->  Found 15 broken ports:
      cairo @1.14.6 +quartz+universal+x11
          /opt/local/bin/cairo-sphinx
          /opt/local/lib/libcairo-gobject.2.dylib
      desktop-file-utils @0.23 +universal
          /opt/local/bin/desktop-file-install
          /opt/local/bin/desktop-file-validate
          /opt/local/bin/update-desktop-database
      shared-mime-info @1.7 +universal
          /opt/local/bin/update-mime-database
      at-spi2-atk @2.22.0 +universal
          /opt/local/lib/gtk-2.0/modules/libatk-bridge.so
          /opt/local/lib/libatk-bridge-2.0.0.dylib
      atk @2.22.0 +universal
          /opt/local/lib/libatk-1.0.0.dylib
      at-spi2-core @2.22.0 +universal
          /opt/local/lib/libatspi.0.dylib
          /opt/local/libexec/at-spi-bus-launcher
          /opt/local/libexec/at-spi2-registryd
      wine-devel @1.9.23
          /opt/local/lib/wine/winegstreamer.dll.so
      gobject-introspection @1.50.0 +universal
      ...
 }}}

 In case of a broken library ("forgotten" upgrade) it's perfectly clear:
 {{{
 Could not open /opt/local/lib/libjasper.1.dylib: Error opening or reading
 file (referenced from
 /opt/local/libexec/qt5/plugins/imageformats/libqjp2.dylib)
 }}}

 Running
 {{{
 sudo port -dy rev-upgrade
 }}}
 reveals a hint:
 {{{
 DEBUG: Missing architecture i386 in file
 /opt/local/lib/libglib-2.0.0.dylib
 }}}
 but it would be awesome if this piece of information was communicated more
 clearly in the verbose mode already.

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



More information about the macports-tickets mailing list