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

MacPorts noreply at macports.org
Fri Dec 16 12:11:01 CET 2016


#53075: zmq @4.2.0 does not build on a PPC running OS X 10.5.8
--------------------------+------------------------------
  Reporter:  josephsacco  |      Owner:  merijn@…
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  leopard, powerpc
      Port:  zmq          |
--------------------------+------------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: stromnov@… (removed)
 * cc: michaelld, stromnov (added)
 * owner:   => merijn@…


Old description:

> The latest version of zmq does not build on a PPC running leopard. The
> previous version, 4.1.6_0, builds without incident.
>
> The problem is CLOCK_MONOTONIC is not defined in time.h for OSX
> 10.5.8[see snippet of build output below].
>
> -Joseph
>
> src/clock.cpp: In static member function 'static uint64_t
> zmq::clock_t::rdtsc()':
> src/clock.cpp:243:19: error: 'CLOCK_MONOTONIC' was not declared in this
> scope
>      clock_gettime(CLOCK_MONOTONIC, &ts);
>                    ^~~~~~~~~~~~~~~
> src/clock.cpp:243:39: error: 'clock_gettime' was not declared in this
> scope
>      clock_gettime(CLOCK_MONOTONIC, &ts);
>                                        ^

New description:

 The latest version of zmq does not build on a PPC running leopard. The
 previous version, 4.1.6_0, builds without incident.

 The problem is CLOCK_MONOTONIC is not defined in time.h for OSX 10.5.8[see
 snippet of build output below].

 -Joseph

 {{{
 src/clock.cpp: In static member function 'static uint64_t
 zmq::clock_t::rdtsc()':
 src/clock.cpp:243:19: error: 'CLOCK_MONOTONIC' was not declared in this
 scope
      clock_gettime(CLOCK_MONOTONIC, &ts);
                    ^~~~~~~~~~~~~~~
 src/clock.cpp:243:39: error: 'clock_gettime' was not declared in this
 scope
      clock_gettime(CLOCK_MONOTONIC, &ts);
                                        ^
 }}}

--

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


More information about the macports-tickets mailing list