Got it, thanks, Dima.
I've been trying to jump through lots of hoops to get Sage to build and for doctests to pass. Doctests are still not passing for me on OS X, in part because of old previously reported problems (#40869, #40873), but I'm seeing a new set of failures. Something is going wrong with text processing and control sequences:
src/bin/sage -t --long --warn-long 30.0 --random-seed=36948321267754839088553570681149644913 src/sage/quivers/algebra_elements.pxi
**********************************************************************
File "src/sage/quivers/algebra_elements.pxi", line 306, in sage.quivers.algebra_elements.pxi._FreeListProtector.__dealloc__
Failed example:
s.eval("P = DiGraph({1:{1:['x','y','z']}}).path_semigroup().algebra(GF(25,'t'))")
Expected:
''
Got:
'\x1b[0m\x1b[1;34mfrom\x1b[0m\x1b[8D\x1b[8C\x1b[8D\x1b[1;35'
**********************************************************************
File "src/sage/quivers/algebra_elements.pxi", line 308, in sage.quivers.algebra_elements.pxi._FreeListProtector.__dealloc__
Failed example:
s.eval("P.inject_variables()")
Expected:
'Defining e_1, x, y, z'
Got:
'\x1b[0m\x1b[1;34mfrom\x1b[0m \x1b[9D\x1b[9C\x1b[9D\x1b[1;35'
**********************************************************************
File "src/sage/quivers/algebra_elements.pxi", line 310, in sage.quivers.algebra_elements.pxi._FreeListProtector.__dealloc__
Failed example:
s.eval("x*y+y*z*x")
Expected:
'x*y + y*z*x'
Got:
'\x1b[0m\x1b[1;34mfrom\x1b[0m s\x1b[10D\x1b[10C\x1b[10D\x1b[1;35'
**********************************************************************
1 item had failures:
I'm also seeing failures like this after upgrading to OS X 26.2:
File "src/sage/misc/sagedoc.py", line 709, in sage.misc.sagedoc.format
Failed example:
cython('\n'.join(cython_code)) # needs sage.misc.cython
Expected nothing
Got:
ld: warning: building for macOS-15.0, but linking with dylib '/Users/palmieri/Sage/TESTING/sage-10.9.beta1/local/lib/libec.14.dylib' which was built for newer version 26.0
ld: warning: building for macOS-15.0, but linking with dylib '/Users/palmieri/Sage/TESTING/sage-10.9.beta1/local/lib/libgsl.27.dylib' which was built for newer version 26.0
We should be able to filter out warning messages like these, but I think we should be able to set flags to specify which version of Mac OS we're building for. Is MACOSX_DEPLOYMENT_TARGET being incorrectly set somewhere?