[RTEMS Project] #4892: MacOS tools build failures on Ventura and M series processors
RTEMS trac
trac at rtems.org
Tue Mar 28 21:10:46 UTC 2023
#4892: MacOS tools build failures on Ventura and M series processors
-------------------------+--------------------------
Reporter: Chris Johns | Owner: Chris Johns
Type: defect | Status: assigned
Priority: normal | Milestone: 6.1
Component: tool/rsb | Version: 6
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
-------------------------+--------------------------
Comment (by Chris Johns):
Replying to [comment:4 kgardas]:
> OK, so sorry for noise here.
No problem.
> What I wrote was applicable in the past. Now, while looking into the
internal documentation for MacOS-based customer (which may become part of
rtems doc, just don't know where to put it nor had a time to submit/merge)
I see these asciidoc paragraphs:
I will update the User Manual once we have the patches attached to this
ticket.
> {{{
> ==== Install RTEMS build requirements
> Please note that this paragraph is written for macOS 13.2.1 (Ventura)
and is
> not directly applicable to Linux distributions and/or various BSDs.
>
> We are using homebrew to install basic packages required to compile
> RTEMS tools and packages. Let's start with the Homebrew installation
first.
> Open the shell window and run following command inside it.
> ----
> % /bin/bash -c "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Homebrew is optional in my view and not mandatory.
> ----
> The command will ask for root access and will then also download not
> only brew package manager, but also Apple's Xcode command line tools.
>
> When this is done, you may choose to configure brew to be available on
> your PATH by following 'Next steps' printed to the terminal by the
> installation process.
>
> When this is done, you may continue with using brew package manager to
> install required packages for us. Please use following command in
> order to do it.
> ----
> % brew install xz python3 texinfo
Python from Homebrew is an option for python but that will be a per user
choice. The end goal is building with Xcode and python.org. The `texinfo`
package may be added like `gsed` has been. I am not sure we even need
`makeinfo` any more.
> ----
> In order to use python3 installed above with just a 'python' command
> which is required by the RTEMS source builder (due to required support
> for python2 on tools side) you will also need to create a symbolic
> link python3 -> python like below:
> ----
> % cd /opt/homebrew/bin
> % ln -s python3 python
Adding a link is personal choice. I prefer we document using virtual
environments.
> ----
> }}}
--
Ticket URL: <http://devel.rtems.org/ticket/4892#comment:6>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list