Helmut Grohne
unread,Sep 15, 2021, 4:10:04 PM9/15/21You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Source: spice-vdagent
Version: 0.20.0-2
Severity: serious
Tags: ftbfs
spice-vdagent fails to build from source in unstable. A non-parallel
build ends as follows:
| gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libdrm -I/usr/include/spice-1 -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -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/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -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/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I./src -DUDSCS_NO_SERVER -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -Wp,-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -c -o src/vdagent/spice_vdagent-x11-randr.o `test -f 'src/vdagent/x11-randr.c' || echo './'`src/vdagent/x11-randr.c
| src/vdagent/x11-randr.c: In function ‘vdagent_x11_set_monitor_config’:
| src/vdagent/x11-randr.c:1007:21: error: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Werror=deprecated-declarations]
| 1007 | g_memdup(mon_config, config_size(mon_config->num_of_monitors));
| | ^~~~~~~~
| In file included from /usr/include/glib-2.0/glib.h:82,
| from src/vdagent/x11-randr.c:25:
| /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
| 257 | gpointer g_memdup (gconstpointer mem,
| | ^~~~~~~~
| cc1: all warnings being treated as errors
| make[1]: *** [Makefile:1184: src/vdagent/spice_vdagent-x11-randr.o] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j1 returned exit code 2
| make: *** [debian/rules:18: build] Error 25
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Helmut