Author: brane
Date: Sat Jun 21 12:20:39 2025
New Revision: 1926622

URL: http://svn.apache.org/viewvc?rev=1926622&view=rev
Log:
Use a newer version of SCons in the linux-old-scons workflow.
We need it to support -isystem in env.ParseConfig() for GSSAPI.

* .github/workflows/linux-old-scons.yml: Use SCons 2.3.5 instead of 2.3.0.

Modified:
    serf/trunk/.github/workflows/linux-old-scons.yml

Modified: serf/trunk/.github/workflows/linux-old-scons.yml
URL: 
http://svn.apache.org/viewvc/serf/trunk/.github/workflows/linux-old-scons.yml?rev=1926622&r1=1926621&r2=1926622&view=diff
==============================================================================
--- serf/trunk/.github/workflows/linux-old-scons.yml (original)
+++ serf/trunk/.github/workflows/linux-old-scons.yml Sat Jun 21 12:20:39 2025
@@ -1,4 +1,4 @@
-name: Linux (SCons 2.3.0)
+name: Linux (SCons 2.3.5)
 
 on:
   push:
@@ -22,10 +22,15 @@ jobs:
       PYENV_ROOT: "${{ github.workspace }}/__pyenv/pyenv-2.6.3"
       XPYENV_BIN: "${{ github.workspace }}/__pyenv/pyenv-2.6.3/bin"
 
-      XSCONS_VER: "2.3.0"
-      XSCONS_URI: "https://sourceforge.net/projects/scons/files/scons/2.3.0";
-      XSCONS_BIN: "${{ github.workspace }}/__scons/scons-2.3.0/build/scripts"
-      PYTHONPATH: "${{ github.workspace }}/__scons/scons-2.3.0/build/lib"
+      # Our SConstruct requires scons-2.3.0, but 'krb5-config --cflags gssapi'
+      # on recent Ubuntu LTS returns '-isystem /usr/include/mit-krb5', and
+      # SCons only supports the -isystem flag since version 2.3.5. Yikes,
+      # that's more than two years newer, jumping from March 2013 all the
+      # way to June 2015. Oh the humanity!
+      XSCONS_VER: "2.3.5"
+      XSCONS_URI: "https://sourceforge.net/projects/scons/files/scons/2.3.5";
+      XSCONS_BIN: "${{ github.workspace }}/__scons/scons-2.3.5/build/scripts"
+      PYTHONPATH: "${{ github.workspace }}/__scons/scons-2.3.5/build/lib"
 
     steps:
       - name: Install prerequisites


Reply via email to