FOUND THE ISSUE! Whenever compiling from a git (or git-ubuntu) repository:
---- ./configure: .... 1868 # Consult white-list to determine whether to enable werror 1869 # by default. Only enable by default for git builds 1870 if test -z "$werror" ; then 1871 if test -e "$source_path/.git" && \ 1872 { test "$linux" = "yes" || test "$mingw32" = "yes"; }; then 1873 werror="yes" 1874 else 1875 werror="no" 1876 fi 1877 fi .... # Now we've finished running tests it's OK to add -Werror to the compiler flags if test "$werror" = "yes"; then QEMU_CFLAGS="-Werror $QEMU_CFLAGS" fi and then config.log: QEMU_CFLAGS -I/usr/include/pixman-1 -Werror -DHAS_LIBSSH2_SFTP_FSYNC -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99 -g -O0 -fdebug-prefix- map=/home/inaddy/work/sources/ubuntu/qemu=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wexpansion-to-defined ---- Werror will be configured by default in QEMU_CFLAGS (independently of dpkg-buildflags). To avoid that we could use: --disable-werror disable compilation abort on warning But not exactly sure why this is happening now since the configure changes are old. Removing the .git directory I got: QEMU_CFLAGS -I/usr/include/pixman-1 -DHAS_LIBSSH2_SFTP_FSYNC -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux- gnu/glib-2.0/include -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99 -g -O0 -fdebug-prefix- map=/home/inaddy/work/sources/ubuntu/qemu=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -Wexpansion-to-defined -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/capstone like expected. (No -Werror flag). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841457 Title: QEMU Eoan FTBS in my machine (gcc9 + amd related ?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1841457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs