Bug#777891: gtranslator: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:32:10 UTC 2015


Package: src:gtranslator
Version: 2.91.6-1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/gtranslator_2.91.6-1_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
	--vtail "GType\n at enum_name@_get_type (void)\n{\n" \
	--vtail "  static GType type = 0;\n\n" \
	--vtail "  if (G_UNLIKELY (type == 0))\n" \
	--vtail "    type = g_ at type@_register_static (\"@EnumName@\", _ at enum_name@_values);\n\n" \
	--vtail "  return type;\n}\n\n" \
	egg-editable-toolbar.h egg-toolbars-model.h egg-toolbar-editor.h ) > xgen-stamp-eggtypebuiltins.c \
&& ( cmp -s xgen-stamp-eggtypebuiltins.c eggtypebuiltins.c || cp xgen-stamp-eggtypebuiltins.c eggtypebuiltins.c ) \
&& rm -f xgen-stamp-eggtypebuiltins.c \
&& echo timestamp > stamp-eggtypebuiltins.c
( cd . && /usr/bin/glib-mkenums \
	--fhead "#ifndef __EGGTYPEBUILTINS_H__\n" \
	--fhead "#define __EGGTYPEBUILTINS_H__ 1\n\n" \
	--fhead "#include <glib-object.h>\n\n" \
	--fhead "G_BEGIN_DECLS\n\n" \
	--ftail "G_END_DECLS\n\n" \
	--ftail "#endif /* __EGGTYPEBUILTINS_H__ */\n" \
	--fprod "\n/* --- @filename@ --- */" \
	--eprod "#define EGG_TYPE_ at ENUMSHORT@ @enum_name at _get_type()\n" \
	--eprod "GType @enum_name at _get_type (void);\n" \
	egg-editable-toolbar.h egg-toolbars-model.h egg-toolbar-editor.h ) > xgen-stamp-eggtypebuiltins.h \
&& ( cmp -s xgen-stamp-eggtypebuiltins.h eggtypebuiltins.h || cp xgen-stamp-eggtypebuiltins.h eggtypebuiltins.h ) \
&& rm -f xgen-stamp-eggtypebuiltins.h \
&& echo timestamp > stamp-eggtypebuiltins.h
/usr/bin/make  all-am
make[6]: Entering directory '/«PKGBUILDDIR»/src/toolbareditor'
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gtksourceview-3.0 -I/usr/include/libgdl-3.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libgda-5.0 -I/usr/include/libgda-5.0/libgda -I/usr/include/libpeas-1.0 -I/usr/include/gsettings-desktop-schemas  -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   -DCURSOR_DIR=\"/usr/share/gtranslator\"  -I../../lib/egg  -D_FORTIFY_SOURCE=2  -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o libtoolbareditor_la-eggmarshalers.lo `test -f 'eggmarshalers.c' || echo './'`eggmarshalers.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gtksourceview-3.0 -I/usr/include/libgdl-3.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libgda-5.0 -I/usr/include/libgda-5.0/libgda -I/usr/include/libpeas-1.0 -I/usr/include/gsettings-desktop-schemas -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 -DCURSOR_DIR=\"/usr/share/gtranslator\" -I../../lib/egg -D_FORTIFY_SOURCE=2 -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c eggmarshalers.c  -fPIC -DPIC -o .libs/libtoolbareditor_la-eggmarshalers.o
cc1: error: ../../lib/egg: No such file or directory [-Werror=missing-include-dirs]
cc1: some warnings being treated as errors
make[6]: *** [libtoolbareditor_la-eggmarshalers.lo] Error 1
Makefile:495: recipe for target 'libtoolbareditor_la-eggmarshalers.lo' failed
make[6]: Leaving directory '/«PKGBUILDDIR»/src/toolbareditor'
make[5]: *** [all] Error 2
Makefile:408: recipe for target 'all' failed
make[5]: Leaving directory '/«PKGBUILDDIR»/src/toolbareditor'
make[4]: *** [all-recursive] Error 1
Makefile:935: recipe for target 'all-recursive' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/src'
make[3]: *** [all] Error 2
Makefile:644: recipe for target 'all' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/src'
make[2]: *** [all-recursive] Error 1
Makefile:486: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
Makefile:417: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [debian/stamp-makefile-build] Error 2
/usr/share/cdbs/1/class/makefile.mk:47: recipe for target 'debian/stamp-makefile-build' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2




More information about the pkg-gnome-maintainers mailing list