-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Compilation error in psutil/_psutil_linux.c:520:21 #664
Comments
Looks like this has to do with the fact that Alpine Linux is using musl libc and not glibc (metachris/RPIO#40). |
Whoop whoop:
If somebody could just put this fix in 3.1.2. |
This bumps the psutil requirement to >= 3.0.1 to match the new upper constraint in the global requirements [1]. This also removes the local capping of psutil to version 3.0.1. Removing the 3.0.1 cap is also necessary to run the agent in environments using the musl libc, such as Alpine Linux, due to an issue resolved in more recent releases [2]. [1]: https://review.openstack.org/#/c/420837/ [2]: giampaolo/psutil#664 Change-Id: If811db1aeac7cb7b37c710f1ba79568d7beb101f
Project: openstack/requirements 795a708517b41f6d64d4f86a04cbf4ce52b9c478 Update global-requirements for psutil to 3.2.2 In order to run monasca-agent in environments using the musl libc such as Alpine Linux, we need psutil>=3.2.2 due to an issue in the old release [1]. [1]: giampaolo/psutil#664 Change-Id: I76570d36648cde2838982542bc4fa2b65d12715f
In order to run monasca-agent in environments using the musl libc such as Alpine Linux, we need psutil>=3.2.2 due to an issue in the old release [1]. [1]: giampaolo/psutil#664 Change-Id: I76570d36648cde2838982542bc4fa2b65d12715f
Project: openstack/requirements 795a708517b41f6d64d4f86a04cbf4ce52b9c478 Update global-requirements for psutil to 3.2.2 In order to run monasca-agent in environments using the musl libc such as Alpine Linux, we need psutil>=3.2.2 due to an issue in the old release [1]. [1]: giampaolo/psutil#664 Change-Id: I76570d36648cde2838982542bc4fa2b65d12715f
For me the solution for alpine 3.5 and psutil 5.1.3 was to add the apk for python3-dev. Dockerfile snippet:
|
thanks to jmjpro, I minimized it a little bit for
|
Thank you @armenic . So, |
wow , thanks ahahahhaahha .... |
thanks. works also for |
related: dask/dask-kubernetes#238 |
In order to run monasca-agent in environments using the musl libc such as Alpine Linux, we need psutil>=3.2.0 due to an issue in the old release [1]. [1]: giampaolo/psutil#664 Change-Id: I76570d36648cde2838982542bc4fa2b65d12715f
This occurs both in Python 3.4.3 (output in this issue is from 3.4.3) and 2.7.9 with pip 7.1.0 on Alpine Linux 3.2 x64 in Docker 1.7.1 while compiling psutil 3.1.1 (
pip install psutil==2.2.1
works).Full log:
The text was updated successfully, but these errors were encountered: