[MacPorts] #69064: slocate not working under mac: failed to read file names from file system at or below '/'

MacPorts noreply at macports.org
Sat Jan 6 21:14:03 UTC 2024


#69064: slocate not working under mac: failed to read file names from file system
at or below '/'
------------------------+---------------------
 Reporter:  AntonioSun  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  slocate
------------------------+---------------------
 {{{
 $ 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'.

-- 
Ticket URL: <https://trac.macports.org/ticket/69064>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list