You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
So I understand this may not exactly be your top priority? But since I've noticed this project has some regained some life in recent months, I though I might as well ask...
I've been trying to see if I can hack fakechroot to work of Darwin, and I think it is theoretically feasible (adapting the script and loader from mackyle/fakeroot). But I'm running into what looks like three or four libc incompatibilities that I'm not really sure what to do about. I'm not sure if these are big deal-breakers or not... If anyone felt like lending any guidance, that would be fantastic; otherwise, I do understand.
__opendir2.c
A. On Darwin, dd_foo is always __dd_foo. I swear I've seen a macro for handling this somewhere; but unfortunately, I can't find it, and I'm not confident enough in my own skills to write one myself without breaking stuff.
B. After manually accounting for above, it chokes on dirp->__dd_lock = NULL: something about NULL being of an incompatible type to assign to a pthread mutex? (No idea... sorry.)
ftw.c
Darwin does not seem to know about the __nftw_func_t type nor the macros AT_SYMLINK_NOFOLLOW, FTW_ACTIONRETVAL, FTW_SKIP_SUBTREE, FTW_SKIP_SIBLINGS, and FTW_STOP.
statfs64.c <sys/statfs.h> doesn't exist on Darwin.
Thanks! G.
The text was updated successfully, but these errors were encountered:
The current version of master branch could be considered stable. Already I'm testing if i works on any glibc based systems. The next release should be ready for 1-2 weeks (including Debian package). I think it is good base for further porting to other OS-es.
Hi there!
So I understand this may not exactly be your top priority? But since I've noticed this project has some regained some life in recent months, I though I might as well ask...
I've been trying to see if I can hack fakechroot to work of Darwin, and I think it is theoretically feasible (adapting the script and loader from mackyle/fakeroot). But I'm running into what looks like three or four libc incompatibilities that I'm not really sure what to do about. I'm not sure if these are big deal-breakers or not... If anyone felt like lending any guidance, that would be fantastic; otherwise, I do understand.
A. On Darwin,
dd_foo
is always__dd_foo
. I swear I've seen a macro for handling this somewhere; but unfortunately, I can't find it, and I'm not confident enough in my own skills to write one myself without breaking stuff.B. After manually accounting for above, it chokes on
dirp->__dd_lock = NULL
: something aboutNULL
being of an incompatible type to assign to a pthread mutex? (No idea... sorry.)Darwin does not seem to know about the
__nftw_func_t
type nor the macrosAT_SYMLINK_NOFOLLOW
,FTW_ACTIONRETVAL
,FTW_SKIP_SUBTREE
,FTW_SKIP_SIBLINGS
, andFTW_STOP
.<sys/statfs.h>
doesn't exist on Darwin.Thanks! G.
The text was updated successfully, but these errors were encountered: