From nobody Thu Nov 21 20:22:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1729182078; cv=none; d=zohomail.com; s=zohoarc; b=W8zKJASZ5RLM/AH72DHkuDBdeKEbofU1Q0YjdpkMYbl7T59IJB7vsIxLmHd3xALmMYOI7cZ6em+TisjOOALXm+MQbq6WHUq/iIIxDAUfnabExwI1+ghiwV08yBsRLmdz6svrOz8HmGo70Hbb/0my6oJ2DC9fvWG3PbOXuxl9yeA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1729182078; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=0mFPVW/GNfkFYA0jwP0JP0xhWbJwauejO0ZM9dVMIMk=; b=SHTSlmbxCgWyAyuMEgW7FQsHLFW8IvfdVPMxo1yzmsHJs8LfcIgZKm+XQqbyFcl2HrkiOYKFjxVf7KZPGNm8/IQvMx7/AmbCf4+G+kn+7hWdchqaqt0NGGDRHYQ4IBBSwhfzycyWFvKHuzqsmERqXbk+SkyS8EmUDfSjsZxy87s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1729182078493224.17411812080627; Thu, 17 Oct 2024 09:21:18 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.820762.1234364 (Exim 4.92) (envelope-from ) id 1t1TEx-0005A4-Me; Thu, 17 Oct 2024 16:20:43 +0000 Received: by outflank-mailman (output) from mailman id 820762.1234364; Thu, 17 Oct 2024 16:20:43 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t1TEx-00059w-HP; Thu, 17 Oct 2024 16:20:43 +0000 Received: by outflank-mailman (input) for mailman id 820762; Thu, 17 Oct 2024 16:20:42 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t1TEw-0004vC-Lb for xen-devel@lists.xenproject.org; Thu, 17 Oct 2024 16:20:42 +0000 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [2a00:1450:4864:20::235]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id c1431c14-8ca3-11ef-a0be-8be0dac302b0; Thu, 17 Oct 2024 18:20:42 +0200 (CEST) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2fb5014e2daso13310121fa.0 for ; Thu, 17 Oct 2024 09:20:42 -0700 (PDT) Received: from localhost.localdomain ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c98d77995esm2922739a12.65.2024.10.17.09.20.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2024 09:20:40 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: c1431c14-8ca3-11ef-a0be-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1729182041; x=1729786841; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0mFPVW/GNfkFYA0jwP0JP0xhWbJwauejO0ZM9dVMIMk=; b=UjCxelEVIvR+2xeFyj/TnE1UjZm6m5fgKdGaF8f6vzV7Iw0ftOVuAcqzUMthohBe2w GA2xhJaOUPOUGMI6y4/C3EZJArR4liq5Pz6uU+lW3mpudgpetm/EqN65a5fhRMTCqiEL H44ZVDiPy+363QxfMxNsHXizI9OPg5Dw+Asig= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729182041; x=1729786841; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0mFPVW/GNfkFYA0jwP0JP0xhWbJwauejO0ZM9dVMIMk=; b=mOjz/FZWLGrJ7mREr/RsqWkme9kMWRO7jWUcT5pw9a8lGinAH9V4XEdBFkM7eWuNKP Fp4pdkeFFDOp+RoDtDYdCq2gh2ShPBAKd2PzLWPbTCJI+8MQrl4UW92Ig1LOpJLeu1FW /pUqn1V6gLo1f1EdppxPwxRwUGAx+uGOOFHEp9dm0gLM/H/vnR1cz8DdcSCO73XnGXw5 v+8P623O4lKudcHPE5y+5UbrW6OkH7QsQbEQZQuiVAdkV7yGDEOmtVTklj0Ro8DT+PGN 6EafpVQXNfOk09+utHpxyITaK7ApRdR7RKjbAeFZXHfUNRlcnuwFaFwXdCu5UwJ0Guwq 5RCw== X-Gm-Message-State: AOJu0YwZ/A888xVndXtRJcCF36o37XdZhrm2uiV7bOQhFBMtgy/gVNAf cVHORjJaTqomb0JfZvTUsCaX6JP5PCs7ybpLZrrCgd+116SBi7bTQGPzTTuIZmiA3OHMERvMgow Kevg= X-Google-Smtp-Source: AGHT+IGLTAiFvsipA8tB4KV2Rl1jDJqMPccfYVUbE4KJ0Xy7TV2QHZvD9nu9WmlTmzjjHZy3ZW6l9Q== X-Received: by 2002:a2e:be23:0:b0:2fa:c9ad:3d36 with SMTP id 38308e7fff4ca-2fb3f1650e2mr97736421fa.7.1729182041389; Thu, 17 Oct 2024 09:20:41 -0700 (PDT) From: Javi Merino To: xen-devel@lists.xenproject.org Cc: Javi Merino , Doug Goldstein , Stefano Stabellini Subject: [XEN PATCH v1 1/3] automation: Fix URL to the gitlab container registry documentation Date: Thu, 17 Oct 2024 17:20:19 +0100 Message-ID: <5ebb776792a345724b43b0843aa41c21febcc843.1729170005.git.javi.merino@cloud.com> X-Mailer: git-send-email 2.46.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1729182080629116600 Content-Type: text/plain; charset="utf-8" The gitlab documentation is now at https://docs.gitlab.com/ee/administration/packages/container_registry.html Signed-off-by: Javi Merino Acked-by: Stefano Stabellini Reviewed-by: Anthony PERARD --- automation/build/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/build/README.md b/automation/build/README.md index bd0c0e041804..ecc898680c91 100644 --- a/automation/build/README.md +++ b/automation/build/README.md @@ -110,7 +110,7 @@ make -C automation/build opensuse/tumbleweed-x86_64 PUS= H=3D1 =20 [BuildKit]: https://docs.docker.com/build/buildkit/ [registry]: https://gitlab.com/xen-project/xen/container_registry -[registry help]: https://gitlab.com/help/user/project/container_registry +[registry help]: https://docs.gitlab.com/ee/user/packages/container_regist= ry/ =20 =20 Building/Running container for a different architecture --=20 2.46.1 From nobody Thu Nov 21 20:22:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1729182079; cv=none; d=zohomail.com; s=zohoarc; b=biy1UPIp9Xm6JNi0Uwpe3vcKVk9cVVFYHwPZtV5wqf6hQyio6OqXPpkeRHrjv4Qty5tGgoHitXRw4dwnwnHKaQVJKZmvZifkM0VvrAoP5vrdlqRI0y1RoNjrZ4EmYQRkc5RIyJNsiJ0DufW/HAGmpVqkQPXfFNU4Eonb7c2hsMM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1729182079; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=kgnhx5agu8oUcqb9qagvcSva4nEzimHG4s1giyUXOgs=; b=f4QtiGR4W0B1R9hRMayt5saMhLz+sm/UcKze7o5A9KCnDV24Jkjunq5uOWEchm8ZRQtuAKG4d2fQBYCg7itDTQpVuip1uTY2/jbNLqJI3GSbLhcKiZaSsr+rHdRsEIybmOnYH3DlYfsvVNtopA1Oh59t7ZSxZ6dcl3E+oSahI3E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1729182079717160.59627572565114; Thu, 17 Oct 2024 09:21:19 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.820763.1234373 (Exim 4.92) (envelope-from ) id 1t1TF3-0005Rq-Si; Thu, 17 Oct 2024 16:20:49 +0000 Received: by outflank-mailman (output) from mailman id 820763.1234373; Thu, 17 Oct 2024 16:20:49 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t1TF3-0005Re-Py; Thu, 17 Oct 2024 16:20:49 +0000 Received: by outflank-mailman (input) for mailman id 820763; Thu, 17 Oct 2024 16:20:48 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t1TF2-0004vC-3B for xen-devel@lists.xenproject.org; Thu, 17 Oct 2024 16:20:48 +0000 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [2a00:1450:4864:20::630]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id c45a0a80-8ca3-11ef-a0be-8be0dac302b0; Thu, 17 Oct 2024 18:20:47 +0200 (CEST) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a99fa009adcso58626766b.0 for ; Thu, 17 Oct 2024 09:20:47 -0700 (PDT) Received: from localhost.localdomain ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c98d77995esm2922739a12.65.2024.10.17.09.20.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2024 09:20:46 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: c45a0a80-8ca3-11ef-a0be-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1729182047; x=1729786847; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kgnhx5agu8oUcqb9qagvcSva4nEzimHG4s1giyUXOgs=; b=DoxzSI2tFJ1jDiYPjcQ+I6PTOyZz3genmfTBvKgINuTb5soggOqQpzk1kbx6nSpR7d ab33TJelsGc0T5yHxITxS5TcSPlGG9Pkx2hjrGXq1ivFvW0AYw9LElRB8yVsRZXqRzDq 3D1YrpSF5gL1zzwhcjOXCTIWzcetZVQCCY5zI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729182047; x=1729786847; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kgnhx5agu8oUcqb9qagvcSva4nEzimHG4s1giyUXOgs=; b=f3qlJ6ruI6H5QFGqbPRkrx8EyhkOnrUGPrUmsAV5DMLMwLW1+KQDet2vIhizGTsDai OH+ja73d9PNICQJpaQFu2w241zF9O41GDYGFfgmkUJdtLht5OolCOxZeV0QLzr29gPcl 5svFi+3i60idHAOOb6jd8YEqVz2k5s7BiTu03W1s9RmK4GTeLx6+YH0bIYpGFw/2I9oY 5+depgMQxuDC2ZVnJOQSfI1QfA6UEb5jVLb3Ky151NW2XEhvmzJlWr3BPx/Pe41UfMLv c3gR6sA/21wiIMkpBnLWjQADTtVbjDeKxeBDCx01KxbtLsjue2SuqT/5XDc2NtURa3/U DGBA== X-Gm-Message-State: AOJu0Yy3aFmnFdrA2duiYYB5jA9JJqCepuXvIL4fbfxQ/22YMGUaGl+6 zXljrM2Q0ZvcmBGVQRXOjUlCdIp8LJlxuRnpdBYN05PYeF2RJFbmHF1Yl6c6sp7plah9ERCPBJH Nfwk= X-Google-Smtp-Source: AGHT+IGi48jW39nfLzkZ0jShufFEA0sV9ND93jydXIr0b+hTtD4pgFjW5DI8ncZwdeIP/YBXSsiSbA== X-Received: by 2002:a05:6402:5c9:b0:5c9:5745:de9a with SMTP id 4fb4d7f45d1cf-5c95ac15776mr22549115a12.9.1729182046684; Thu, 17 Oct 2024 09:20:46 -0700 (PDT) From: Javi Merino To: xen-devel@lists.xenproject.org Cc: Javi Merino , Christian Lindig , David Scott , Anthony PERARD , Andrew Cooper , Andrii Sultanov Subject: [XEN PATCH v1 2/3] ocaml/libs: Fill build failure due to unused variable in ocaml macro Date: Thu, 17 Oct 2024 17:20:20 +0100 Message-ID: X-Mailer: git-send-email 2.46.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1729182080655116600 Content-Type: text/plain; charset="utf-8" On Fedora 40, the build fails with: gcc -m64 -DBUILD_ID -fno-strict-aliasing -std=3Dgnu99 -Wall -Wstrict-pr= ototypes -Wno-unused-but-set-variable -Wno-unused-local-typedefs -Werror = -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=3D__XEN_LATEST_INTERFA= CE_VERSION__ -MMD -MP -MF .domain_getinfo_stubs_v1.o.d -D_LARGEFILE_SOURCE = -D_LARGEFILE64_SOURCE -fPIC -I/usr/lib64/ocaml -I /build/tools/ocaml/libs= /xsd_glue/domain_getinfo_plugin_v1/../../../libs -I /build/tools/ocaml/libs= /xsd_glue/domain_getinfo_plugin_v1/../../../libs/xsd_glue -I/build/tools/oc= aml/libs/xsd_glue/domain_getinfo_plugin_v1/../../../../../tools/include -D_= _XEN_TOOLS__ -I/build/tools/ocaml/libs\/xsd_glue/domain_getinfo_plugin_v1/.= ./../../../../tools/include -c -o domain_getinfo_stubs_v1.o domain_getinfo= _stubs_v1.c In file included from domain_getinfo_stubs_v1.c:10: domain_getinfo_stubs_v1.c: In function 'xsd_glue_failwith': /usr/lib64/ocaml/caml/memory.h:275:29: error: unused variable 'caml__fr= ame' [-Werror=3Dunused-variable] 275 | struct caml__roots_block *caml__frame =3D *caml_local_roots_p= tr | ^~~~~~~~~~~ domain_getinfo_stubs_v1.c:48:9: note: in expansion of macro 'CAMLparam0' 48 | CAMLparam0(); | ^~~~~~~~~~ cc1: all warnings being treated as errors The CAMLparam0 macro is defined in /usr/lib64/ocaml/caml/memory.h:255 as: #define CAMLparam0() = \ struct caml__roots_block** caml_local_roots_ptr =3D = \ (DO_CHECK_CAML_STATE ? Caml_check_caml_state() : (void)0, = \ &CAML_LOCAL_ROOTS); = \ struct caml__roots_block *caml__frame =3D *caml_local_roots_ptr We can't modify the macro. Mark the xsd_glue_failwith() function with ignore "-Wunused-variable" to prevent gcc from failing the build due to the unused variable. Fixes: a6576011a4d2 ("ocaml/libs: Implement a dynamically-loaded plugin for= Xenctrl.domain_getinfo") Signed-off-by: Javi Merino Acked-by: Christian Lindig --- While it is not ideal, this is the most effective option I have found that avoids treating warnings as errors. I can add a comment above the pragma explaining why if we decide that this is the way forward. .../domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_geti= nfo_stubs_v1.c b/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_= getinfo_stubs_v1.c index 7be386f4d4c2..df2b3c74c727 100644 --- a/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stu= bs_v1.c +++ b/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stu= bs_v1.c @@ -42,6 +42,8 @@ static struct custom_operations xsd_glue_xenctrl_ops =3D { .compare_ext =3D custom_compare_ext_default, /* Can't compare */ }; =20 +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-variable" static void Noreturn xsd_glue_failwith( xc_interface *xch, const char *func, unsigned int line) { @@ -70,6 +72,7 @@ static void Noreturn xsd_glue_failwith( =20 caml_raise_with_arg(*caml_named_value("xsg.error_v1"), msg); } +#pragma GCC diagnostic pop #define xsd_glue_failwith(xch) xsd_glue_failwith(xch, __func__, __LINE__) =20 CAMLprim value stub_xsd_glue_xc_interface_open(value unit) --=20 2.46.1 From nobody Thu Nov 21 20:22:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1729182073; cv=none; d=zohomail.com; s=zohoarc; b=kP7c5y+v1hEiuLVDFd3G2et1u0Zn6ZQ0f4VqVvDRQcQ6sI+uLHJOQDazorqtCdLfyJ5E8D/KInKNzq3+IbqrcIyBTuQ9c4D956pL31Tk99RUVprDgWse4bNFuFzYApb8jW5EJZkeZtAivRDB7KWwlLTD/C6v+Ks96ZIESPkTEzI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1729182073; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=+NoEGn1hLziPO1/kdmCT0M4Dt8mYyVB2krAxxwVj8SM=; b=DBKmBR0iNybHuR8/Rgukpg8eAnQD0k8Y+wbTxa0IFLUl/7/UfQOpG9N74vCWadjwO7LdhP0eHROFek3xjaeKMoJ0SRId5RaAyEO+eFGFZfArf8m7R9a+n7H53Q/oVs5LsXwr4eiHoFd8fX3P3IkqmkRlFeLXdWjhqGYktgMNCzE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1729182073178922.6976211260729; Thu, 17 Oct 2024 09:21:13 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.820764.1234383 (Exim 4.92) (envelope-from ) id 1t1TF6-0005j8-5K; Thu, 17 Oct 2024 16:20:52 +0000 Received: by outflank-mailman (output) from mailman id 820764.1234383; Thu, 17 Oct 2024 16:20:52 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t1TF6-0005iz-2V; Thu, 17 Oct 2024 16:20:52 +0000 Received: by outflank-mailman (input) for mailman id 820764; Thu, 17 Oct 2024 16:20:51 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t1TF4-0004vC-VW for xen-devel@lists.xenproject.org; Thu, 17 Oct 2024 16:20:50 +0000 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [2a00:1450:4864:20::52a]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id c60e79b9-8ca3-11ef-a0be-8be0dac302b0; Thu, 17 Oct 2024 18:20:50 +0200 (CEST) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5c94b0b466cso1325224a12.0 for ; Thu, 17 Oct 2024 09:20:50 -0700 (PDT) Received: from localhost.localdomain ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c98d77995esm2922739a12.65.2024.10.17.09.20.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2024 09:20:49 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: c60e79b9-8ca3-11ef-a0be-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1729182049; x=1729786849; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+NoEGn1hLziPO1/kdmCT0M4Dt8mYyVB2krAxxwVj8SM=; b=EwkQ7dF0Ra18CstDcH3SOD439eNk2KSF3nAmejQfmPfZT6mKavd6rTw1uutKCQhgvz sfFq9iUm65QoqBOtnawsfIQlsJmE5dH+C2nc7tovw0pVEBXS88qNNFRa1isKjMn+7KnG MKkXfRiB29Zcef1mjigHkrph0YhCfpBc0q8D0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729182049; x=1729786849; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+NoEGn1hLziPO1/kdmCT0M4Dt8mYyVB2krAxxwVj8SM=; b=AQEBuPzR0hFxCJJrCRLx3jFwZFZ8rlgqqzFNhUQnSAUvkSw3kR0VDQQqnR4g1Y421Y avlgXlktLkqn/MSPyq0zh3pavDOvF0c6UFaG3Kk0Hfa2iXeHNy7E0B11TvcLYodV1+wd eBlo8qdGvdJk4XJRmCHRPReZIcI3etcfySlw7FPD/WdNV1q9UwZP2lpu6On+wyH2dAPc 3UeI5k5Sj3UBbK+r+Wc/WlKD3v9meXvu6Jut3uYbbZQ1qy//Dh4lyfBH02fQtvMhg9y2 dz9/3rCGSz7P6MouGeU8ZZplrkkz7fix+1qkxCYVDfD6toBN8He8YAMuiruM457HPSOi 60HA== X-Gm-Message-State: AOJu0YxHMp1RfEO6FjeNGHTxvsexoBgy24WCp+9Do+fX5NGyadC6qLxe pKXecAVDsOdR36fEUQWFOnDO7Zc6D9uuQvQLVf541MtREigtkOf4HqMq/jKKI1yk7FbmP9WBeo7 wR64= X-Google-Smtp-Source: AGHT+IFGc7GgRD5h3sh2qNHDcYbgjl/dkczgYrtKSi/fyrZqFFzkBmjqow0LUsh8aWmasQh1ziOdFg== X-Received: by 2002:a05:6402:210a:b0:5c9:4d96:891 with SMTP id 4fb4d7f45d1cf-5c9950e0fd7mr5738796a12.18.1729182049619; Thu, 17 Oct 2024 09:20:49 -0700 (PDT) From: Javi Merino To: xen-devel@lists.xenproject.org Cc: Andrew Cooper , Doug Goldstein , Anthony PERARD , Juergen Gross , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Jan Beulich , Stefano Stabellini , Julien Grall , Oleksii Kurochko , Javi Merino Subject: [XEN PATCH v1 3/3] CI: Refresh and upgrade the Fedora container Date: Thu, 17 Oct 2024 17:20:21 +0100 Message-ID: <178560672106e37648304f5e597cc0b16c8db6db.1729170005.git.javi.merino@cloud.com> X-Mailer: git-send-email 2.46.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1729182075002116600 Content-Type: text/plain; charset="utf-8" From: Andrew Cooper Fedora 29 is long out of date. Move forward 5 years to Fedora 40. Include all the usual improvements. Rework the container to be non-root, u= se heredocs for legibility, and switch to the new naming scheme. Signed-off-by: Andrew Cooper Signed-off-by: Javi Merino Acked-by: Stefano Stabellini Reviewed-by: Anthony PERARD --- automation/build/fedora/29.dockerfile | 46 ------------ automation/build/fedora/40-x86_64.dockerfile | 77 ++++++++++++++++++++ automation/gitlab-ci/build.yaml | 8 +- automation/scripts/containerize | 2 +- 4 files changed, 82 insertions(+), 51 deletions(-) delete mode 100644 automation/build/fedora/29.dockerfile create mode 100644 automation/build/fedora/40-x86_64.dockerfile diff --git a/automation/build/fedora/29.dockerfile b/automation/build/fedor= a/29.dockerfile deleted file mode 100644 index d5f017ac723d..000000000000 --- a/automation/build/fedora/29.dockerfile +++ /dev/null @@ -1,46 +0,0 @@ -# syntax=3Ddocker/dockerfile:1 -FROM --platform=3Dlinux/amd64 fedora:29 -LABEL maintainer.name=3D"The Xen Project" \ - maintainer.email=3D"xen-devel@lists.xenproject.org" - -# install Xen depends -RUN dnf -y install \ - clang \ - gcc \ - gcc-c++ \ - ncurses-devel \ - zlib-devel \ - python-devel \ - python3-devel \ - libuuid-devel \ - pkgconfig \ - flex \ - bison \ - libaio-devel \ - glib2-devel \ - yajl-devel \ - pixman-devel \ - glibc-devel \ - make \ - binutils \ - git \ - wget \ - acpica-tools \ - python-markdown \ - patch \ - checkpolicy \ - dev86 \ - xz-devel \ - bzip2 \ - nasm \ - ocaml \ - ocaml-findlib \ - golang \ - # QEMU - ninja-build \ - && dnf clean all && \ - rm -rf /var/cache/dnf - -RUN useradd --create-home user -USER user -WORKDIR /build diff --git a/automation/build/fedora/40-x86_64.dockerfile b/automation/buil= d/fedora/40-x86_64.dockerfile new file mode 100644 index 000000000000..7d4d4cc2ac0a --- /dev/null +++ b/automation/build/fedora/40-x86_64.dockerfile @@ -0,0 +1,77 @@ +# syntax=3Ddocker/dockerfile:1 +FROM --platform=3Dlinux/amd64 fedora:40 +LABEL maintainer.name=3D"The Xen Project" +LABEL maintainer.email=3D"xen-devel@lists.xenproject.org" + +RUN <