Skip to content

Commit

Permalink
sagemathgh-38979: Python3 build does not find openssl without pkgconf
Browse files Browse the repository at this point in the history
    
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
  • Loading branch information
Release Manager committed Nov 23, 2024
2 parents 39ebbe4 + d1bd1b5 commit eaf7655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/pkgs/python3/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
zlib readline sqlite libpng bzip2 liblzma libffi openssl | xz
zlib readline sqlite libpng bzip2 liblzma libffi openssl | xz pkgconf

----------
All lines of this file are ignored except the first.

0 comments on commit eaf7655

Please sign in to comment.