Bug#870837: /usr/share/gobject-introspection-1.0/tests/regress.c:3448:3: error: no previous prototype for '_regress_test_fundamental_hidden_sub_object_get_type'

Adrian Bunk bunk at debian.org
Sat Aug 5 17:14:56 UTC 2017


Source: gobject-introspection
Version: 1.53.2-4
Severity: serious
Control: affects -1 src:pygobject

pygobject FTBFS:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pygobject.html

...
/usr/share/gobject-introspection-1.0/tests/regress.c:3448:3: error: no previous prototype for '_regress_test_fundamental_hidden_sub_object_get_type' [-Werror=missing-prototypes]
   _regress_test_fundamental_hidden_sub_object_get_type
   ^
/usr/share/gobject-introspection-1.0/tests/regress.c:3448:3: note: in definition of macro 'regress_test_fundamental_hidden_sub_object_get_type'
   _regress_test_fundamental_hidden_sub_object_get_type
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1994:3: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE'
   _G_DEFINE_TYPE_EXTENDED_BEGIN_PRE(TypeName, type_name, TYPE_PARENT) \
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1737:60: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN'
 #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1595:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
 #define G_DEFINE_TYPE(TN, t_n, T_P)       G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
                                           ^~~~~~~~~~~~~~~~~~~~~~
/usr/share/gobject-introspection-1.0/tests/regress.c:3456:1: note: in expansion of macro 'G_DEFINE_TYPE'
 G_DEFINE_TYPE (RegressTestFundamentalHiddenSubObject,
 ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
...


This is only a FTBFS due to -Werror, but it looks like a bug in
gobject-introspection that should be fixed (and this is also a
warning when building src:gobject-introspection).



More information about the pkg-gnome-maintainers mailing list