[MacPorts] #73965: glib2 upgrade fails: "Error: GLib: identifier not found on the first line"
MacPorts
noreply at macports.org
Mon May 4 11:19:10 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 reneeotten):
Replying to [comment:7 breun]:
> Replying to [comment:6 reneeotten]:
>
> > Could someone please check what ports are installed: {{{port installed
active | grep -E “gobject-introspection|glib2”}}}
>
> For me:
>
> {{{
> ❯ port installed active | grep -E "gobject-introspection|glib2"
> glib2 @2.78.4_3+x11 (active)
> glib2-bootstrap @2.88.0_0+x11 (active)
> gobject-introspection @1.78.1_8 (active)
> gobject-introspection-bootstrap @1.86.0_0 (active)
> }}}
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.
--
Ticket URL: <https://trac.macports.org/ticket/73965#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list