https://github.com/python/cpython/commit/be988e8aa6e6ac9e9a5143cf777c2caeb7f369cb
commit: be988e8aa6e6ac9e9a5143cf777c2caeb7f369cb
branch: 3.9
author: Petr Viktorin <[email protected]>
committer: ambv <[email protected]>
date: 2024-10-09T16:06:08+02:00
summary:

[3.9] gh-89452: GHA: Set --with-dbmliborder to avoid issues with homebrew's 
gdbm 1.24 (GH-125112) (#125176)

Per https://github.com/python/cpython/issues/89452GH-issuecomment-1116329316,
the issue is fixed in configure for 3.11+, and

> For older Python versions, the workaround is to build with:
>
>     ./configure --with-dbmliborder=gdbm:ndbm

We need this workaround in GitHub Actions, otherwise the tests fail.
(cherry picked from commit 850189a64e7f0b920fe48cb12a5da3e648435680)

Co-authored-by: Ɓukasz Langa <[email protected]>

files:
M .github/workflows/build.yml

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d26ebc8e6bf5ac..eb0c1194664349 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -168,7 +168,9 @@ jobs:
             --with-pydebug \
             --with-openssl="$(brew --prefix [email protected])" \
             --with-tcltk-libs="$(pkg-config --libs tk)" \
-            --with-tcltk-includes="$(pkg-config --cflags tk)"
+            --with-tcltk-includes="$(pkg-config --cflags tk)" \
+            --with-dbmliborder=gdbm:ndbm
+        # (--with-dbmliborder needed for homebrew's gdbm 1.24: see gh-89452)
     - name: Build CPython
       run: make -j4
     - name: Display build info

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to