From: "Michael D Kinney" <michael.d.kinney@intel.com>
To: Rebecca Cran <rebecca@bsdio.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>,
Sean Brogan <sean.brogan@microsoft.com>,
"Michael Kubacki" <mikuback@linux.microsoft.com>,
"Gao, Liming" <gaoliming@byosoft.com.cn>,
"Andrew Fish (afish@apple.com)" <afish@apple.com>
Cc: "Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: Unable to run the stuart tools on (Intel) macOS
Date: Thu, 29 Dec 2022 17:23:41 +0000 [thread overview]
Message-ID: <CO1PR11MB4929F5B0B6C6098C9E7480F4D2F39@CO1PR11MB4929.namprd11.prod.outlook.com> (raw)
In-Reply-To: <1582c0f8-c009-3f07-76da-072b078d44dd@bsdio.com>
+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
prev parent reply other threads:[~2022-12-29 17:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=CO1PR11MB4929F5B0B6C6098C9E7480F4D2F39@CO1PR11MB4929.namprd11.prod.outlook.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