pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wip/freerdp (2.1.2): run time fatal on netbsd-9.1



On Sat, May 01, 2021 at 08:48:43PM +0200, Jaromír Doleček wrote:
> Le sam. 1 mai 2021 à 18:35, <is%netbsd.org@localhost> a écrit :
> > xfreerdp2 as built out of wip/freerdp within 2020Q4 build tree, netbsd/amd64 9.1, connects, asks for password, creates an X window and closes it immediately with
> > [18:25:17:240] [9163:92a72000] [ERROR][com.winpr.synch.timer] - InitializeWaitableTimer: os specific implementation is missing
> >
> > Detailed message trail below.
> 
> TL;DR freerdp timers support only Linux and macOS.
> 
> InitializeWaitableTimer() uses Linux-only timerfd_create(2) when it
> needs a timer with completion routine, and if there is not one, it
> does some custom logic for macOS. If completion routine is not needed,
> it optionally uses timer_create(3), which NetBSD does support. Both
> branches have the same message.
> 
> Just to confirm which branch it is hitting, can you send an excerpt
> from the freerdp configure, see if it found the timer_create(),
> timer_delete(), timer_settime() and timer_getting()?
timer_gettime() surely: yes see below.

-- Looking for pthread_mutex_timedlock
-- Looking for pthread_mutex_timedlock - not found
-- Looking for pthread_mutex_timedlock in pthread
-- Looking for pthread_mutex_timedlock in pthread - found
-- Looking for include file aio.h
-- Looking for include file aio.h - found
-- Looking for include file sys/eventfd.h
-- Looking for include file sys/eventfd.h - not found
-- Looking for include file sys/timerfd.h
-- Looking for include file sys/timerfd.h - not found
-- Looking for include file poll.h
-- Looking for include file poll.h - found
...
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for timer_create
-- Looking for timer_create - found
-- Looking for timer_delete
-- Looking for timer_delete - found
-- Looking for timer_settime
-- Looking for timer_settime - found
-- Looking for timer_gettime
-- Looking for timer_gettime - found
-- Checking for module 'cairo'
--   Package 'cairo', required by 'virtual:world', not found


Home | Main Index | Thread Index | Old Index