Bug#777939: libbonoboui: ftbfs with GCC-5

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


Package: src:libbonoboui
Version: 2.24.5-2
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/libbonoboui_2.24.5-2_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

[...]
gcc -DHAVE_CONFIG_H -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -I.. -DBONOBO_UI_INTERNAL -DBONOBO_UIDIR=\""/usr/share/gnome/ui/"\" -DBONOBO_TOPSRCDIR=\"".."\" -DG_LOG_DOMAIN=\"Bonobo\" -DVERSION=\"2.24.5\" -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  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/x86_64-linux-gnu/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o test-reparent.o test-reparent.c
In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0,
                 from ../bonobo/bonobo-widget.h:15,
                 from ../libbonoboui.h:18,
                 from ../bonobo.h:14,
                 from test-reparent.c:13:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 typedef void (*GtkItemFactoryCallback)  ();
 ^
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro -o test-reparent test-reparent.o ../bonobo/libbonoboui-2.la -lgnomecanvas-2 -lart_lgpl_2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -pthread -lORBit-2 -lgthread-2.0 -pthread -lxml2 -lgconf-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgobject-2.0 -lglib-2.0  
libtool: link: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z -Wl,relro -o .libs/test-reparent test-reparent.o -pthread -pthread  ../bonobo/.libs/libbonoboui-2.so -lgnomecanvas-2 -lart_lgpl_2 -lgnome-2 /usr/lib/x86_64-linux-gnu/libpopt.so -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lxml2 -lgconf-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig /usr/lib/x86_64-linux-gnu/libfreetype.so -lgobject-2.0 -lglib-2.0 -pthread
gcc -DHAVE_CONFIG_H -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -I.. -DBONOBO_UI_INTERNAL -DBONOBO_UIDIR=\""/usr/share/gnome/ui/"\" -DBONOBO_TOPSRCDIR=\"".."\" -DG_LOG_DOMAIN=\"Bonobo\" -DVERSION=\"2.24.5\" -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  -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/x86_64-linux-gnu/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o test-events.o test-events.c
In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0,
                 from ../bonobo/bonobo-widget.h:15,
                 from ../libbonoboui.h:18,
                 from test-events.c:15:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 typedef void (*GtkItemFactoryCallback)  ();
 ^
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro -o test-events test-events.o ../bonobo/libbonoboui-2.la -lgnomecanvas-2 -lart_lgpl_2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -pthread -lORBit-2 -lgthread-2.0 -pthread -lxml2 -lgconf-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgobject-2.0 -lglib-2.0  
libtool: link: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z -Wl,relro -o .libs/test-events test-events.o -pthread -pthread  ../bonobo/.libs/libbonoboui-2.so -lgnomecanvas-2 -lart_lgpl_2 -lgnome-2 /usr/lib/x86_64-linux-gnu/libpopt.so -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lxml2 -lgconf-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig /usr/lib/x86_64-linux-gnu/libfreetype.so -lgobject-2.0 -lglib-2.0 -pthread
make[4]: Leaving directory '/«PKGBUILDDIR»/tests'
make[3]: Leaving directory '/«PKGBUILDDIR»/tests'
Making all in tools
make[3]: Entering directory '/«PKGBUILDDIR»/tools'
Making all in browser
make[4]: Entering directory '/«PKGBUILDDIR»/tools/browser'
gcc -DHAVE_CONFIG_H -I. -I../.. -DBONOBO_BROWSER_DATADIR=\""/usr/share"\" -DBONOBO_SUPPORT_LOCALEDIR=\""/usr/share/locale"\" -I. -I../.. -I../../bonobo-browser -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/x86_64-linux-gnu/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -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   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o bonobo-browser.o bonobo-browser.c
cc1: error: ../../bonobo-browser: No such file or directory [-Werror=missing-include-dirs]
In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0,
                 from bonobo-browser.c:29:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 typedef void (*GtkItemFactoryCallback)  ();
 ^
cc1: some warnings being treated as errors
make[4]: *** [bonobo-browser.o] Error 1
Makefile:512: recipe for target 'bonobo-browser.o' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/tools/browser'
make[3]: *** [all-recursive] Error 1
Makefile:393: recipe for target 'all-recursive' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/tools'
make[2]: *** [all-recursive] Error 1
Makefile:506: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
Makefile:414: 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