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

MacPorts noreply at macports.org
Wed Jan 1 03:07:27 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 psiborg112):

 Replying to [comment:3 ryandesign]:
 > The log says the problem is:
 >
 > {{{
 > ninja: error: unknown target 'CFLAGS+=-arch x86_64'
 > }}}
 >
 > so what you have in /usr/local is irrelevant for now.
 >
 > I think this arg is being added here:
 >
 > https://github.com/macports/macports-
 ports/blob/1eef4efee705c038c2f00888965da832a77b247b/_resources/port1.0/group/gobject_introspection-1.0.tcl#L111-L112

 Seems weird that that would be causing a problem now given it worked very
 recently, and the 'foreach tool {cc ld}' line that encapsulates it
 suggests it shouldn't be added to a ninja command. I'll keep digging when
 I get a chance. I really suspect meson is doing something strange here,
 but I could be wrong.

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


More information about the macports-tickets mailing list