-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
python3 spkg: Work around errors building/importing the _crypt module #29012
Comments
comment:1
More information on the failure:
|
comment:2
conda-forge has a patch for python3 that seems related, but does not fix this issue: https://github.com/conda-forge/python-feedstock/blob/3.8/recipe/patches/0012-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch |
comment:3
isn't it easy to patch cpython to avoid said we can do a cpython PR for this issue... |
comment:4
My guess is that this patch will be rejected because upstream is already phasing out |
comment:5
Update: It seems that installing the Debian package |
comment:6
This is the code in https://github.com/python/cpython/blob/9f220e4968cf73fa60440120ee46881e7974e47d/setup.py#L548 |
comment:7
Replying to @mkoeppe:
Actually, no. |
comment:8
What is the actual error from Python when building the crypt module? I've never had a problem with it before. |
comment:9
Replying to @embray:
#28745 has the Dockerfile that can be used to reproduce it, based on The errors after adding
followed by another 366MB of error messages |
comment:10
Yikes! I take it this is clang, not gcc? |
comment:11
This is mixing the sysroot in conda's gcc |
comment:12
Replying to @embray:
See https://github.com/mkoeppe/sage/runs/412042067 |
comment:13
isuruf's comment on #29053: |
comment:14
isuruf's comment on #29053: This patch might help https://github.com/conda-forge/python-feedstock/blob/master/recipe/patches/0014-Fix-cross-compilation-on-Debian-based-distros.patch |
comment:15
I don't think this patch can help -- we are not attempting a cross compile. |
comment:16
Moving tickets to milestone sage-9.2 based on a review of last modification date, branch status, and severity. |
comment:18
Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date. |
comment:20
Outdated, should close |
Reviewer: Dima Pasechnik |
Building the spkg
python3
3.7.3.p1 fails on Debian withlibc
2.28-10 when using thec-compiler
package from conda-forge, as reported in #28745.The
_crypt
extension module of Python is deprecated in 3.8 and will be removed in 3.10 according to https://www.python.org/dev/peps/pep-0594/This ticket proposes to remove the module from our build of Python or to ignore errors found during the build.
CC: @isuruf @dimpase @jdemeyer
Component: packages: standard
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29012
The text was updated successfully, but these errors were encountered: