Yes, I must do something, but the error message gives no indication of how to do what needs to be done. We should hire these people to do the error message for PETSc.
$ make sphinx-docs-all LOC=$PETSC_DIR /usr/local/opt/python@3.9/bin/python3.9 ./config/gmakegen.py --petsc-arch=arch-release /usr/local/opt/python@3.9/bin/python3.9 /Users/barrysmith/Src/petsc/config/gmakegentest.py --petsc-dir=/Users/barrysmith/Src/petsc --petsc-arch=arch-release --testdir=./arch-release/tests Running Sphinx v2.4.4 Found DOT install: /usr/local/bin/dot loading pickled environment... failed failed: Can't get attribute 'BibfileCache' on <module 'sphinxcontrib.bibtex.cache' from '/Users/barrysmith/Src/petsc/arch-release/sphinx_docs_env/lib/python3.9/site-packages/sphinxcontrib/bibtex/cache.py'> Extension error: You must configure the bibtex_bibfiles setting gmake[2]: *** [Makefile:28: latexpdf] Error 1 gmake[1]: *** [makefile:428: sphinx-docs-manual] Error 2 make: *** [GNUmakefile:17: sphinx-docs-all] Error 2