Compiling GEGL from source: Lots of duplicate GEGL registrations

Fresh pull, commit 8018e6bd.

meson build seems OK.

At the end of ninja build I see numerous messages like this;

(operations_html:97024): GLib-GObject-WARNING **: 23:15:40.710: Two different plugins tried to register 'gegl_op_cache'.

(operations_html:97024): GLib-GObject-WARNING **: 23:15:40.710: Two different plugins tried to register 'gegl_op_cast_format'.

(operations_html:97024): GLib-GObject-WARNING **: 23:15:40.710: Two different plugins tried to register 'gegl_op_cast_space'.

(operations_html:97024): GLib-GObject-WARNING **: 23:15:40.710: Two different plugins tried to register 'gegl_op_clone'.

(operations_html:97024): GLib-GObject-WARNING **: 23:15:40.710: Two different plugins tried to register 'gegl_op_convert_format'.

(operations_html:97024): GLib-GObject-WARNING **: 23:15:40.710: Two different plugins tried to register 'gegl_op_convert_space'.

(operations_html:97024): GLib-GObject-WARNING **: 23:15:40.710: Two different plugins tried to register 'gegl_op_crop'.

These are messages I encounter daily in the Gimp terminal output, and are a general nuisance because they interfere with my debug output. What causes them and is there a way to quench them, assuming it is a GEGL problem?

It’s probably remnants from old operations. The build see both the old and new ones and complains about duplicated ops with identical name.

Ideally you’d want to clean out your prefix by running ninja uninstall before git pull when updating your source tree to make sure that you don’t leave around old deprecated objects.

The output contains both v2 and v3 files:

gegl-common-cxx-x86_64-v2.so
gegl-common-cxx-x86_64-v3.so
gegl-common-gpl3-x86_64-v2.so
gegl-common-gpl3-x86_64-v3.so
gegl-common-x86_64-v2.so
gegl-common-x86_64-v3.so
gegl-generated-x86_64-v2.so
gegl-generated-x86_64-v3.so
gegl-transformops-x86_64-v2.so
gegl-transformops-x86_64-v3.so

And coincidentally, one of the culprits, (at random: gegl_op_svg_saturate) appears in three output files:

lib/x86_64-linux-gnu/gegl-0.4/gegl-common.so
lib/x86_64-linux-gnu/gegl-0.4/gegl-common-x86_64-v2.so
lib/x86_64-linux-gnu/gegl-0.4/gegl-common-x86_64-v3.so

(and all these files, given their timestamps, are fresh from the build).

Normal?

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.