Hi Laurent, On Sat, Dec 12, 2020 at 10:03:32AM +0100, Laurent Bigonville wrote: > Source: libhandy > Version: 0.0.13-2 > Severity: important > > Hello, > > libhandy currently FTBFS with glade 3.38 that is currently in > experimenal. This is preventing us to update it in unstable > > The errors are: > > FAILED: glade/libglade-handy.so.p/glade-hdy-header-group.c.o > cc -Iglade/libglade-handy.so.p -Iglade -I../glade -I. -I.. -Isrc -I../src > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -I/usr/include/libmount -I/usr/include/blkid -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/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 > -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 > -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 > -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 > -I/usr/include/libgladeui-2.0 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu > -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch > -std=gnu11 -DHAVE_CONFIG_H -DHANDY_COMPILATION -Wcast-align -Wdate-time > -Wdeclaration-after-statement -Werror=format-security -Werror=format=2 > -Wendif-labels -Werror=incompatible-pointer-types > -Werror=missing-declarations -Werror=overflow -Werror=return-type > -Werror=shift-count-overflow -Werror=shift-overflow=2 > -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security > -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers > -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs > -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing > -Wno-unused-parameter -Wold-style-definition -Wpointer-arith > -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum > -Wtype-limits -Wundef -Wunused-function -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD > -MQ glade/libglade-handy.so.p/glade-hdy-header-group.c.o -MF > glade/libglade-handy.so.p/glade-hdy-header-group.c.o.d -o > glade/libglade-handy.so.p/glade-hdy-header-group.c.o -c > ../glade/glade-hdy-header-group.c > ../glade/glade-hdy-header-group.c: In function > ‘glade_hdy_header_group_read_widgets’: > ../glade/glade-hdy-header-group.c:46:46: error: ‘GPC_OBJECT_DELIMITER’ > undeclared (first use in this function) > 46 | g_strdup_printf ("%s%s%s", string, GPC_OBJECT_DELIMITER, > | ^~~~~~~~~~~~~~~~~~~~ > ../glade/glade-hdy-header-group.c:46:46: note: each undeclared identifier is > reported only once for each function it appears in > ../glade/glade-hdy-header-group.c: In function > ‘glade_hdy_header_group_read_widget’: > ../glade/glade-hdy-header-group.c:77:3: warning: implicit declaration of > function ‘GWA_GET_CLASS’; did you mean ‘G_TASK_GET_CLASS’? > [-Wimplicit-function-declaration] > 77 | GWA_GET_CLASS (G_TYPE_OBJECT)->read_widget (adaptor, widget, node); > | ^~~~~~~~~~~~~ > | G_TASK_GET_CLASS > ../glade/glade-hdy-header-group.c:77:3: warning: nested extern declaration of > ‘GWA_GET_CLASS’ [-Wnested-externs] > ../glade/glade-hdy-header-group.c:77:32: error: invalid type argument of ‘->’ > (have ‘int’) > 77 | GWA_GET_CLASS (G_TYPE_OBJECT)->read_widget (adaptor, widget, node); > | ^~ > ../glade/glade-hdy-header-group.c: In function > ‘glade_hdy_header_group_write_widget’: > ../glade/glade-hdy-header-group.c:123:32: error: invalid type argument of > ‘->’ (have ‘int’) > 123 | GWA_GET_CLASS (G_TYPE_OBJECT)->write_widget (adaptor, widget, > context, node); > | ^~ > ../glade/glade-hdy-header-group.c: In function > ‘glade_hdy_header_group_set_property’: > ../glade/glade-hdy-header-group.c:157:34: error: invalid type argument of > ‘->’ (have ‘int’) > 157 | GWA_GET_CLASS (G_TYPE_OBJECT)->set_property (adaptor, object, > | ^~ > > Could you have a look please?
sure. I've disabled glade support since this is troublesome with libhandy-1's glade support anyway. Cheers, -- Guido