[MacPorts] #73455: findutils: cannot use locate; updatedb apparently fails to do anything useful!
MacPorts
noreply at macports.org
Mon May 4 20:05:41 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 ryandesign):
Replying to [comment:19 seamusdemora]:
> Ryan,
>
> If you can remove {{{updatedb}}} and {{{locate}}}, that may be a good
solution. However,
Just to clarify, I'm just making suggestions; I personally am not
currently working on changing this port.
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?
--
Ticket URL: <https://trac.macports.org/ticket/73455#comment:21>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list