#62259 closed defect (fixed)
ninja @1.10.2_0+universal build issues on Big Sur Intel
Reported by: | kencu (Ken) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | ninja |
Description
There are two issues when building ninja universal, using the muniversal PortGroup as it does now.
- configure.py: error: option --host: invalid choice: 'aarch64-apple-darwin20.3.0'
This option is set by the muniveral PG but to value the script does not accept.
- :info:build sh: ./ninja: Bad CPU type in executable
The portfile has been written to bootstrap ninja and then rebuild ninja with itself. This is not possible if the arch is not runnable on the given os.
Change History (6)
comment:1 Changed 4 years ago by kencu (Ken)
comment:2 Changed 4 years ago by kencu (Ken)
comment:3 Changed 4 years ago by kencu (Ken)
% sudo /opt/buildX11/bin/port -v installed ninja Password: The following ports are currently installed: ninja @1.10.2_0+universal (active) platform='darwin 20' archs='arm64 x86_64' date='2021-02-10T23:09:53-0800'
comment:4 Changed 3 years ago by kencu (Ken)
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
I fixed this three different ways, but all were unacceptable.
comment:6 Changed 3 years ago by Ken <21211439+kencu@…>
Resolution: | wontfix → fixed |
---|
Note: See
TracTickets for help on using
tickets.
I am having one of those sessions where trac will not allow me to attach files to the ticket.
For now, here is a snippet around the first error:
and here is a snippet around the second error: