[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