Bug#1126109: libcloudproviders FTCBFS: gdbus-codegen failure

Helmut Grohne helmut at subdivi.de
Wed Jan 21 18:18:04 GMT 2026


Source: libcloudproviders
Version: 0.4.0-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
Control: affects 1126007 + src:libcloudproviders

libcloudproviders fails to cross build from source. When it runs
gdbus-codegen, the command line is looking weird containing the input
file twice and gdbus-codegen is not happy about the excess arguments.
The root cause here is that meson enters a compatibility code path when
it checks for the native glib2.0 and finds none. Once depending on it,
meson detects a sensible version and constructs a sensible gdbus-codegen
invocation. It then fails due to #1126007. Please consider applying the
attached patch.

Helmut
-------------- next part --------------
diff -Nru libcloudproviders-0.4.0/debian/changelog libcloudproviders-0.4.0/debian/changelog
--- libcloudproviders-0.4.0/debian/changelog	2026-01-10 21:55:37.000000000 +0100
+++ libcloudproviders-0.4.0/debian/changelog	2026-01-21 18:38:02.000000000 +0100
@@ -1,3 +1,10 @@
+libcloudproviders (0.4.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Improve cross building: Depend on a native glib for gdbus-codegen. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 21 Jan 2026 18:38:02 +0100
+
 libcloudproviders (0.4.0-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru libcloudproviders-0.4.0/debian/control libcloudproviders-0.4.0/debian/control
--- libcloudproviders-0.4.0/debian/control	2026-01-10 21:55:37.000000000 +0100
+++ libcloudproviders-0.4.0/debian/control	2026-01-21 18:37:58.000000000 +0100
@@ -9,6 +9,7 @@
                gir1.2-gio-2.0-dev,
                gobject-introspection (>= 1.80),
                libglib2.0-dev,
+               libglib2.0-dev:native,
                meson (>= 1.9.0),
                valac
 Build-Depends-Indep: gi-docgen <!nodoc>


More information about the pkg-gnome-maintainers mailing list