[MacPorts] #71699: harfbuzz @10.1.0_2+universal: ninja: error: unknown target 'CFLAGS+=-arch x86_64'

MacPorts noreply at macports.org
Tue May 13 21:04:34 UTC 2025


#71699: harfbuzz @10.1.0_2+universal: ninja: error: unknown target 'CFLAGS+=-arch
x86_64'
------------------------------+-------------------------------
  Reporter:  thetrial         |      Owner:  mascguy
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.10.5
Resolution:                   |   Keywords:  legacy-os, sierra
      Port:  harfbuzz, ninja  |
------------------------------+-------------------------------

Comment (by Lord-Kamina):

 That didn't work... I had read it wrong, it checks for meson somewhere
 else in the portgroup.

 I tried that change anyway (making sure `PortGroup meson 1.0` comes before
 `PortGroup gobject_introspection 1.0`, but I also changed the
 gobject_introspection PG to check if the port was using ninja. Doing this,
 it still failed but it began building and exploded during linking instead,
 seemingly because it couldn't properly keep both architectures apart
 properly.

 Check the attached patch and log file.

-- 
Ticket URL: <https://trac.macports.org/ticket/71699#comment:21>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list