From nobody Mon May 20 15:26:54 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1667496761; cv=none; d=zohomail.com; s=zohoarc; b=Aei0pT+tv8OJqbAv70dgzLz/n78gDzISYK57NgHbk0Dee4mbzr19Z8TUDsiw4CThCFPlF4iOQ0J4S99bdHH7EgEAj0zMev8HW+4S3NrGV51iJSoKBVEdOhL5CcsZBEfQHu8PMZL8dnJFJkpYk03Miy3qCzrr9f//xaJO1cNVoWo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1667496761; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=3m4ybHQiZIUd0nHVlaYKVYoBYgh/5HEw4j8nuKdAAGQ=; b=PLChv/YgF7OMDeF1dbpcydOSBTvlz0tAPL6fUmiqyNNsJNRcs7ktI/ybhfI68ppGlr+lktNJfRzaPWE9jnnGwmrLFMvrx1tw4z8kOQYZAUwADftIy0CVd4WHq2ig55Zm+R+JIYoBB+XWGtA88zAoRx4/ZtT4qerOGAoVLR/Z1VY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 166749676198462.71574937541902; Thu, 3 Nov 2022 10:32:41 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqe3Q-00082q-B6; Thu, 03 Nov 2022 13:31:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqe3O-00082B-88 for qemu-devel@nongnu.org; Thu, 03 Nov 2022 13:30:58 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqe3J-000418-S6 for qemu-devel@nongnu.org; Thu, 03 Nov 2022 13:30:57 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-54-CpSFT_ENP9y4waRjcFBlwQ-1; Thu, 03 Nov 2022 13:30:46 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 52D2C3C0F439; Thu, 3 Nov 2022 17:30:46 +0000 (UTC) Received: from virtlab420.virt.lab.eng.bos.redhat.com (virtlab420.virt.lab.eng.bos.redhat.com [10.19.152.148]) by smtp.corp.redhat.com (Postfix) with ESMTP id 14196492B06; Thu, 3 Nov 2022 17:30:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667496649; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3m4ybHQiZIUd0nHVlaYKVYoBYgh/5HEw4j8nuKdAAGQ=; b=XSBUI2x+FYPIciL9qEhOROg+EsGy6FVOgbWlfs8pUL3GIMSZ+8gYYYsX1dVZ5cXowSzx+p f89gJpwWsIBsNf6rvd7Cal3dbflMnjy/09+z8zC/OsILn4YMPo24G0oUWT0racpvJsgvgS hACP65+7wW190oUPHSYlZoLokHzxv78= X-MC-Unique: CpSFT_ENP9y4waRjcFBlwQ-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Stefan Hajnoczi , Thomas Huth , Peter Maydell , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 1/2] gitlab: remove redundant setting of PKG_CONFIG_PATH Date: Thu, 3 Nov 2022 13:30:43 -0400 Message-Id: <20221103173044.3969425-2-berrange@redhat.com> In-Reply-To: <20221103173044.3969425-1-berrange@redhat.com> References: <20221103173044.3969425-1-berrange@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=berrange@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.047, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1667496763689100001 The PKG_CONFIG_PATH variable is not defined in GitLab CI envs and even if it was, we don't need to set it to its existing value. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Stefan Hajnoczi --- .gitlab-ci.d/crossbuild-template.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.d/crossbuild-template.yml b/.gitlab-ci.d/crossbuild= -template.yml index 5e8892fd49..6d709628f1 100644 --- a/.gitlab-ci.d/crossbuild-template.yml +++ b/.gitlab-ci.d/crossbuild-template.yml @@ -6,8 +6,7 @@ script: - mkdir build - cd build - - PKG_CONFIG_PATH=3D$PKG_CONFIG_PATH - ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS + - ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS --disable-user --target-list-exclude=3D"arm-softmmu cris-softmmu i386-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu mips64-softmmu ppc-softmmu riscv32-softmmu sh4-softmmu @@ -32,8 +31,7 @@ script: - mkdir build - cd build - - PKG_CONFIG_PATH=3D$PKG_CONFIG_PATH - ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS + - ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS --disable-tools --enable-${ACCEL:-kvm} $EXTRA_CONFIGURE_OPTS - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS =20 @@ -44,8 +42,7 @@ script: - mkdir build - cd build - - PKG_CONFIG_PATH=3D$PKG_CONFIG_PATH - ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS + - ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS --disable-system --target-list-exclude=3D"aarch64_be-linux-user alpha-linux-user cris-linux-user m68k-linux-user microblazeel-li= nux-user nios2-linux-user or1k-linux-user ppc-linux-user sparc-linux-user --=20 2.37.2 From nobody Mon May 20 15:26:54 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1667496736; cv=none; d=zohomail.com; s=zohoarc; b=S9I4d2U9O/jT3HHCWAj7duclZaKIzNd56ysCUUImVKi5wAsq4R+cVHO4ZV+2WkhGLJ2YE0Ugv/ZU44CepaDHPVYvu1dJ502D5qRjju3M+uW0buT/CVH1bDYUiD7ykjjwKLV79X3RP9Ek/PeiiWbyLa4hZjgVL+Mhvt/vJSP36Nw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1667496736; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=UKTQpgfAI+5wQiG02pSTx2JoGN02tkjKcgJNB1oQWAc=; b=I/B24BITuWYHqbJcuRsJeM/gJPIsnUW/Msj3HrPiaBcmsixun6lBovVtlScK1H+AfmfQv6Xjb6BFKjR7ZvmpcRsvif+s5FCWmhbXnH+cOHynydmVGOGT5iSFhDrvY7B4MqMyCB7HB7nOgVuDoFnW6NV+qbXFrFaYimI/WO7lx3s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1667496736114322.5198772438432; Thu, 3 Nov 2022 10:32:16 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqe3o-00086I-B7; Thu, 03 Nov 2022 13:31:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqe3O-00082L-Lw for qemu-devel@nongnu.org; Thu, 03 Nov 2022 13:30:58 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqe3J-00041E-S5 for qemu-devel@nongnu.org; Thu, 03 Nov 2022 13:30:58 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-407-vAvnBrtnOFOLXVCflbN_xA-1; Thu, 03 Nov 2022 13:30:47 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9B797811E67; Thu, 3 Nov 2022 17:30:46 +0000 (UTC) Received: from virtlab420.virt.lab.eng.bos.redhat.com (virtlab420.virt.lab.eng.bos.redhat.com [10.19.152.148]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5C6F5492B06; Thu, 3 Nov 2022 17:30:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667496650; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UKTQpgfAI+5wQiG02pSTx2JoGN02tkjKcgJNB1oQWAc=; b=MWDdXdl9l2SIsXrIlKFwm1ZrNW9qFXRZwYBf5BIaDNEXrOn1sdVGqaH0MX9sTz9sN1k9l7 hP8S4tb1UJxmlKVJmP+d1rR5FJtTTE4uyNz+TY4lgIPUYQ/DHDb8s1i4+Mmbro/9QaZZ4Q RKHhlGzzPkBXPifpuuT/BombziA5YeE= X-MC-Unique: vAvnBrtnOFOLXVCflbN_xA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Stefan Hajnoczi , Thomas Huth , Peter Maydell , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 2/2] gitlab: show configure/make args before running Date: Thu, 3 Nov 2022 13:30:44 -0400 Message-Id: <20221103173044.3969425-3-berrange@redhat.com> In-Reply-To: <20221103173044.3969425-1-berrange@redhat.com> References: <20221103173044.3969425-1-berrange@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=berrange@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.047, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1667496737569100001 When debugging failed jobs it is helpful to see the full configure/make args used, without having to search the gitlab config file to figure it out. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Stefan Hajnoczi --- .gitlab-ci.d/buildtest-template.yml | 4 ++++ .gitlab-ci.d/crossbuild-template.yml | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/.gitlab-ci.d/buildtest-template.yml b/.gitlab-ci.d/buildtest-t= emplate.yml index 73ecfabb8d..0af980c71d 100644 --- a/.gitlab-ci.d/buildtest-template.yml +++ b/.gitlab-ci.d/buildtest-template.yml @@ -13,8 +13,10 @@ - cd build - if test -n "$TARGETS"; then + echo "../configure --enable-werror --disable-docs ${LD_JOBS:+--mes= on=3Dgit} $CONFIGURE_ARGS --target-list=3D\"$TARGETS\"" ; ../configure --enable-werror --disable-docs ${LD_JOBS:+--meson=3Dg= it} $CONFIGURE_ARGS --target-list=3D"$TARGETS" ; else + echo "../configure --enable-werror --disable-docs ${LD_JOBS:+--mes= on=3Dgit} $CONFIGURE_ARGS" ; ../configure --enable-werror --disable-docs ${LD_JOBS:+--meson=3Dg= it} $CONFIGURE_ARGS ; fi || { cat config.log meson-logs/meson-log.txt && exit 1; } - if test -n "$LD_JOBS"; @@ -24,6 +26,7 @@ - make -j"$JOBS" - if test -n "$MAKE_CHECK_ARGS"; then + echo "make -j\"$JOBS\" $MAKE_CHECK_ARGS" ; make -j"$JOBS" $MAKE_CHECK_ARGS ; fi =20 @@ -37,6 +40,7 @@ - cd build - find . -type f -exec touch {} + # Avoid recompiling by hiding ninja with NINJA=3D":" + - echo "make NINJA=3D\":\" $MAKE_CHECK_ARGS" - make NINJA=3D":" $MAKE_CHECK_ARGS =20 .native_test_job_template: diff --git a/.gitlab-ci.d/crossbuild-template.yml b/.gitlab-ci.d/crossbuild= -template.yml index 6d709628f1..d217dcaae0 100644 --- a/.gitlab-ci.d/crossbuild-template.yml +++ b/.gitlab-ci.d/crossbuild-template.yml @@ -6,11 +6,17 @@ script: - mkdir build - cd build + - echo "../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OP= TS + --disable-user --target-list-exclude=3D\"arm-softmmu cris-softmmu + i386-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu + mips64-softmmu ppc-softmmu riscv32-softmmu sh4-softmmu + sparc-softmmu xtensa-softmmu $CROSS_SKIP_TARGETS\"" - ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS --disable-user --target-list-exclude=3D"arm-softmmu cris-softmmu i386-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu mips64-softmmu ppc-softmmu riscv32-softmmu sh4-softmmu sparc-softmmu xtensa-softmmu $CROSS_SKIP_TARGETS" + - echo "make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS" - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS - if grep -q "EXESUF=3D.exe" config-host.mak; then make installer; @@ -31,8 +37,11 @@ script: - mkdir build - cd build + - echo "../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OP= TS + --disable-tools --enable-${ACCEL:-kvm} $EXTRA_CONFIGURE_OPTS" - ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS --disable-tools --enable-${ACCEL:-kvm} $EXTRA_CONFIGURE_OPTS + - echo "make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS" - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS =20 .cross_user_build_job: @@ -42,9 +51,15 @@ script: - mkdir build - cd build + - echo "../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OP= TS + --disable-system --target-list-exclude=3D\"aarch64_be-linux-user + alpha-linux-user cris-linux-user m68k-linux-user microblazeel-li= nux-user + nios2-linux-user or1k-linux-user ppc-linux-user sparc-linux-user + xtensa-linux-user $CROSS_SKIP_TARGETS\"" - ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS --disable-system --target-list-exclude=3D"aarch64_be-linux-user alpha-linux-user cris-linux-user m68k-linux-user microblazeel-li= nux-user nios2-linux-user or1k-linux-user ppc-linux-user sparc-linux-user xtensa-linux-user $CROSS_SKIP_TARGETS" + - echo "make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS" - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS --=20 2.37.2