-
-
Notifications
You must be signed in to change notification settings - Fork 471
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
ctypes.utils.find_library broken on musl libc #33047
Comments
comment:2
We have another version of |
comment:3
I recompiled sage with musl libc, using the bundled python and without
Explicitly:
This can be traced to
But on
The patch I included fixes Are you suggesting instead to patch |
comment:4
Set milestone to sage-9.6 after Sage 9.5 release. |
comment:5
Replying to @tornaria:
If possible, working around the issue in sage would be preferable. For example we aim to support musl in Gentoo as well and would like everyone to be able to use the system python without patching it. |
What is this line of code in |
And naturally, this file hasn't worked since we switched to python3. |
Should be fixed in #38675 |
More precisely,
ctypes.util.find_library('c')
is broken which causes a failuredoctesting src/sage/misc/gperftools.py
.The current commit adds a patch that I took from void linux, which in turn it's taken from alpine linux.
See: https://git.alpinelinux.org/aports/plain/main/python3/musl-find_library.patch.
CC: @orlitzky
Component: packages: standard
Author: Gonzalo Tornaría
Branch/Commit: u/tornaria/python3-musl-find_library @
dc1a0e8
Issue created by migration from https://trac.sagemath.org/ticket/33047
The text was updated successfully, but these errors were encountered: