Package: yad Version: 0.27.0-1 Severity: serious User: debian-...@lists.debian.org Usertags: ftbfs-gcc-5
yad fails to build with GCC 5. See the section "Different semantics for inline functions" at https://gcc.gnu.org/gcc-5/porting_to.html Martin > sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c5n1.hlinux.usa.hp.com ... > main.c:743:32: warning: format '%X' expects argument of type 'unsigned int', > but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] > str = g_strdup_printf ("0x%X", GDK_WINDOW_XID (gtk_widget_get_window > (dialog))); > ^ > In file included from main.c:34:0: > main.c: At top level: > yad.h:465:13: warning: inline function 'strip_new_line' declared but never > defined > inline void strip_new_line (gchar * str); > ^ > gcc -pthread -I/usr/include/gtk-3.0/unix-print -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/aarch64-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/glib-2.0 > -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -fPIE > -fstack-protector-strong -Wformat -Werror=format-security -fPIE -pie > -Wl,-z,relro -Wl,-z,now -o yad yad-about.o yad-calendar.o yad-color.o > yad-dnd.o yad-entry.o yad-file.o yad-font.o yad-form.o yad-icons.o yad-list.o > yad-multi-progress.o yad-notebook.o yad-notification.o yad-option.o > yad-print.o yad-progress.o yad-scale.o yad-text.o yad-util.o yad-main.o > -lgtk-3 -lgdk-3 -lpangocairo-1.0 > -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 > -lgobject-2.0 -lglib-2.0 > yad-icons.o: In function `handle_stdin': > /«PKGBUILDDIR»/src/icons.c:161: undefined reference to `strip_new_line' > yad-list.o: In function `handle_stdin': > /«PKGBUILDDIR»/src/list.c:369: undefined reference to `strip_new_line' > yad-notification.o: In function `handle_stdin': > /«PKGBUILDDIR»/src/notification.c:269: undefined reference to `strip_new_line' > collect2: error: ld returned 1 exit status > Makefile:411: recipe for target 'yad' failed > make[3]: *** [yad] Error 1 -- Martin Michlmayr Linux for HP Helion OpenStack, Hewlett-Packard -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org