Opened 10 months ago

Last modified 10 months ago

#69064 new defect

slocate not working under mac: failed to read file names from file system at or below '/'

Reported by: AntonioSun Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: slocate

Description

$ sudo updatedb 
gfind: '/Library/Caches/com.apple.amsengagementd.classicdatavault': Operation not permitted
gfind: '/Library/Caches/com.apple.aneuserd': Operation not permitted
gfind: '/Library/Caches/com.apple.aned': Operation not permitted
gfind: '/System/Library/Templates/Data/private/var/db/oah': Operation not permitted
gfind: failed to read file names from file system at or below '/': No such file or directory

$ slocate slocate
slocate: fatal error: Could not find user database '/opt/local/var/db/slocate/slocate.db':  No such file or directory

$ port info slocate
slocate @3.1_2 (sysutils)

$ port installed requested | grep locate
  slocate @3.1_2 (active)


$ uname -srm
Darwin 23.1.0 arm64

$ sw_vers
ProductName:		macOS
ProductVersion:		14.1.2
BuildVersion:		23B92

slocate cannot be used as the updatedb always failed to create database '/opt/local/var/db/slocate/slocate.db'.

Change History (4)

comment:1 Changed 10 months ago by AntonioSun

Or is there any alternatives for slocate pls?

comment:2 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

This port has no MacPorts maintainer so there is no expert on this software here. You may have to ask the developers of this software for assistance with the problems you encountered. However, the project's web site no longer exists, and the software was last updated there in 2006, so the developers may no longer be available either, unless the project has moved somewhere else. You may want to find an alternative to slocate. I am not familiar with the software so this suggestion may not fully meet your needs, but the locate command that's preinstalled on macOS might be one possibility.

comment:3 Changed 10 months ago by AntonioSun

Ah, yes, as long as there's a working alternative. thx.

Please close.

comment:4 Changed 10 months ago by AntonioSun

Now that we know that the package is not longer working, maybe it is time to remove the package from the port instead?

Note: See TracTickets for help on using tickets.