[MacPorts] #73455: findutils: cannot use locate; updatedb apparently fails to do anything useful!
MacPorts
noreply at macports.org
Mon May 4 21:46:33 UTC 2026
#73455: findutils: cannot use locate; updatedb apparently fails to do anything
useful!
---------------------------+----------------------
Reporter: seamusdemora | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.11.6
Resolution: | Keywords: sequoia
Port: findutils |
---------------------------+----------------------
Comment (by seamusdemora):
Replying to [comment:21 ryandesign]:
Replying to [comment:20 tomio-arisaka]:
> > {{{gupdatedb}}} is a shell script. So we can see how it works.
>
> > So I changed the command in order to avoid the errors:
> >
> > {{{
> > $ sudo gfind /System \( -path "/System/Volumes" -prune \) -o -type f
-print0 | /opt/local/libexec/gfrcode -0 > ${HOME}/locatedb02
> > Password:
> > $
> > }}}
>
> Are you suggesting that `gupdatedb` should be changed in this way? If
so, please propose it to the developers of findutils so that they can
evaluate whether it is a suitable fix for inclusion in their software. If
they say it is, then we can add a patch the port until they release a new
version containing that fix.
>
> > By the way,
> > macOS file system supports **extended attributes**, **file flags**,
and the **Access Control Lists** (ACL). {{{/usr/bin/find}}} can look for
them, and {{{/bin/ls}}} can display them, if present.
> >
> > For example, on ARM64 macOS Sonoma, **extended attributes** and **file
flags** are used for **System Integrity Protection** (SIP):
>
> Or are you suggesting that `gupdatedb` should be changed in a different
way that uses extended attributes and file flags to locate the paths that
should be excluded?
If anyone is interested in reaching the developers, they're available on
GNU's 'findutils' mail list. ICYI, here's a URL for a recent discussion on
that list that may be related to this issue:
'https://savannah.gnu.org/bugs/?68223'
--
Ticket URL: <https://trac.macports.org/ticket/73455#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list