[MacPorts] #53075: zmq @4.2.0 does not build on a PPC running OS X 10.5.8

MacPorts noreply at macports.org
Thu Dec 15 18:13:05 CET 2016

#53075: zmq @4.2.0 does not build on a PPC running OS X 10.5.8
  Reporter:  josephsacco  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  leopard, powerpc
      Port:  zmq          |

Comment (by kencu):

 The issue could be here

 this guard block
 #if defined ZMQ_HAVE_OSX && __MAC_OS_X_VERSION_MIN_REQUIRED < 101200 //
 less than macOS 10.12
  +    int rc = alt_clock_gettime (CLOCK_MONOTONIC, &tv);
       int rc = clock_gettime (CLOCK_MONOTONIC, &tv);

 might not be working correctly for Leopard, because Leopard should not be
 seeing that function call, it appears. Why don't you try forcing
 `alt_clock_gettime` to be used and see if that fixes it?

 for a quick one-off way to do that, port -v configure it, go into the
 source, and monkey with that file like so maybe:

 int rc = alt_clock_gettime (CLOCK_MONOTONIC, &tv);

 then try building. If it doesn't work, look for other guards that might
 need fiddling with.

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

More information about the macports-tickets mailing list