From 2abd5d20f1735543fc756293d422a656aa86c46e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Tue, 2 Aug 2022 15:58:41 +0100 Subject: [PATCH] Show config.log contents when configure fails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will make it easier to debug future koji build failures Signed-off-by: Daniel P. Berrangé --- qemu.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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