[MacPorts] #59124: searchfs @0.3.0: fatal error: 'sys/fsgetpath.h' file not found

MacPorts noreply at macports.org
Sat Sep 28 20:30:36 UTC 2019


#59124: searchfs @0.3.0: fatal error: 'sys/fsgetpath.h' file not found
-------------------------+-----------------------
  Reporter:  ryandesign  |      Owner:  srirangav
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.0
Resolution:              |   Keywords:
      Port:  searchfs    |
-------------------------+-----------------------

Comment (by kencu):

 OK, here's some tasty bits from someone who really knows his stuff
 <https://forums.developer.apple.com/thread/103162> including this little
 snippet that looks useful for older systems:

 {{{
 #include <sys/syscall.h>
 #define fsgetpath(buf, bufsize, fsid, objid)  \
   (ssize_t)syscall(SYS_fsgetpath, buf, (size_t)bufsize, fsid,
 (uint64_t)objid)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59124#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list