On Wed, May 22, 2019 at 07:15:21PM +0200, Willy Tarreau wrote:
> On Wed, May 22, 2019 at 03:24:25PM +0500, ???? ??????? wrote:
> > Hello,
> >
> > someone is reviewing this https://github.com/haproxy/haproxy/runs/133866993
> > ?
>
> So apparently we don't have _POSIX_C_SOURCE >= 199309L there, which
> contradicts the promise in my linux man pages :-/ The docs on opengroup
> do not mention this define but indicate that the extension was derived
> from another spec. I'm going to remove the version test, as I think that
> the POSIX_TIMERS will not be set anyway in this case. We'll see if it
> breaks anywhere else.
I could build haproxy on a FreeBSD 11.1 machine. I had other issues to
fix, but I didn't get the error on clock_gettime(). I'm not sure how
it can happen since the defines would need to be incompatible between
two files. I'm not even certain it's running on the last source, I can't
find how to navigate between the builds on their interface.
For now I've addressed the issues which will lead to a failure with
timerfd_{create,settime,delete}() that I detected here in my VM. We'll
see if Cirrus =' status changes. Once it works we could try again with
USE_RT on FreeBSD, but well, one thing at a time :-)
Cheers,
Willy