Typelib file for namespace 'GLibUnix' (any version) not found & Name conflict warnings

Hi!

I’m packaging for pkgsrc, so mostly NetBSD.

Recently I looked more closely at the warnings that some desktop programs write to the console:

(process:8139): GLib-GIRepository-CRITICAL **: 13:56:05.990: Unable to load platform-specific GIO introspection data: Typelib file for namespace 'GLibUnix' (any version) not found

At that point I had gobject-3.54.5 installed - I saw that 3.56.3 is out and updated.

Now I get this, and a lot (492 for gnucash) of warnings of this kind:

/usr/pkg/lib/python3.14/importlib/__init__.py:88: PyGIWarning: Name conflict for platform-specific symbol GioUnix.tls_server_connection_new. No wrapper will be created.
  return _bootstrap._gcd_import(name[level:], package, level)

I’d like to know:

Which software is supposed to provide the GLibUnix data?

Why does gobject3 report more warnings about Name conflics in 3.56 than in 3.54 - is that just more visibility for existing problems or a bug in 3.56?

What is the proper fix for the Name conflict warnings?

Thanks,
Thomas

Hi,

It’s probably related to recent Glib changes in the way platform namespaces are handled:

Have you also updated the latest language bindings packages (pygobject, gjs, …)?

Hi!

It might be related, but the code throwing the warnings is in pygobject.

Sorry if I was unclear, but I was talking about pygobject3 3.56.3. I don’t have gjs installed, so it doesn’t play into this.

I’ve decided it’s a bug in pygobject and filed 3.56.3: too many warnings about "Name conflict for platform-specific symbol GioUnix" (#760) · Issues · GNOME / pygobject · GitLab

Thomas