[MacPorts] #58870: ispc @1.11.0: Unknown architecture i386

MacPorts noreply at macports.org
Fri Aug 23 09:05:54 UTC 2019

#58870: ispc @1.11.0: Unknown architecture i386
 Reporter:  ryandesign  |      Owner:  tenomoto
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  ispc
 builder/builds/109778/steps/install-port/logs/stdio ispc fails to build]
 on Mac OS X 10.6. The error is:

 CMake Error at examples/cmake/AddISPCExample.cmake:90 (message):
   Unknown architecture i386

 The error message is incorrect. This is not an i386 machine; it's an
 x86_64 machine. The AddISPCExample.cmake script is misusing the output of
 the `uname -m` command, erroneously believing it represents the
 architecture of userland software. On macOS, `uname -m` tells you the
 architecture of the kernel, not the architecture of userland software. On
 an x86_64 machine it is perfectly possible to run x86_64 software while
 booted to the i386 kernel, and Snow Leopard does use that configuration on
 some hardware, including the hardware we use for the buildbot.

Ticket URL: <https://trac.macports.org/ticket/58870>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list