Skip to content

Glib 2.82.1 fails to compile #279

@fyrak1s

Description

@fyrak1s

when i trying to compile GTK - it depend on GLIB 2.82.1, and i have this error:

[934/1659] Generating gio/tests/digit_test_resources.c with a custom command
FAILED: gio/tests/digit_test_resources.c 
/Data/Compile/Sources/glib-2.82.1/_build/gio/glib-compile-resources --compiler=gcc --target=gio/tests/digit_test_resources.c --sourcedir=/Data/Compile/Sources/glib-2.82.1/gio/tests --sourcedir=/Data/Compile/Sources/glib-2.82.1/_build/gio/tests --internal --generate-source --manual-register ../gio/tests/111_digit_test.gresource.xml
/Data/Compile/Sources/glib-2.82.1/_build/gio/glib-compile-resources: symbol lookup error: /Data/Compile/Sources/glib-2.82.1/_build/gio/glib-compile-resources: undefined symbol: g_string_free_and_steal
[939/1659] Compiling C object gio/tes...degen-generated-min-required-2-64.c.o
ninja: build stopped: subcommand failed.
Compile: GLib 2.82.1 - Build failed.

Originally posted by @BlackSystemCoder in #268

No idea why this fails or why it even runs the tests, our recipe for Glib 2.82.1 runs with:

meson_options=(
    -D selinux=disabled
    -D glib_debug=disabled
    -D tests=false
    -D introspection=disabled
)

On my end it does not exectue the test and also builds fine. Could you please share you full build log?

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions