pygobject FTBFS on all arches during zesty test rebuild

Bug #1679831 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pygobject (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

pygobject version 3.22.0-2 failed to build from source on all arches during a test rebuild of zesty. The build log file can be found here:

https://launchpadlibrarian.net/312383047/buildlog_ubuntu-zesty-amd64.pygobject_3.22.0-2_BUILDING.txt.gz

The failure seems to be:

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>>=. -fPIE -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: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
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7/tests'
Makefile:679: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7'
Makefile:502: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7'
dh_auto_build: make -j1 returned exit code 2
debian/rules:28: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:20: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Tags: ftbfs zesty
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

This will end up blocking the enablement of python 3.6 as a supported version. Any idea who might know how to fix this?

Revision history for this message
Jeremy Bícha (jbicha) wrote :
Changed in pygobject (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.