[MacPorts] #74194: glib2 fails to upgrade on Mac OS10.15

MacPorts noreply at macports.org
Mon Jul 20 00:26:26 UTC 2026


#74194: glib2 fails to upgrade on Mac OS10.15
------------------------+----------------------
  Reporter:  lpagani91  |      Owner:  mascguy
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.12.5
Resolution:             |   Keywords:
      Port:  glib2      |
------------------------+----------------------

Comment (by reneeotten):

 Replying to [comment:7 isolated-matrix]:
 > The output from `sudo port diagnose` gives:
 > {{{
 > Warning: The following directories are not readable by all users:
 >   /Users/xxxx
 > Warning: The following directories are not searchable by all users:
 >   /Users/xxxx
 > Warning: Recommended directory permissions are 0755; use 'chmod 0755
 <path>' to correct.
 > Warning: The installed version of Xcode, 26.6, is newer than the
 versions currently known to MacPorts. It most likely works, but has not
 been tested. For your currently installed system, the following versions
 of Xcode are known to work: 26.3 26.2 26.1.1 26.1 26.0.1 26.0
 > Warning: found dylibs in your /usr/local/lib directory. These are known
 to cause problems. We'd recommend you remove them.
 > Warning: found header files in your /usr/local/include directory. These
 are known to cause problems. We'd recommend you remove them.
 > }}}

 okay, so you have stuff installed outside of MacPorts (and Homebrew) as
 none of these install stuff in `/usr/local/*` - that is something you will
 have to resolve before anyone (or at least me) will do anything about this
 ticket. You will need to show that this is an issue on a clean system.


 > cd /opt/local/lib/gio/modules && port provides `ls
 /opt/local/lib/gio/modules/` gives:
 > {{{
 > /opt/local/lib/gio/modules/giomodule.cache is not provided by a MacPorts
 port.
 > /opt/local/lib/gio/modules/libgiognomeproxy.so is provided by: glib-
 networking
 > /opt/local/lib/gio/modules/libgiognutls.so is provided by: glib-
 networking
 > /opt/local/lib/gio/modules/libgiolibproxy.so is provided by: glib-
 networking
 > }}}

 I guess it's possible that if the {{{.so}}} files from {{{glib-
 networking}} were compiled against a different, already-installed GLib/GIO
 ABI it could cause such a build failure. Can you try do (temporarily)
 deactivate the {{{glib-networking}}} port and see if that fixes the
 failure. That at least would give possibly an actionable thing to try and
 fix in the sense that it is a MacPorts issue then and not related to stuff
 you have installed outside of the package manager.

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


More information about the macports-tickets mailing list