-
-
Notifications
You must be signed in to change notification settings - Fork 934
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
AIX/ppc64 support #353
Comments
+1, AIX/PPC64 support would be much appreciated :) |
It should compile on AIX now, although any functionality isn't supported. I'm not sure if AIX provides any facilities for this? If not, it can use the polling fallback when that gets added. |
Thank you! AIX has such functionality - see https://github.com/power-devops/ahafs |
Ah right. That could also be added here, but it's not something I can do as I don't have access to an AIX system. So someone else will have to pick that up and create a patch. |
@aklyachkin Any plan to integrate ahafs with fsnotify? Since some package may be pending on this feature on AIX. |
@leoncamel In my lab I integrated them, but till now I didn't get it working stable. Sometimes it works, sometimes it doesn't. I didn't find the reason for it. |
The polling watcher should work on AIX regardless; I hope it'll get added relatively soon (still in 2022, maybe early 2023, although I promise nothing). I'm a little bit hesitant to add AIX-specific support without the ability to test it somehow. It doesn't even need to be in the CI, just some way to run an AIX machine. I looked at this a few months ago, but I couldn't really find anything for it. Is there any way to get some sort of AIX machine (VM or the like)? I'll be the one who will have to maintain this for the long term, and without the ability to run or test the code changing things, adding features, or debugging problems will be pretty much impossible. |
@aklyachkin Cool. I have an AIX-7.2 machine. And can you share your working repository? We are also interested in this problem, and we can work together to make it work. |
@arp242 Surprisingly, I found @aklyachkin 's youtube channel. He can run an AIX-7.2 system on qemu. Maybe he can share some thoughts about building a CI environment on qemu? |
The problem is that you need a license from IBM to get the install media. As far as I know there isn't any option to get a free "developer license" or the like, and I'm not going to pay money for it. |
I spoke to IBM several times about free access to AIX for open source projects but unfortunately the policy will not change in the nearest future. They are discussing it. Using QEMU is not an option - it is so slow, that you'd wait several years before golang compiles something. I am still thinking and discussing what can be done to make it possible. |
I posted my semi-working code in the gist - https://gist.github.com/aklyachkin/fad889d0b3f2d9fbe64eb59c8516418e |
I pushed that code to the This way the tests from fsnotify_test.go will be run with As I mentioned, I'm a bit hesitant to put this in the main branch for now as there isn't any way most people will be able to maintain that on account of not having access to an AIX system, but this seems like an okay compromise for now. You can create PRs based on that branch to update it. If we get it to a state where at least most of the tests pass and if you (or anyone else) is interested in maintaining it long-term we can maybe put it in |
Can you update the aix tree to include the 6 commits from main? Also, do you need assistance or tests for AIX? |
Created the pull request with working code, You can checkout from that PR |
I just removed the aix branch. I've tried to ping/contact the AIX people a few times over the last few years, and they never even bothered acknowledge me. I'm not going to spend my spare time supporting these cunts if all they give me is this sort of "begone peasant" contempt. If a decent testing infra becomes available that's viable for the long-term, then maybe we can consider changing that. |
Which operating system (GOOS) and version are you using?
AIX 7.2
Please describe the issue that occurred.
Compiling different packages on AIX breaks because there are no fsnotify primitives for AIX.
Are you able to reproduce the issue? Please provide steps to reproduce and a code sample if possible.
The easiest way to solve the problem is just to add the stub for AIX:
The text was updated successfully, but these errors were encountered: