From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 01B14D8027A for ; Wed, 29 May 2024 19:57:29 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=sFX+1r8udBY2d36WGVRZCSbdUfvJVI+nYvnMRdbvgJM=; c=relaxed/simple; d=groups.io; h=DKIM-Filter:Message-ID:Date:MIME-Version:User-Agent:Subject:To:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1717012649; v=1; b=K74DAEir2MqpZkKVdAeGB99zkdq3FEwlbwgTzgkkEn7TLSoplkDt3Obzf8fc1bI/hTjDDFUy tcK3INsyb9M+UmEtDq40Vv/9q4imCDVHGwlDtVPa6Gf1iNCrCjikcXnOcr8RLexJt7k2WkZXHz7 +nn3oqzRwxps1fEg8he7eglAbparU+pCmVSrJcb9EqAolYPTWF/NmcNgdMTfRbqNVU+vW2qiSF9 XSiVdO5G9/9qtE5VVB5GEecM9odBF4oY5/Cf1bjkZaSGLXMVTFdzM5XX0ow0N351L/QRmKlqGIT ZFiLuLyQLUjQDX1Q0vVIv87e6OT2inA7w152tX5y/8DCg== X-Received: by 127.0.0.2 with SMTP id 5KmOYY7687511xmHGuX3MTBC; Wed, 29 May 2024 12:57:28 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.25674.1717012648049456134 for ; Wed, 29 May 2024 12:57:28 -0700 X-Received: from [10.6.0.181] (unknown [20.39.63.2]) by linux.microsoft.com (Postfix) with ESMTPSA id DF40920B915A; Wed, 29 May 2024 12:57:26 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com DF40920B915A Message-ID: Date: Wed, 29 May 2024 15:57:26 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] libspdm Breaking Builds To: "Kinney, Michael D" , Pete Batard , "devel@edk2.groups.io" , "Yao, Jiewen" References: <82e90314-b068-49ec-b819-d0f9ba9d69e6@linux.microsoft.com> <51da0825-bed8-4d7f-8e33-0ad8059776aa@linux.microsoft.com> <17D1FC93E885E03F.15878@groups.io> From: "Michael Kubacki" In-Reply-To: Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 29 May 2024 12:57:28 -0700 Resent-From: mikuback@linux.microsoft.com Reply-To: devel@edk2.groups.io,mikuback@linux.microsoft.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 827YiYetSTHSsMRbO6GOG5PPx7686176AA= Content-Language: en-CA Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=K74DAEir; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linux.microsoft.com (policy=none) Since we already reached agreement in libspdm to move its cmocka=20 submodule to the gitlab mirror in=20 https://github.com/DMTF/libspdm/issues/2707 and that was merged in=20 https://github.com/tianocore/edk2/pull/5697. I'd like to suggest we go with option 2 as well. This is impacting our=20 ability to use the DeviceSecurity modules. We've currently disabled=20 those modules entirely in our local copy of SecurityPkg and disabled the=20 libspdm submodule until a more stable solution is in place. Here's a PR for option 2. https://github.com/tianocore/edk2/pull/5697 Thanks, Michael On 5/29/2024 3:40 PM, Kinney, Michael D wrote: > Hi Pete, >=20 > I just tested this config command and it works when cryptomilk is down. >=20 > git config --global url."https://github.com/tianocore/edk2-cmocka.gi= t".insteadOf "https://git.cryptomilk.org/projects/cmocka.git" >=20 > I updated edk2-cmocka mirror last week. >=20 > I tested this with >=20 > git clone https://github.com/tianocore/edk2 --recursive >=20 > Best regards, >=20 > Mike >=20 >> -----Original Message----- >> From: Kinney, Michael D >> Sent: Wednesday, May 29, 2024 11:33 AM >> To: Pete Batard ; devel@edk2.groups.io; Yao, Jiewen >> ; mikuback@linux.microsoft.com >> Cc: Kinney, Michael D >> Subject: RE: [edk2-devel] libspdm Breaking Builds >> >> Hi Pete, >> >> There is another option for developers and CI agents. >> >> Git supports a URL insteadof option to redirect git requests. >> >> https://git-scm.com/docs/git-config#Documentation/git-config.txt- >> urlltbasegtinsteadOf >> >> We can use this to redirect a request from cryptomilk cmocka to the >> TianoCore mirror of cryptomilk cmocka. >> >> For developers, this can be a global config setting so it works >> for all edk2 trees on their system. >> >> For a CI agent, this could be ab early step in all CI jobs to perform >> a git config action. Perhaps a feature Stuart could adopt to support >> URL redirects. >> >> Mike >> >> >>> -----Original Message----- >>> From: Pete Batard >>> Sent: Wednesday, May 29, 2024 11:18 AM >>> To: devel@edk2.groups.io; Yao, Jiewen ; Kinney, >> Michael >>> D ; mikuback@linux.microsoft.com >>> Subject: Re: [edk2-devel] libspdm Breaking Builds >>> >>> Hello all, >>> >>> On 2024.05.24 03:13, Yao, Jiewen via groups.io wrote: >>>> Please let us know if the preference for libspdm submodule. (Below >> options) >>>> 1) Keep current libspdm official 3.3.0 release, and update to next >> release >>> at the beginning of July. >>>> 2) Update libspdm immediately with the new cmocka submodule, which is = NOT >>> an official release. >>> >>> Considering that I (and I expect anybody who tries to use EDK2 as a >>> submodule in their UEFI build projects with GitHub Actions), I have to >>> vote for option 2. >>> >>> An example of the current issue can be shown on a project that simply >>> attempts to build the UEFI Shell from the latest stable EDK2 release, >>> using EDK2 as a submodule, can be shown at >>> https://github.com/pbatard/UEFI- >> Shell/actions/runs/9290685065/job/25567879807 >>> or >>> https://github.com/pbatard/UEFI- >> Shell/actions/runs/9290988138/job/25568511355 >>> and as you can see, it makes building the project completely impossible >>> unless you ditch using EDK2 as a submodule (which isn't a viable option >>> IMO, because a build toolchain that cannot be used as a git submodule i= s >>> a very limiting toolchain). >>> >>> For information, there's only so much fine grained tuning GitHub Action= s >>> offers on submodules, and no matter how you try to play with the fetch >>> depth, the fact that one of the libspdm sub-dependency has essentially >>> become M.I.A. is something that should be addressed as a matter of urge= ncy. >>> >>> So I hope that a commit that updates libspdm to the new cmocka submodul= e >>> can find its way into EDK2 fairly soon, as it is currently halting a >>> projects that aims at producing trusted UEFI Shell releases. >>> >>> Regards, >>> >>> /Pete -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119364): https://edk2.groups.io/g/devel/message/119364 Mute This Topic: https://groups.io/mt/106250971/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-