From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from csb.redhat.com (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 6C52D3858D32 for ; Sun, 29 Jan 2023 19:32:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6C52D3858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: by csb.redhat.com (Postfix, from userid 10916) id 89A04DFFC3; Sun, 29 Jan 2023 20:32:57 +0100 (CET) From: Mark Wielaard To: buildbot@sourceware.org Cc: Mark Wielaard Subject: [PATCH] Add config.log to logfiles for configure build steps Date: Sun, 29 Jan 2023 20:32:56 +0100 Message-Id: <20230129193256.135403-1-mark@klomp.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3037.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --- builder/master.cfg | 57 ++++++++++++++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 19 deletions(-) diff --git a/builder/master.cfg b/builder/master.cfg index c308048..c7e7684 100644 --- a/builder/master.cfg +++ b/builder/master.cfg @@ -976,7 +976,8 @@ autoreconf_step = steps.ShellCommand( configure_step = steps.Configure( command=["./configure", "--enable-maintainer-mode"], - name="configure", haltOnFailure=True) + name="configure", haltOnFailure=True, + logfiles={"config.log": "config.log"}) # Sets package_version property so it can be used from a next step # Gets version from the config.h files, so needs to be run after # configure. Normally used together with package_name property as @@ -1606,33 +1607,38 @@ elfutils_configure_valgrind_step = steps.Configure( command=["./configure", "--enable-maintainer-mode", "--enable-valgrind"], - name="configure", haltOnFailure=True) + name="configure", haltOnFailure=True, + logfiles={"config.log": "config.log"}) # configure with running tests under valgrind and undefined sanitized enabled. elfutils_configure_valgrind_undefined_step = steps.Configure( command=["./configure", "--enable-maintainer-mode", "--enable-sanitize-undefined", "--enable-valgrind"], - name="configure", haltOnFailure=True) + name="configure", haltOnFailure=True, + logfiles={"config.log": "config.log"}) # configure with address sanitizer enabled explicitly. elfutils_configure_address_step = steps.Configure( command=["./configure", "--enable-maintainer-mode", "--enable-sanitize-address"], - name="configure", haltOnFailure=True) + name="configure", haltOnFailure=True, + logfiles={"config.log": "config.log"}) # configure with undefined sanitizer enabled explicitly. elfutils_configure_undefined_step = steps.Configure( command=["./configure", "--enable-maintainer-mode", "--enable-sanitize-undefined"], - name="configure", haltOnFailure=True) + name="configure", haltOnFailure=True, + logfiles={"config.log": "config.log"}) # configure with undefined and address sanitizer enabled explicitly. elfutils_configure_address_undefined_step = steps.Configure( command=["./configure", "--enable-maintainer-mode", "--enable-sanitize-undefined", "--enable-sanitize-address"], - name="configure", haltOnFailure=True) + name="configure", haltOnFailure=True, + logfiles={"config.log": "config.log"}) # Upload automake test results, autoconf config.log, in both build and dist-build trees elfutils_upload_to_bunsen = bunsen_logfile_upload_cpio_steps( @@ -1987,7 +1993,8 @@ gccrust_configure_step = steps.Configure( '--disable-libcc1', '--disable-libvtv'], name='configure', - haltOnFailure=True) + haltOnFailure=True, + logfiles={"config.log": "config.log"}) gccrust_configure_bootstrap_step = steps.Configure( workdir='gccrs-build', @@ -2002,7 +2009,8 @@ gccrust_configure_bootstrap_step = steps.Configure( '--disable-libcc1', '--disable-libvtv'], name='configure', - haltOnFailure=True) + haltOnFailure=True, + logfiles={"config.log": "config.log"}) gccrust_make_step = steps.Compile( workdir='gccrs-build', @@ -2192,7 +2200,8 @@ binutils_step_configure = steps.Configure( '--enable-shared', '--enable-targets=all'], name='configure', - haltOnFailure=True) + haltOnFailure=True, + logfiles={"config.log": "config.log"}) binutils_step_configure_libctf = steps.Configure( workdir='binutils-build', command=['../binutils-gdb/configure', @@ -2201,7 +2210,8 @@ binutils_step_configure_libctf = steps.Configure( '--enable-targets=all', '--enable-libctf'], name='configure', - haltOnFailure=True) + haltOnFailure=True, + logfiles={"config.log": "config.log"}) binutils_step_compile = steps.Compile( workdir='binutils-build', command=addOutputSync.withArgs(['make', @@ -2555,7 +2565,8 @@ gdb_configure_step = steps.Configure( command=['../binutils-gdb/configure', '--enable-targets=all'], name='configure', - haltOnFailure=True) + haltOnFailure=True, + logfiles={"config.log": "config.log"}) # Use on 32bit platforms, building sim is broken gdb_configure_32_step = steps.Configure( workdir='gdb-build', @@ -2563,7 +2574,8 @@ gdb_configure_32_step = steps.Configure( '--enable-targets=all', '--disable-sim'], name='configure', - haltOnFailure=True) + haltOnFailure=True, + logfiles={"config.log": "config.log"}) gdb_make_step = steps.Compile( workdir='gdb-build', command=addOutputSync.withArgs(['make', @@ -2965,7 +2977,8 @@ def binutils_gdb_factory_factory(runtestflags=None): binutils_gdb_factory.addStep(steps.Configure( command=['./configure'], name='configure', - haltOnFailure=True)) + haltOnFailure=True, + logfiles={"config.log": "config.log"})) binutils_gdb_factory.addStep(steps.Compile( command=addOutputSync.withArgs(['make', util.Interpolate('-j%(prop:ncpus)s'), @@ -3043,7 +3056,8 @@ gcc_rm_build_step = steps.ShellCommand( gcc_configure_step = steps.Configure( command=['./configure'], name='configure', - haltOnFailure=True) + haltOnFailure=True, + logfiles={"config.log": "config.log"}) gcc_build_configure_step = steps.Configure( workdir='gcc-build', @@ -3053,7 +3067,8 @@ gcc_build_configure_step = steps.Configure( '--enable-checking=no', '--disable-multilib'], name='configure', - haltOnFailure=True) + haltOnFailure=True, + logfiles={"config.log": "config.log"}) gcc_build_make_clean_step = steps.ShellCommand( workdir='gcc-build', @@ -3068,7 +3083,8 @@ gcc_factory.addStep(steps.Configure( '--disable-bootstrap', '--enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto'], name='configure', - haltOnFailure=True)) + haltOnFailure=True, + logfiles={"config.log": "config.log"})) gcc_factory.addStep(steps.Compile( command=addOutputSync.withArgs(['make', util.Interpolate('-j%(prop:ncpus)s'), @@ -3224,7 +3240,8 @@ def gcc_full_build_factory_gen(extra_configure_arg=None): workdir='gcc-build', command=configure_command, name='configure', - haltOnFailure=True) + haltOnFailure=True, + logfiles={"config.log": "config.log"}) gcc_full_build_factory.addStep(gcc_full_build_configure_step) gcc_full_build_factory.addStep(steps.Compile( workdir='gcc-build', @@ -3301,7 +3318,8 @@ glibc_configure_step = steps.Configure( workdir='glibc-build', command=['../glibc/configure', '--prefix=/usr'], name='configure', - haltOnFailure=True) + haltOnFailure=True, + logfiles={"config.log": "config.log"}) glibc_make_step = steps.Compile( workdir='glibc-build', @@ -3947,7 +3965,8 @@ systemtap_factory.addStep(steps.Configure( workdir="stap-build", command=["../systemtap/configure", util.Interpolate ("--prefix=%(prop:builddir)s/stap-build/INST")], name="configure", - haltOnFailure=True)) + haltOnFailure=True, + logfiles={"config.log": "config.log"})) systemtap_factory.addStep(steps.Compile( workdir='stap-build', command=addOutputSync.withArgs(['make', 'V=1', -- 2.31.1