#68909 closed defect (invalid)

gobject-introspection fails to configure on macOS 14.2

Reported by: jbaraban Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jbaraban, michalsvanda
Port: gobject-introspection

Description (last modified by mascguy (Christopher Nielsen))

gobjection-introspection fails to configure - the final error (in the attached logs) appears to be:

Run-time dependency glib-2.0 found: NO (tried pkgconfig, framework and cmake)

Attachments (1)

meson-log.txt (50.4 KB) - added by jbaraban 11 months ago.
meson log

Download all attachments as: .zip

Change History (13)

Changed 11 months ago by jbaraban

Attachment: meson-log.txt added

meson log

comment:1 Changed 11 months ago by jbaraban

Cc: jbaraban added

comment:2 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to mascguy
Status: newassigned

comment:3 Changed 11 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)

comment:4 Changed 11 months ago by mascguy (Christopher Nielsen)

The attachment main.log.tgz doesn't appear to be valid. Can you attach another copy, uncompressed?

comment:5 Changed 11 months ago by michalsvanda

Cc: michalsvanda added

comment:6 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

The meson log shows the problem is:

Dependency glib-2.0 found: NO found 2.72.3 but need: '>=2.78.0'

What's the output of:

port -v installed name:^glib2

comment:7 in reply to:  4 Changed 11 months ago by jbaraban

No, it's over the file size limit (which is why I compressed it).

Replying to mascguy:

The attachment main.log.tgz doesn't appear to be valid. Can you attach another copy, uncompressed?

comment:8 in reply to:  6 Changed 11 months ago by jbaraban

$ port -v installed name:^glib2
The following ports are currently installed:
  glib2 @2.72.3_2 requested_variants='' platform='darwin 23' archs='arm64' date='2023-12-15T01:12:52+0200'
  glib2 @2.72.3_2+universal (active) requested_variants='+universal' platform='darwin 23' archs='arm64 x86_64' date='2023-12-15T01:13:56+0200'

There appears to be a glib 2.78 port, but I can't get it to install for some reason:

$ port list glib2
glib2                          @2.72.3         devel/glib2
glib2                          @2.78.0         devel/glib2
$ sudo port install glib2 @2.78.0
Error: glib2 version 2.78.0 is not available (current version is 2.72.3_2)

Replying to ryandesign:

The meson log shows the problem is:

Dependency glib-2.0 found: NO found 2.72.3 but need: '>=2.78.0'

What's the output of:

port -v installed name:^glib2
Last edited 11 months ago by jbaraban (previous) (diff)

comment:9 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Do you have nonstandard sources in your sources.conf file? Perhaps one which has glib 2.72.3? Perhaps listed before our standard source which has 2.78.0?

comment:10 in reply to:  9 Changed 11 months ago by jbaraban

Thanks, that was it. Changing that causes problems with building arm64 x86_64 versions of gstreamer for wine, which I think is why I had the nonstandard glib, but especially given that wine seems to still work, that's a problem for another day.

Replying to ryandesign:

Do you have nonstandard sources in your sources.conf file? Perhaps one which has glib 2.72.3? Perhaps listed before our standard source which has 2.78.0?

comment:11 Changed 11 months ago by kencu (Ken)

For wine, IMHO just download the prebuilt version from Dean, all as up to date as possible and working great on arm64:

https://github.com/Gcenx/macOS_Wine_builds/releases

comment:12 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

Ok, so there's no MacPorts bug here.

Note: See TracTickets for help on using tickets.