Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2023 14:49:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 273354] x11/libinput: fails to build on stable/14
Message-ID:  <bug-273354-7141-GRhWUz0Mfx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273354-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273354-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273354

--- Comment #6 from Guido Falsi <madpilot@FreeBSD.org> ---
(In reply to Tomoaki AOKI from comment #5)

The commit I referenced, which adds a timerfd implementation to FreeBSD, an=
d so
add a timerfd.h file to out includes, happened shortly before stable/14 was
branched.

The problem will happen to anyone trying to compile libinput on FreeBSD
installed from sources after that commit. SO it applies to head after that
commit (14 for a short while later renamed to 15) and also to stable/14.

This simple patch fixes the issue.

I'm not sure what you mean by dependency hell. poudriere usage has no relat=
ion
to this, this only depends on the presence of the new timerfd.h include in =
the
installed system.

If no such include is present in the installed system, the port will grab t=
he
one installed by devel/libepoll-shim which was recently fixed to work on he=
ad
after this commit. The timerfd.h installed by it does not cause params.h to=
 be
included and no NOFILE symbol is defined.

Please note that devel/libepoll-shim will not install any timerfd.h file on
systems that already have one.

So, this patch should be included in FreeBSD, and x11@ declared a one week
timeout is of with their ports, so I'll respect that.

This should also be sent upstream, if Kenneth Raplee wants to do it please =
go
ahead.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273354-7141-GRhWUz0Mfx>