Bug#871141: pygobject: FTBFS: regress.c:3448:3: error: no previous prototype for '_regress_test_fundamental_hidden_sub_object_get_type' [-Werror=missing-prototypes]

Lucas Nussbaum lucas at debian.org
Sun Aug 6 21:20:34 UTC 2017


Source: pygobject
Version: 3.22.0-2
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170805 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../tests -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=unused-variable -fno-strict-aliasing -Werror=declaration-after-statement  -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -Werror=return-type   -c -o libregress_la-regress.lo `test -f '/usr/share/gobject-introspection-1.0/tests/regress.c' || echo '../../tests/'`/usr/share/gobject-introspection-1.0/tests/regress.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../tests -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=unused-variable -fno-strict-aliasing -Werror=declaration-after-statement -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -Werror=return-type -c /usr/share/gobject-introspection-1.0/tests/regress.c  -fPIC -DPIC -o .libs/libregress_la-regress.o
> /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
> Makefile:567: recipe for target 'libregress_la-regress.lo' failed
> make[4]: *** [libregress_la-regress.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/08/05/pygobject_3.22.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-gnome-maintainers mailing list