[Pkg-deepin-devel] Bug#1114135: golang-github-linuxdeepin-go-dbus-factory: FTBFS: gio.gen.c:169:13: error: conflicting types for '_GAsyncReadyCallback_c_wrapper'; have 'void(void)'
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:18:02 BST 2025
Package: src:golang-github-linuxdeepin-go-dbus-factory
Version: 1.9.6-3
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:golang-github-linuxdeepin-go-dbus-factory, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang --with=golang
dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
dh_clean -O--builddirectory=_build -O--buildsystem=golang
debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang --with=golang
dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
debian/rules execute_after_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd /<<PKGBUILDDIR>>/_build/src/github.com/linuxdeepin/go-dbus-factory && make bin && ./gen.sh && \
find . -type f -name "generator" -delete
make[2]: Entering directory '/<<PKGBUILDDIR>>/_build/src/github.com/linuxdeepin/go-dbus-factory'
go build -o generator _tool/generator/*.go
# github.com/linuxdeepin/go-gir/gobject-2.0
In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from fix_gobject.c:5:
fix_gobject.c: In function â_g_type_param_value_arrayâ:
/usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol
1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x))
| ^~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1302:31: note: in expansion of macro â_GLIB_GNUC_DO_PRAGMAâ
1302 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol")
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject-visibility.h:141:42: note: in expansion of macro âGLIB_DEPRECATED_MACROâ
141 | #define GOBJECT_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gparamspecs.h:457:69: note: in expansion of macro âGOBJECT_DEPRECATED_MACRO_IN_2_32â
457 | #define G_TYPE_PARAM_VALUE_ARRAY (g_param_spec_types[18]) GOBJECT_DEPRECATED_MACRO_IN_2_32
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fix_gobject.c:74:50: note: in expansion of macro âG_TYPE_PARAM_VALUE_ARRAYâ
74 | GType _g_type_param_value_array() { return G_TYPE_PARAM_VALUE_ARRAY; }
| ^~~~~~~~~~~~~~~~~~~~~~~~
# github.com/linuxdeepin/go-gir/gio-2.0
gio.gen.c:169:13: error: conflicting types for â_GAsyncReadyCallback_c_wrapperâ; have âvoid(void)â
169 | extern void _GAsyncReadyCallback_c_wrapper();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gio.gen.c:2:
cgo-gcc-export-header-prolog:50:13: note: previous declaration of â_GAsyncReadyCallback_c_wrapperâ with type âvoid(void *, void *, void *)â
gio.gen.c:170:13: error: conflicting types for â_GAsyncReadyCallback_c_wrapper_onceâ; have âvoid(void)â
170 | extern void _GAsyncReadyCallback_c_wrapper_once();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cgo-gcc-export-header-prolog:51:13: note: previous declaration of â_GAsyncReadyCallback_c_wrapper_onceâ with type âvoid(void *, void *, void *)â
gio.gen.c:203:13: error: conflicting types for â_GDesktopAppLaunchCallback_c_wrapperâ; have âvoid(void)â
203 | extern void _GDesktopAppLaunchCallback_c_wrapper();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cgo-gcc-export-header-prolog:52:13: note: previous declaration of â_GDesktopAppLaunchCallback_c_wrapperâ with type âvoid(void *, GoInt32, void *)â {aka âvoid(void *, int, void *)â}
gio.gen.c:204:13: error: conflicting types for â_GDesktopAppLaunchCallback_c_wrapper_onceâ; have âvoid(void)â
204 | extern void _GDesktopAppLaunchCallback_c_wrapper_once();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cgo-gcc-export-header-prolog:53:13: note: previous declaration of â_GDesktopAppLaunchCallback_c_wrapper_onceâ with type âvoid(void *, GoInt32, void *)â {aka âvoid(void *, int, void *)â}
gio.gen.c:207:13: error: conflicting types for â_GFileProgressCallback_c_wrapperâ; have âvoid(void)â
207 | extern void _GFileProgressCallback_c_wrapper();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cgo-gcc-export-header-prolog:54:13: note: previous declaration of â_GFileProgressCallback_c_wrapperâ with type âvoid(GoInt64, GoInt64, void *)â {aka âvoid(long long int, long long int, void *)â}
gio.gen.c:208:13: error: conflicting types for â_GFileProgressCallback_c_wrapper_onceâ; have âvoid(void)â
208 | extern void _GFileProgressCallback_c_wrapper_once();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cgo-gcc-export-header-prolog:55:13: note: previous declaration of â_GFileProgressCallback_c_wrapper_onceâ with type âvoid(GoInt64, GoInt64, void *)â {aka âvoid(long long int, long long int, void *)â}
make[2]: *** [Makefile:15: bin] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/_build/src/github.com/linuxdeepin/go-dbus-factory'
make[1]: *** [debian/rules:13: execute_after_dh_auto_configure] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-deepin-devel
mailing list