sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.46k stars 482 forks source link

Python3 build does not find openssl without pkgconf #38979

Open vbraun opened 5 days ago

vbraun commented 5 days ago

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)

github-actions[bot] commented 5 days ago

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