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 17, 2024
2 parents 39ebbe4 + d1bd1b5 commit a297267
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tarball=configure-VERSION.tar.gz
sha1=87648980fa41bbd38f9bf45beb7bcdb90e12d613
sha256=cb5129b2e60af70968a6d8de8937b0f9365a2146762bf34a09b4ad7a88c56b8b
sha1=445f461a29b2daaf511aafe1302112c19abb9163
sha256=fdbfdc2fddaf30ff92c34eb57d3848a01afad5e96a18526fe84638a79b5486e7
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d9c38a7c581e6ed54fbe420122b8bba488b16074
9bcb7fced6edad0b0bef83a99a506a87ea6416bb
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 a297267

Please sign in to comment.