Opened 14 months ago

Last modified 13 months ago

#67983 new defect

spice-server fails due to undefined CLOCK_THREAD_CPUTIME_ID — at Version 1

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: spice-server

Description (last modified by barracuda156)

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

Change History (1)

comment:1 Changed 14 months ago by barracuda156

Description: modified (diff)
Note: See TracTickets for help on using tickets.