I tried a fresh repo, and it still fails.
Can someone please try out
# assuming build deps are installed
git clone https://github.com/darktable-org/darktable.git
cd darktable
git checkout release-3.4.1.1
git submodule init
git submodule update
./build.sh
and report back?