[MacPorts] #67983: spice-server fails due to undefined CLOCK_THREAD_CPUTIME_ID

MacPorts noreply at macports.org
Fri Aug 18 11:22:01 UTC 2023


#67983: spice-server fails due to undefined CLOCK_THREAD_CPUTIME_ID
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  spice-server  |
---------------------------+--------------------
Description changed by barracuda156:

Old description:

> {{{
> display-channel.cpp: In constructor
> 'DisplayChannel::DisplayChannel(RedsState*, QXLInstance*,
> SpiceCoreInterfaceInternal*, Dispatcher*, int, int, GArray*, uint32_t)':
> display-channel.cpp:2216:39: error: 'CLOCK_THREAD_CPUTIME_ID' was not
> declared in this scope
>  2216 |     stat_init(&priv->add_stat, "add", CLOCK_THREAD_CPUTIME_ID);
>       |                                       ^~~~~~~~~~~~~~~~~~~~~~~
> }}}
>
> On buildbots also:
> https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/144698/steps
> /install-port/logs/stdio
>
> We need this PR merged: https://github.com/macports/macports-legacy-
> support/pull/58

New description:

 {{{
 display-channel.cpp: In constructor
 'DisplayChannel::DisplayChannel(RedsState*, QXLInstance*,
 SpiceCoreInterfaceInternal*, Dispatcher*, int, int, GArray*, uint32_t)':
 display-channel.cpp:2216:39: error: 'CLOCK_THREAD_CPUTIME_ID' was not
 declared in this scope
  2216 |     stat_init(&priv->add_stat, "add", CLOCK_THREAD_CPUTIME_ID);
       |                                       ^~~~~~~~~~~~~~~~~~~~~~~
 }}}

 On buildbots also:
 https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/144698/steps
 /install-port/logs/stdio

 UPD. We need some other fix, since PR that I have referred will not help
 here: https://github.com/macports/macports-legacy-support/pull/58

--

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


More information about the macports-tickets mailing list