* Unable to run the stuart tools on (Intel) macOS
@ 2022-12-28 23:58 Rebecca Cran
2022-12-29 17:23 ` Michael D Kinney
0 siblings, 1 reply; 2+ messages in thread
From: Rebecca Cran @ 2022-12-28 23:58 UTC (permalink / raw)
To: devel, Sean Brogan, Michael Kubacki, Michael D Kinney, Liming Gao
[-- Attachment #1: Type: text/plain, Size: 2550 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 2708 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unable to run the stuart tools on (Intel) macOS
2022-12-28 23:58 Unable to run the stuart tools on (Intel) macOS Rebecca Cran
@ 2022-12-29 17:23 ` Michael D Kinney
0 siblings, 0 replies; 2+ messages in thread
From: Michael D Kinney @ 2022-12-29 17:23 UTC (permalink / raw)
To: Rebecca Cran, devel@edk2.groups.io, Sean Brogan, Michael Kubacki,
Gao, Liming, Andrew Fish (afish@apple.com)
Cc: Kinney, Michael D
+Andrew Fish
From: Rebecca Cran <rebecca@bsdio.com>
Sent: Wednesday, December 28, 2022 3:58 PM
To: devel@edk2.groups.io; Sean Brogan <sean.brogan@microsoft.com>; Michael Kubacki <mikuback@linux.microsoft.com>; Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>
Subject: Unable to run the stuart tools on (Intel) macOS
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-29 17:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-28 23:58 Unable to run the stuart tools on (Intel) macOS Rebecca Cran
2022-12-29 17:23 ` Michael D Kinney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox