From: Petr Viktorin Date: Tue, 8 Oct 2024 14:37:22 +0000 (+0200) Subject: [3.10] gh-89452: GHA: Set --with-dbmliborder to avoid issues with homebrew's gdbm... X-Git-Tag: v3.10.16~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=850189a64e7f0b920fe48cb12a5da3e648435680;p=thirdparty%2FPython%2Fcpython.git [3.10] gh-89452: GHA: Set --with-dbmliborder to avoid issues with homebrew's gdbm 1.24 (#125112) Per https://github.com/python/cpython/issues/89452#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. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d7545368d7a..eecca69316f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -193,7 +193,9 @@ jobs: ./configure \ --with-pydebug \ --prefix=/opt/python-dev \ - --with-openssl="$(brew --prefix openssl@3.0)" + --with-openssl="$(brew --prefix openssl@3.0)" \ + --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