Skip to content
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 build does not find openssl without pkgconf #38979

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

vbraun
Copy link
Member

@vbraun vbraun commented Nov 17, 2024

Building the python3 package fails with

Using cached file /Users/buildbot-sage/worker/sage_git/build/upstream/Python-3.12.5.tar.xz
[...]
[spkg-build] checking for pkg-config... no
[...]
[spkg-build] checking for include/openssl/ssl.h in /usr/local/ssl... no
[spkg-build] checking for include/openssl/ssl.h in /usr/lib/ssl... no
[spkg-build] checking for include/openssl/ssl.h in /usr/ssl... no
[spkg-build] checking for include/openssl/ssl.h in /usr/pkg... no
[spkg-build] checking for include/openssl/ssl.h in /usr/local... no
[spkg-build] checking for include/openssl/ssl.h in /usr... no
[spkg-build] checking whether compiling and linking against OpenSSL works... no
[spkg-build] checking for --with-openssl-rpath... 
[spkg-build] checking whether OpenSSL provides required ssl module APIs... no
[spkg-build] checking whether OpenSSL provides required hashlib module APIs... no
[spkg-build] checking for --with-ssl-default-suites... python
[...]
[spkg-build] ModuleNotFoundError: No module named '_ssl'
[spkg-build] ssl module failed to import
[spkg-build] _scproxy module imported OK
[spkg-build] Error: One or more modules failed to import.
************************************************************************
Error building package python3-3.12.5
************************************************************************

(see http://build.sagemath.org/#/builders/62/builds/3/steps/11/logs/python3)

Copy link

Documentation preview for this PR (built with commit d1bd1b5; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

Copy link
Collaborator

@kwankyu kwankyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

vbraun pushed a commit to vbraun/sage that referenced this pull request Nov 17, 2024
Building the python3 package fails with
```
Using cached file /Users/buildbot-
sage/worker/sage_git/build/upstream/Python-3.12.5.tar.xz
[...]
[spkg-build] checking for pkg-config... no
[...]
[spkg-build] checking for include/openssl/ssl.h in /usr/local/ssl... no
[spkg-build] checking for include/openssl/ssl.h in /usr/lib/ssl... no
[spkg-build] checking for include/openssl/ssl.h in /usr/ssl... no
[spkg-build] checking for include/openssl/ssl.h in /usr/pkg... no
[spkg-build] checking for include/openssl/ssl.h in /usr/local... no
[spkg-build] checking for include/openssl/ssl.h in /usr... no
[spkg-build] checking whether compiling and linking against OpenSSL
works... no
[spkg-build] checking for --with-openssl-rpath...
[spkg-build] checking whether OpenSSL provides required ssl module
APIs... no
[spkg-build] checking whether OpenSSL provides required hashlib module
APIs... no
[spkg-build] checking for --with-ssl-default-suites... python
[...]
[spkg-build] ModuleNotFoundError: No module named '_ssl'
[spkg-build] ssl module failed to import
[spkg-build] _scproxy module imported OK
[spkg-build] Error: One or more modules failed to import.
************************************************************************
Error building package python3-3.12.5
************************************************************************
```
(see
http://build.sagemath.org/#/builders/62/builds/3/steps/11/logs/python3)

URL: sagemath#38979
Reported by: Volker Braun
Reviewer(s): Kwankyu Lee
@vbraun vbraun merged commit eaf7655 into sagemath:develop Nov 23, 2024
27 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants