From 2abd5d20f1735543fc756293d422a656aa86c46e Mon Sep 17 00:00:00 2001 From: Daniel P. Berrangé Date: Aug 02 2022 14:58:41 +0000 Subject: Show config.log contents when configure fails This will make it easier to debug future koji build failures Signed-off-by: Daniel P. Berrangé --- diff --git a/qemu.spec b/qemu.spec index 08269b0..b8c4abe 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1554,7 +1554,8 @@ run_configure() { --with-git=git \ --tls-priority=@QEMU,SYSTEM \ %{disable_everything} \ - "$@" + "$@" \ + || ( cat config.log ; exit 1 ) echo "config-host.mak contents:" echo "===" @@ -1721,8 +1722,7 @@ run_configure \ --enable-xen \ --enable-xen-pci-passthrough \ %endif - --enable-zstd \ - + --enable-zstd %if %{tools_only} %make_build qemu-img