[MacPorts] #68930: gobject-introspection fails to compile on Sonoma 14.1.2, Macbook Air M1

MacPorts noreply at macports.org
Sun Dec 17 20:56:25 UTC 2023


#68930: gobject-introspection fails to compile on Sonoma 14.1.2, Macbook Air M1
------------------------------------+--------------------
  Reporter:  michalsvanda           |      Owner:  (none)
      Type:  defect                 |     Status:  new
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.8.1
Resolution:                         |   Keywords:
      Port:  gobject-introspection  |
------------------------------------+--------------------

Comment (by michalsvanda):

 Replying to [comment:3 kencu]:
 > I don't know exactly what you meant by this:
 >
 > "I tried several time to reinstall glib2 (version 2.78.0) with no
 effect."
 >
 > but ... that sounds like where things may have gone wrong to me.

 Essentially a series of
 {{{
 port -f uninstall glib2
 port clean --dist glib2
 port reclaim
 port install glib2
 }}}

 Anyhow, the file you mentioned
 {{{
 /opt/local/include/glib-2.0/glib/gurifuncs.h
 }}}
 indeed did not belong to any port. After removing it manually, gobject-
 introspection compiled all right. Thanks for help. This ticked may be
 closed.

 > It's very important to have a clean, un-screwed-up installation of
 macports or nothing will build right.
 Yeah, good advice. On the other hand, if I understand the migration
 correctly, it does delete (uninstall) all ports during the process. I
 don't know why this file was left over.

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


More information about the macports-tickets mailing list