From 1b8cae7a4a33db2e91d0284fe4eff0249a5e37de Mon Sep 17 00:00:00 2001 From: Brian Kroth Date: Wed, 31 Jul 2024 15:16:20 +0000 Subject: [PATCH 1/2] debugging `make doc` failure --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 297ba393031..b981b8cd0a8 100644 --- a/Makefile +++ b/Makefile @@ -761,7 +761,7 @@ build/check-doc.build-stamp: doc/build/html/index.html doc/build/html/htmlcov/in -e "No module named '(SpaceAdapter|Optimizer)Factory'" \ -e '^make.*resetting jobserver mode' \ | grep -v '^\s*$$' \ - | if grep .; then echo "Errors found in doc build. Check doc/build/log.txt for details."; exit 1; else exit 0; fi + | if grep .; then echo "Errors found in doc build. Check doc/build/log.txt for details."; cat doc/build/log.txt; exit 1; else exit 0; fi touch $@ .PHONY: linklint-doc From 4f97ad8e2d8c648b20da8a36a21f688b53f4824a Mon Sep 17 00:00:00 2001 From: Brian Kroth Date: Wed, 31 Jul 2024 17:37:23 +0000 Subject: [PATCH 2/2] ignore a deprecation warning context message generated by asyncssh --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index b981b8cd0a8..beb5b864181 100644 --- a/Makefile +++ b/Makefile @@ -760,6 +760,7 @@ build/check-doc.build-stamp: doc/build/html/index.html doc/build/html/htmlcov/in -e "failed to import function 'create' from module '(SpaceAdapter|Optimizer)Factory'" \ -e "No module named '(SpaceAdapter|Optimizer)Factory'" \ -e '^make.*resetting jobserver mode' \ + -e 'from cryptography.hazmat.primitives.ciphers.algorithms import' \ | grep -v '^\s*$$' \ | if grep .; then echo "Errors found in doc build. Check doc/build/log.txt for details."; cat doc/build/log.txt; exit 1; else exit 0; fi touch $@