From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mx.groups.io with SMTP id smtpd.web10.193843.1672271887429005594 for ; Wed, 28 Dec 2022 15:58:07 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm3 header.b=R7qJid+m; spf=pass (domain: bsdio.com, ip: 66.111.4.28, mailfrom: rebecca@bsdio.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C320E5C0112; Wed, 28 Dec 2022 18:58:06 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 28 Dec 2022 18:58:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t= 1672271886; x=1672358286; bh=1xStmDyPkFEhI5DU9bIG719OOPnj97LInL0 O+C7S/nw=; b=R7qJid+m29mPZTbQcFXAunuZOXfAYgCq2GK3Yvt+/xhc9LrUjM9 iNOdD7idXUx0KrJ0FUDjutQwf0gbvVAn7fpQV1FWwBbVg1b7zQZCUsSioAgvBSRu bXepwt9LrVHmMnZi3pQ7vzxEBFd7WLyncXNBi1QvQdLMqXQ1csv+w6evWwJDb3BB l9MwybiGKdLD0WyUY1Xq8EMkD6p4+JIjNF6hh0wFKNdez0adbM7c7vjDIciJd37d KUGhbmaZN/7cf9ube/SbQH1RMRB6IyxpIfH+7RFJQhjGbmudYlmnZBDHxB3fV6cO 3/6rTlGxuZMP7mAZLL5FU9A5gMRaNnhiV7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1672271886; x= 1672358286; bh=1xStmDyPkFEhI5DU9bIG719OOPnj97LInL0O+C7S/nw=; b=e hz5TaV5UebDszRWyEEBJaCCr2pL2qYfLbUv2T8zFVYPbsNwVr3QOtReLEW5MrMiD Eh96dSREQxCkmQWNKQ0ELN29/4KnuS150vFA/kVFBYovlO489xj0G3gRK5EC41xd /KIgtL/yRcAVF5Yp1QyIkERAGWfFpYMCFrEcVg9CYliRy31BuGTeX+HkCNLtTtbQ FA5eo06jcH1tVYaSBi++D75m3izOkUQIFb65JKqoV5KRS/HZ8/T4yzfxTHHtOxuj EriMbGlPlazRso5Rlqp3qiqHwVkUbXXdoM2r4oJORXrJhy9UDGQLG9wxJKydi28f p+M/CmjDkOXjOp4ovk8Rg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieefgddujecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtkfffgggfvffhufesrgdtreertdefjeenucfhrhhomheptfgvsggvtggtrgcu vehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrthhtvghrnh epkeekhffgvedtleelteevhfevkeevteeggfffuddtieetudfhffffkeevfeekgfehnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgvsggvtg gtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 28 Dec 2022 18:58:05 -0500 (EST) Message-ID: <1582c0f8-c009-3f07-76da-072b078d44dd@bsdio.com> Date: Wed, 28 Dec 2022 16:58:04 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 To: devel@edk2.groups.io, Sean Brogan , Michael Kubacki , Michael D Kinney , Liming Gao From: "Rebecca Cran" Subject: Unable to run the stuart tools on (Intel) macOS Content-Type: multipart/alternative; boundary="------------542nzNx9ivlgKFSTrjTr3KTE" Content-Language: en-US --------------542nzNx9ivlgKFSTrjTr3KTE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I was wondering if anyone's looked into running the stuart tools on macOS? I have an Intel Mac Pro, but from what I can see it's not possible to register a non-native executable handler like you can on Linux - so directly running Mono .exe files isn't supported. When I run "stuart_update -c .pytool/CISettings.py TOOL_CHAIN_TAG=XCODE5 -v" I get 'Permission denied' errors despite having mono installed (via brew): INFO - Cmd to run is: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe locals global-packages -list INFO - Cmd to run is: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe locals global-packages -list INFO - ------------------------------------------------ INFO - Cmd to run is: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe locals global-packages -list INFO - ------------------------------------------------ INFO - --------------Cmd Output Starting--------------- INFO - ------------------------------------------------ INFO - --------------Cmd Output Starting--------------- INFO - ------------------------------------------------ INFO - --------------Cmd Output Starting--------------- INFO - ------------------------------------------------ INFO - ------------------------------------------------ INFO - /bin/sh: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe: Permission denied INFO - /bin/sh: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe: Permission denied INFO - ------------------------------------------------ INFO - ------------------------------------------------ INFO - --------------Cmd Output Finished--------------- INFO - --------------Cmd Output Finished--------------- INFO - --------- Running Time (mm:ss): 00:00 ---------- INFO - --------- Running Time (mm:ss): 00:00 ---------- INFO - ----------- Return Code: 0x0000007e ------------ INFO - ----------- Return Code: 0x0000007e ------------ INFO - ------------------------------------------------ INFO - ------------------------------------------------ INFO - /bin/sh: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe: Permission denied INFO - Nuget was unable to provide global packages cache location. INFO - Nuget was unable to provide global packages cache location. It seems we'd need to instead run it as "mono /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe". -- Rebecca Cran --------------542nzNx9ivlgKFSTrjTr3KTE Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
I was wondering if anyone's looked into running the stuart tools on macOS?
I have an Intel Mac Pro, but from what I can see it's not possible to register a non-native executable handler like you can on Linux - so directly running Mono .exe files isn't supported.
When I run "stuart_update -c .pytool/CISettings.py TOOL_CHAIN_TAG=XCODE5 -v" I get 'Permission denied' errors despite having mono installed (via brew):

INFO - Cmd to run is: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe locals global-packages -list
INFO - Cmd to run is: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe locals global-packages -list
INFO - ------------------------------------------------
INFO - Cmd to run is: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe locals global-packages -list		
INFO - ------------------------------------------------
INFO - --------------Cmd Output Starting---------------
INFO - ------------------------------------------------
INFO - --------------Cmd Output Starting---------------
INFO - ------------------------------------------------
INFO - --------------Cmd Output Starting---------------
INFO - ------------------------------------------------
INFO - ------------------------------------------------
INFO - /bin/sh: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe: Permission denied
INFO - /bin/sh: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe: Permission denied
INFO - ------------------------------------------------
INFO - ------------------------------------------------
INFO - --------------Cmd Output Finished---------------
INFO - --------------Cmd Output Finished---------------
INFO - --------- Running Time (mm:ss): 00:00 ----------
INFO - --------- Running Time (mm:ss): 00:00 ----------
INFO - ----------- Return Code: 0x0000007e ------------
INFO - ----------- Return Code: 0x0000007e ------------
INFO - ------------------------------------------------
INFO - ------------------------------------------------
INFO - /bin/sh: /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe: Permission denied
INFO - Nuget was unable to provide global packages cache location.
INFO - Nuget was unable to provide global packages cache location.

It seems we'd need to instead run it as "mono /Users/bcran/src/uefi/edk2/.venv/lib/python3.9/site-packages/edk2toolext/bin/NuGet.exe".

-- 
Rebecca Cran
--------------542nzNx9ivlgKFSTrjTr3KTE--