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
Building wheel hangs on ppc64le #93
Comments
@auspicious3000, I've never built Parselmouth on ppc64le, I think, and I don't know if Praat would actually work/compile there. It would be good to know exactly where things are hanging, though. Could you run If I find time over the next holiday, I'll see if I can try building myself into ppc64le (but I will first need to figure out how to do so on my x86-64). |
@auspicious3000, alright, I have managed to build Parselmouth on ppc64le (using qemu on x86-64), which somehow went surprising easily with some Docker-magic. So, it would seem that it did work for me (installing gcc, cmake, and python3-dev on the So, I would ask you to try again, but run |
@YannickJadoul Thanks for looking into this. You are correct. It is just compiling the package. After waiting for a couple of hours, the compiling crashed at the last step. Due to the long outputs, I am sending it to your email instead. I actually have successfully installed praat-parselmouth on some pcc64le servers last year. However, the process is kind of fragile, changing a few random things such as the conda version and pip version could make completely different stories. It just worked due to pure luck. This year, the admin probably upgraded the server, which could contribute to the compiling crash. I have also tried installing version 0.4.0, 0.4.1. They all crashed near the end but with different error messages. |
@auspicious3000, alright, that's already good news, that it's not hanging. Too bad it's so slow, but OK But I'm still surprised/confused about the error message you sent me by email. The actual compilation seems to work (based on the first few lines, which are the last ones of the compilation), but something seems to be going wrong with scikit-build/setuptools/distutils. Which is slightly weird, because ... well, it worked for me. I'll look further, but perhaps getting the start of the log build log (where these packages get temporarily installed) would be useful. |
Ah, good news (I think, at least?): I managed to reproduce on my computer. For future reference, here is how:
And then inside that Docker:
I'm attaching the full log output here as file, but it seems to be the same error, @auspicious3000? |
@auspicious3000, meanwhile, if you already want to install a cp37 wheel, here is one I built, while figuring out what went wrong (zipped, because GitHub won't let me attach |
@YannickJadoul This works! I didn't expect this could be solved so soon. Thank you very much for your time and effort in digging into this! |
@auspicious3000, thanks for confirming! I just tested, and |
So, I've just uploaded (0.4.3)[https://pypi.org/project/praat-parselmouth/0.4.3/]. It still doesn't contain ppc64le wheels, but at least the source distribution now compiles! And hopefully, I can ensure pre-compiled ppc64le wheels in 0.5! Thanks again for notifying and sending the debug log! |
When installing praat-parselmouth using
pip install praat-parselmouth
inside a conda environment on a power9 ppc64le system. The installation always hangs at this stepBuilding wheels for collected packages: praat-parselmouth
Building wheel for praat-parselmouth (pyproject.toml) ...
The text was updated successfully, but these errors were encountered: