From: "Rebecca Cran" <rebecca@bsdio.com>
To: devel@edk2.groups.io, Sean Brogan <sean.brogan@microsoft.com>,
Michael Kubacki <mikuback@linux.microsoft.com>,
Michael D Kinney <michael.d.kinney@intel.com>,
Liming Gao <gaoliming@byosoft.com.cn>
Subject: Unable to run the stuart tools on (Intel) macOS
Date: Wed, 28 Dec 2022 16:58:04 -0700 [thread overview]
Message-ID: <1582c0f8-c009-3f07-76da-072b078d44dd@bsdio.com> (raw)
[-- 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 --]
next reply other threads:[~2022-12-28 23:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-28 23:58 Rebecca Cran [this message]
2022-12-29 17:23 ` Unable to run the stuart tools on (Intel) macOS Michael D Kinney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1582c0f8-c009-3f07-76da-072b078d44dd@bsdio.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox