Show config.log contents when configure fails

This will make it easier to debug future koji build failures

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2022-08-02 15:58:41 +01:00
parent 98276b3e5f
commit 2abd5d20f1

View File

@ -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