[MacPorts] #71508: harfbuzz @10.1.0_0+universal: Could not get define '_MSC_FULL_VER'

MacPorts noreply at macports.org
Sun Dec 22 01:19:02 UTC 2024


#71508: harfbuzz @10.1.0_0+universal: Could not get define '_MSC_FULL_VER'
------------------------------+-------------------------------
  Reporter:  thetrial         |      Owner:  mascguy
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.10.5
Resolution:                   |   Keywords:  legacy-os, sierra
      Port:  harfbuzz, meson  |
------------------------------+-------------------------------

Comment (by psiborg112):

 Have tried two approaches so far. Commenting out the offending use of
 cpp.get_define in both meson.build and src/meson.build will allow the
 project to configure, but then building fails early on in the process.
 Functions in the included <sys/mman.h> header don't get found in hb-
 blob.cc even though the logs show the clang command run by ninja has
 exactly the same includes (and other options) as it does if I build with
 just a single architecture.

 Adding "PortGroup muniversal 1.1" seems more promising, but fails half way
 through building the second architecture. (In this case x86_64 on an arm64
 machine.) I don't think it's an muniversal issue though: I get the same
 problem when just trying to cross-compile a single architecture x86_64
 build. It seems that 'g-ir-scanner' is using the machine architecture
 instead of the target architecture when invoking 'ld'. (Have attached the
 log of this cross compile issue.)

 In case I don't manage to crack it, hopefully this information is of use
 to someone.

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


More information about the macports-tickets mailing list