Ensure that emacs uses GNU find. See components/emacs/README. --- emacs-29.1/lisp/loaddefs.el.orig 2023-07-23 10:06:41.000000000 +0200 +++ emacs-29.1/lisp/loaddefs.el 2023-08-02 19:00:09.757843905 +0200 @@ -14692,7 +14692,7 @@ (defvar grep-program (purecopy "grep") "\ The default grep program for `grep-command' and `grep-find-command'. This variable's value takes effect when `grep-compute-defaults' is called.") -(defvar find-program (purecopy "find") "\ +(defvar find-program (purecopy "/usr/gnu/bin/find") "\ The default find program. This is used by commands like `grep-find-command', `find-dired' and others.") --- emacs-29.1/lisp/ldefs-boot.el.orig 2023-07-23 10:17:55.000000000 +0200 +++ emacs-29.1/lisp/ldefs-boot.el 2023-08-02 19:12:41.371323952 +0200 @@ -14692,7 +14692,7 @@ (defvar grep-program (purecopy "grep") "\ The default grep program for `grep-command' and `grep-find-command'. This variable's value takes effect when `grep-compute-defaults' is called.") -(defvar find-program (purecopy "find") "\ +(defvar find-program (purecopy "/usr/gnu/bin/find") "\ The default find program. This is used by commands like `grep-find-command', `find-dired' and others.") --- emacs-29.1/lisp/progmodes/grep.el.orig 2023-07-08 11:38:40.000000000 +0200 +++ emacs-29.1/lisp/progmodes/grep.el 2023-08-02 19:22:04.514472455 +0200 @@ -506,7 +506,7 @@ This variable's value takes effect when `grep-compute-defaults' is called.") ;;;###autoload -(defvar find-program (purecopy "find") +(defvar find-program (purecopy "/usr/gnu/bin/find") "The default find program. This is used by commands like `grep-find-command', `find-dired' and others.")