-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestions for development in an OSX environment? #17
Comments
Hey, OSX actually should have acls, although not provided by a library called Also, way back, somebody reported pylibacl works on Mac OS X, so I commited 06dd591. Now, since there's no CI that tests Mac OS (and in general, because I don't have access to Mac OS), this might have bit rotted away, but would be good to resurrect. What fails if you simply try to build on Mac OS? |
Thanks for the prompt follow-up! The gcc build undnerneath can't find acl.h in a py3.7 build
We're using pants for our build |
The man-page that I quoted suggests that the acl functions are provided by libc, so I wonder - can you comment out that include, and see what the result is? |
Hi there, just dropping in with some more details, haven't been able to dig into this until this morning... and still no success. For more context, I'm on Catalina 10.5.7 using Python 3.7. The issues at hand seem primarily around the C libraries. The commit you referred above is specifically in setup.py and the Makefile never gets that far in Here's my
Additionally, the |
Well the good news is I found
|
Hmm. |
The fields are just slightly different in OSX:
I've tried doing overrides in acl.c ...
... but the tests still bomb out ...
Dropping pdb.set_trace() in the test to examine the output of
I'm not much of a C developer so I'm trying my best here to fit this in properly... I'm happy to commit the right elements to make this build if I can get this figured out. |
Same issue, @mistermocha. Were you able to resolve this? |
Going to brain dump what I've learned so far in the hopes that someone can carry the torch. As @mistermocha stated, tests fail and the You can either The Regarding level 2 support; I tried looking through I'm going to see if there's a way to at least get |
Well, I figured out how to bind You can do this by pulling this out of the
This raised an issue where Damn. |
It seems like the tests are testing level 2 features. I think that's the main issue. They're not going to run on macOS. I tried using the lib using the example here (https://pylibacl.k1024.org/module.html) doesn't appear to work:
provides the following:
Yes, there is a That's about as far as I'm going to go :) |
I'm sure this is a bit of a stretch to ask, but here goes anyway...
We're looking to implement pylibacl, but we do most of our development in an OSX environment to push out to CentOS hosts in production. Far as I can tell, there's no
libacl
available for OSX. While I'm aware of doing development in docker and such, do you have any suggestions for straight OSX development and testing?The text was updated successfully, but these errors were encountered: