Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2025 13:13:02 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Mark Johnston <markj@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org,  dev-commits-src-main@freebsd.org
Subject:   Re: git: f9cf745a5084 - main - RELNOTES: Document the addition of inotify
Message-ID:  <CAFDf7UJ%2Bk5rEBYv14szUhj9k=aBKC5VBJsjK8XoxuroWGdKoww@mail.gmail.com>
In-Reply-To: <202507041513.564FDwxH011496@gitrepo.freebsd.org>
References:  <202507041513.564FDwxH011496@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000049fd0806397e00f6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

Not sure if related but I see devel/libdev failing on recent main (tested
on aarch64):

libtool: compile:  cc -DHAVE_CONFIG_H -I. -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -MT event.lo -MD -MP -MF
.deps/event.Tpo -c event.c  -fPIC -DPIC -o .libs/event.o
--- ev.lo ---
ev.c:510:11: fatal error: 'sys/statfs.h' file not found
  510 | # include <sys/statfs.h>
      |           ^~~~~~~~~~~~~~

ev.c:
(...)
#if EV_USE_INOTIFY
# include <sys/statfs.h>
# include <sys/inotify.h>
/* some very old inotify.h headers don't have IN_DONT_FOLLOW */
# ifndef IN_DONT_FOLLOW
#  undef EV_USE_INOTIFY
#  define EV_USE_INOTIFY 0
# endif
#endif

Thanks,

Mark Johnston <markj@freebsd.org> escreveu (sexta, 4/07/2025 =C3=A0(s) 16:1=
4):

> The branch main has been updated by markj:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=3Df9cf745a5084dc0a38733db8e774252=
e4ed2f444
>
> commit f9cf745a5084dc0a38733db8e774252e4ed2f444
> Author:     Mark Johnston <markj@FreeBSD.org>
> AuthorDate: 2025-07-04 15:13:43 +0000
> Commit:     Mark Johnston <markj@FreeBSD.org>
> CommitDate: 2025-07-04 15:13:43 +0000
>
>     RELNOTES: Document the addition of inotify
> ---
>  RELNOTES | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/RELNOTES b/RELNOTES
> index 4933c8392552..09696a37998b 100644
> --- a/RELNOTES
> +++ b/RELNOTES
> @@ -10,6 +10,9 @@ newline.  Entries should be separated by a newline.
>
>  Changes to this file should not be MFCed.
>
> +f1f230439fa4:
> +       FreeBSD now implements the inotify(2) family of system calls.
> +
>  50e733f19b37, 171f66b0c2ca:
>         These commits helped improve utilization of NFSv4.1/4.2
>         delegations.  The changes are only used when the NFSv4
>
>

--=20
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

--00000000000049fd0806397e00f6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>Not sure if related b=
ut I see devel/libdev failing on recent main (tested on aarch64):<br><br>li=
btool: compile: =C2=A0cc -DHAVE_CONFIG_H -I. -O2 -pipe -fstack-protector-st=
rong -fno-strict-aliasing -MT event.lo -MD -MP -MF .deps/event.Tpo -c event=
.c =C2=A0-fPIC -DPIC -o .libs/event.o<br>--- ev.lo ---<br>ev.c:510:11: fata=
l error: &#39;sys/statfs.h&#39; file not found<br>=C2=A0 510 | # include &l=
t;sys/statfs.h&gt;<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 ^~~~~~~~~~~~~~</div><div><br></div><div>ev.c:</div><div>(...)</div><=
div>#if EV_USE_INOTIFY<br># include &lt;sys/statfs.h&gt;<br># include &lt;s=
ys/inotify.h&gt;<br>/* some very old inotify.h headers don&#39;t have IN_DO=
NT_FOLLOW */<br># ifndef IN_DONT_FOLLOW<br># =C2=A0undef EV_USE_INOTIFY<br>=
# =C2=A0define EV_USE_INOTIFY 0<br># endif<br>#endif<br><br></div><div>Than=
ks,</div></div><br><div class=3D"gmail_quote gmail_quote_container"><div di=
r=3D"ltr" class=3D"gmail_attr">Mark Johnston &lt;<a href=3D"mailto:markj@fr=
eebsd.org">markj@freebsd.org</a>&gt; escreveu (sexta, 4/07/2025 =C3=A0(s) 1=
6:14):<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The branc=
h main has been updated by markj:<br>
<br>
URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3Df9cf745a5084dc0a3=
8733db8e774252e4ed2f444" rel=3D"noreferrer" target=3D"_blank">https://cgit.=
FreeBSD.org/src/commit/?id=3Df9cf745a5084dc0a38733db8e774252e4ed2f444</a><b=
r>
<br>
commit f9cf745a5084dc0a38733db8e774252e4ed2f444<br>
Author:=C2=A0 =C2=A0 =C2=A0Mark Johnston &lt;markj@FreeBSD.org&gt;<br>
AuthorDate: 2025-07-04 15:13:43 +0000<br>
Commit:=C2=A0 =C2=A0 =C2=A0Mark Johnston &lt;markj@FreeBSD.org&gt;<br>
CommitDate: 2025-07-04 15:13:43 +0000<br>
<br>
=C2=A0 =C2=A0 RELNOTES: Document the addition of inotify<br>
---<br>
=C2=A0RELNOTES | 3 +++<br>
=C2=A01 file changed, 3 insertions(+)<br>
<br>
diff --git a/RELNOTES b/RELNOTES<br>
index 4933c8392552..09696a37998b 100644<br>
--- a/RELNOTES<br>
+++ b/RELNOTES<br>
@@ -10,6 +10,9 @@ newline.=C2=A0 Entries should be separated by a newline.<=
br>
<br>
=C2=A0Changes to this file should not be MFCed.<br>
<br>
+f1f230439fa4:<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0FreeBSD now implements the inotify(2) family of=
 system calls.<br>
+<br>
=C2=A050e733f19b37, 171f66b0c2ca:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 These commits helped improve utilization of NFS=
v4.1/4.2<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 delegations.=C2=A0 The changes are only used wh=
en the NFSv4<br>
<br>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr"><div><font color=3D"#888888">Nuno Teixeira</font></div><div>=
<div><font color=3D"#888888">
FreeBSD UNIX:=C2=A0 &lt;eduardo@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr=
eeBSD.org</a><br></font></div></div></div></div>

--00000000000049fd0806397e00f6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJ%2Bk5rEBYv14szUhj9k=aBKC5VBJsjK8XoxuroWGdKoww>