Actually, I realize now that I also am patching a CMake file with the
distutils -> setuptools transition. That's probably all that's needed
(though I patched everywhere I saw distutils for good measure and it
built). I'll resubmit and patch only just the CMake file.
On 10/2/23 20:38, Aaron Rai
I realize these are autotools files, but they are somehow getting pulled
into the CMake build process. The spec file for the Fedora build is
still using CMake, the build was failing because of an attempt to use
distutils rather than setuptools, and the only places where distutils
was mentioned
Aaron,
Your patch fails to apply against the head of SVN for me, with this error:
@ patch -p1 < ../aaron-rainbolt.patch
patching file bindings/swig/oldmake/Makefile.am
Hunk #1 FAILED at 76.
1 out of 1 hunk FAILED -- saving rejects to file
bindings/swig/oldmake/Makefile.am.rej
patching file bindi
Good morning/evening, and thanks for your time.
As distutils has been deprecated and finally removed in Python 3.12,
SWORD is unable to build in Fedora without the following patch. The patch:
* Replaces all references to distutils with their setuptools equivalents.
* Modifies the build system