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

[-- Attachment #1 --]
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 à(s) 16:14):

> The branch main has been updated by markj:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=f9cf745a5084dc0a38733db8e774252e4ed2f444
>
> 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
>
>

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

[-- Attachment #2 --]
<div dir="ltr"><div>Hello,</div><div><br></div><div>Not sure if related but I see devel/libdev failing on recent main (tested on aarch64):<br><br>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<br>--- ev.lo ---<br>ev.c:510:11: fatal error: &#39;sys/statfs.h&#39; file not found<br>  510 | # include &lt;sys/statfs.h&gt;<br>      |           ^~~~~~~~~~~~~~</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;sys/inotify.h&gt;<br>/* some very old inotify.h headers don&#39;t have IN_DONT_FOLLOW */<br># ifndef IN_DONT_FOLLOW<br>#  undef EV_USE_INOTIFY<br>#  define EV_USE_INOTIFY 0<br># endif<br>#endif<br><br></div><div>Thanks,</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Mark Johnston &lt;<a href="mailto:markj@freebsd.org">markj@freebsd.org</a>&gt; escreveu (sexta, 4/07/2025 à(s) 16:14):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The branch main has been updated by markj:<br>
<br>
URL: <a href="https://cgit.FreeBSD.org/src/commit/?id=f9cf745a5084dc0a38733db8e774252e4ed2f444" rel="noreferrer" target="_blank">https://cgit.FreeBSD.org/src/commit/?id=f9cf745a5084dc0a38733db8e774252e4ed2f444</a><br>;
<br>
commit f9cf745a5084dc0a38733db8e774252e4ed2f444<br>
Author:     Mark Johnston &lt;markj@FreeBSD.org&gt;<br>
AuthorDate: 2025-07-04 15:13:43 +0000<br>
Commit:     Mark Johnston &lt;markj@FreeBSD.org&gt;<br>
CommitDate: 2025-07-04 15:13:43 +0000<br>
<br>
    RELNOTES: Document the addition of inotify<br>
---<br>
 RELNOTES | 3 +++<br>
 1 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.  Entries should be separated by a newline.<br>
<br>
 Changes to this file should not be MFCed.<br>
<br>
+f1f230439fa4:<br>
+       FreeBSD now implements the inotify(2) family of system calls.<br>
+<br>
 50e733f19b37, 171f66b0c2ca:<br>
        These commits helped improve utilization of NFSv4.1/4.2<br>
        delegations.  The changes are only used when the NFSv4<br>
<br>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font color="#888888">Nuno Teixeira</font></div><div><div><font color="#888888">
FreeBSD UNIX:  &lt;eduardo@FreeBSD.org&gt;   Web:  <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br></font></div></div></div></div>;

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