gtkd-developers / GlibD

D bindings for the GLib C Utility Library.
Other
5 stars 3 forks source link

"Unknown function string_new" with gobject-introspection 1.70.0 #12

Closed foutrelis closed 3 years ago

foutrelis commented 3 years ago

Seems to build with gobject-introspection 1.68.0 + glib 2.70.0 but I'm getting the following error with gobject-introspection 1.70.0:

Run-time dependency glib-2.0 found: YES 2.70.0
Run-time dependency gmodule-2.0 found: YES 2.70.0
Run-time dependency gobject-2.0 found: YES 2.70.0
Run-time dependency gio-2.0 found: YES 2.70.0
Run-time dependency gobject-introspection-1.0 found: YES 1.70.0
Program girtod found: YES (/usr/bin/girtod)
Message: Generating D interfaces from GIR...

../meson.build:37:4: ERROR: Problem encountered: Unable to build D intefaces from GIR:
Error /build/glibd/src/GlibD-2.3.0/src/APILookupGLib.txt(1988): Unknown function string_new

A quick search turned up https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/399 but I'm not sure what needs to be fixed. :)

MikeWey commented 3 years ago

Looks like we no longer need to put the string functions in the correct location manually.

arrowd commented 1 year ago

Bumped into this while packaging this project for FreeBSD. Can you please make a new release, so that we won't have to pull in patches?

MikeWey commented 1 year ago

tagged v2.4.0