Hi, I’ve not done any of this in a while, so please excuse me if I’m missing something obvious… but I’m getting the below error when trying to build GLib or related libraries using latest JHBuild.
It seems the built version of glib-compile-resources
is wrongly trying to use my system (Debian unstable
) version of GLib, not the same version it just built… and my attempts to ‘force’ this by e.g. running LD_LIBRARY_PATH=/path/to/built/version jhbuild ...
have not gotten me anywhere.
Please can someone advise? Thanks in advance.
*** Building glib *** [9/28]
ninja
[1/382] Generating gio/tests/digit_test_resources.h with a custom command
FAILED: gio/tests/digit_test_resources.h
/home/dboles/.cache/jhbuild/build/glib/gio/glib-compile-resources --compiler=gcc --target=gio/tests/digit_test_resources.h --sourcedir=/home/dboles/jhbuild/checkout/gnome/glib/gio/tests --internal --generate --manual-register ../../../../jhbuild/checkout/gnome/glib/gio/tests/111_digit_test.gresource.xml
/home/dboles/.cache/jhbuild/build/glib/gio/glib-compile-resources: symbol lookup error: /home/dboles/.cache/jhbuild/build/glib/gio/glib-compile-resources: undefined symbol: g_string_free_and_steal
[2/382] Generating gio/tests/digit_test_resources.c with a custom command
FAILED: gio/tests/digit_test_resources.c
/home/dboles/.cache/jhbuild/build/glib/gio/glib-compile-resources --compiler=gcc --target=gio/tests/digit_test_resources.c --sourcedir=/home/dboles/jhbuild/checkout/gnome/glib/gio/tests --sourcedir=/home/dboles/.cache/jhbuild/build/glib/gio/tests --internal --generate-source --manual-register ../../../../jhbuild/checkout/gnome/glib/gio/tests/111_digit_test.gresource.xml
/home/dboles/.cache/jhbuild/build/glib/gio/glib-compile-resources: symbol lookup error: /home/dboles/.cache/jhbuild/build/glib/gio/glib-compile-resources: undefined symbol: g_string_free_and_steal
[10/382] Linking target gio/tests/gdbus-testserver
ninja: build stopped: subcommand failed.
*** Error during phase build of glib: ########## Error running ninja *** [9/28]