[Pkg-deepin-devel] Bug#1143317: golang-github-linuxdeepin-go-dbus-factory: FTBFS: dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2

Santiago Vila sanvila at debian.org
Sat Aug 1 23:35:57 BST 2026


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, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

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 cannot 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:1337:33: warning: Deprecated pre-processor symbol
 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x))
      |                                 ^~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’
 1338 | #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; }
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/<<PKGBUILDDIR>>/_build/src/github.com/linuxdeepin/go-dbus-factory'
main.go:22: dir: ./com.deepin.sessionmanager
main.go:47: Object StartManager
config.go:96: load xml file: com.deepin.sessionmanager/StartManager.xml
main.go:47: Object SessionManager
config.go:96: load xml file: com.deepin.sessionmanager/SessionManager.xml
main.go:47: Object WMSwitcher
config.go:96: load xml file: com.deepin.sessionmanager/WMSwitcher.xml
main.go:47: Object XSettings
config.go:96: load xml file: com.deepin.sessionmanager/XSettings.xml
/<<PKGBUILDDIR>>/_build/src/github.com/linuxdeepin/go-dbus-factory/com.deepin.sessionmanager /<<PKGBUILDDIR>>/_build/src/github.com/linuxdeepin/go-dbus-factory
../../go-lib/dbusutil/proxy/object_mock.go:11:2: cannot find package "github.com/stretchr/testify/mock" in any of:
	/usr/lib/go-1.26/src/github.com/stretchr/testify/mock (from $GOROOT)
	/<<PKGBUILDDIR>>/_build/src/github.com/stretchr/testify/mock (from $GOPATH)
	/usr/share/gocode/src/github.com/stretchr/testify/mock
make[1]: *** [debian/rules:13: execute_after_dh_auto_configure] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-deepin-devel mailing list