[MacPorts] #73965: glib2 upgrade fails: "Error: GLib: identifier not found on the first line"

MacPorts noreply at macports.org
Mon May 4 11:55:31 UTC 2026


#73965: glib2 upgrade fails: "Error: GLib: identifier not found on the first line"
-----------------------+----------------------
  Reporter:  kwolcott  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  glib2     |
-----------------------+----------------------

Comment (by breun):

 Replying to [comment:9 reneeotten]:

 > It should be using the {{{gobject-intospection-bootstrap}}} port to
 build {{{glib2}}} but perhaps something from the old {{{gobject-
 introspection}}} port is picked up. Could you try to deactivate that port
 and try again?
 >
 > If that works we should probable add a deactivate-hack.

 That worked for me indeed:

 {{{
 sudo port deactivate gobject-introspection
 sudo port upgrade glib2
 }}}

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


More information about the macports-tickets mailing list