Skip to content

glib fails to build on master (ERROR: Tried to override dependency 'gio-2.0' which has already been resolved or overridden ...) #14728

Description

@thesamesam

Since 852a580, I see this when building glib-2.84.3:

/tmp/glib/glib-2.84.3 $ ~/git/meson/meson.py setup --wrap-mode nodownload -Db_pch=false -Dwerror=false -Dbuildtype=plain -Ddefault_library=both -Druntime_dir=/run -Dglib_debug=disabled -Dselinux=disabled -Dxattr=true -Dlibmount=enabled -Dman-pages=enabled -Ddtrace=disabled -Dsystemtap=disabled -Dsysprof=disabled -Ddocumentation=false -Dtests=true -Dinstalled_tests=false -Dnls=enabled -Doss_fuzz=disabled -Dlibelf=disabled -Dmultiarch=false -Dintrospection=disabled -Db_colorout=always build
[...]
Checking for type "struct ip_mreqn" : YES
Checking if "ioctl with request SIOCGIFADDR" compiles: YES
Configuring gnetworking.h using configuration
Configuring gdbus-codegen using configuration
Program gdbus-codegen found: YES (/tmp/glib/glib-2.84.3/build/gio/gdbus-2.0/codegen/gdbus-codegen)
Configuring config.py using configuration
Found CMake: /usr/bin/cmake (4.0.3)
Run-time dependency libinotify found: NO (tried pkgconfig and cmake)

gio/meson.build:932:6: ERROR: Tried to override dependency 'gio-2.0' which has already been resolved or overridden at /tmp/glib/glib-2.84.3/subprojects/gvdb/gvdb/tests/meson.build:7:

A full log can be found at /tmp/glib/glib-2.84.3/build/meson-logs/meson-log.txt

cc @bonzini

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions