Page MenuHomeSoftware Heritage
Paste P1200

`make -C docs clean html` failure to build the devel docs
ActivePublic

Authored by ardumont on Oct 13 2021, 5:21 PM.
$ make -C docs/ clean html
make: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs'
sphinx-build -M clean "." "_build" --color
Removing everything under '_build'...
bin/ln-sphinx-subprojects --remove
W: unknown repository 'deploy', you might want to remove it
W: unknown repository 'swh-loader-git-master', you might want to remove it
make -C images clean
make[1]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs/images'
rm -f py-deps-all.dot py-deps-swh.dot py-deps-ext.dot py-deps-all.pdf py-deps-swh.pdf py-deps-ext.pdf py-deps-all.svg py-deps-swh.svg py-deps-ext.svg network.svg tasks-git-loader.svg tasks-lister.svg
make[1]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs/images'
rm -f *-stamp
rm -f apidoc/*
bin/ln-sphinx-subprojects
W: unknown repository 'deploy', you might want to remove it
W: unknown repository 'swh-loader-git-master', you might want to remove it
touch links-stamp
sphinx-apidoc \
--implicit-namespaces \
--templatedir=../swh/docs/templates/ \
--maxdepth=3 \
--ext-viewcode --separate \
-o apidoc \
sources/swh/ \
sources/swh//*/tests sources/swh//*/tests/* sources/swh//*/*/tests/* sources/swh//*/*/*/tests/* sources/swh//*/migrations sources/swh//*/migrations/* sources/swh//*/*/migrations/* sources/swh//*/*/*/migrations/* sources/swh//*/wsgi.py sources/swh//*/*/wsgi.py sources/swh//*/*/*/wsgi.py sources/swh//*/*/*/wsgi.py sources/swh//deposit/settings/* sources/swh//web/settings/* sources/swh//dataset/*
Creating file apidoc/modules.rst.
touch apidoc-stamp
make -C images
make[1]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs/images'
cd ../../.. ; /home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs/images/../bin/py-depgraph > /home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs/images/py-deps-all.dot
W: unknown repository 'deploy', you might want to remove it
W: unknown repository 'swh-loader-git-master', you might want to remove it
cd ../../.. ; /home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs/images/../bin/py-depgraph --no-external > /home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs/images/py-deps-swh.dot
W: unknown repository 'deploy', you might want to remove it
W: unknown repository 'swh-loader-git-master', you might want to remove it
cd ../../.. ; /home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs/images/../bin/py-depgraph --no-internal > /home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs/images/py-deps-ext.dot
W: unknown repository 'deploy', you might want to remove it
W: unknown repository 'swh-loader-git-master', you might want to remove it
dot -T pdf py-deps-all.dot > py-deps-all.pdf
dot -T pdf py-deps-swh.dot > py-deps-swh.pdf
dot -T pdf py-deps-ext.dot > py-deps-ext.pdf
dot -T svg py-deps-all.dot > py-deps-all.svg
dot -T svg py-deps-swh.dot > py-deps-swh.svg
dot -T svg py-deps-ext.dot > py-deps-ext.svg
DISPLAY="" plantuml -tsvg network.uml
DISPLAY="" plantuml -tsvg tasks-git-loader.uml
DISPLAY="" plantuml -tsvg tasks-lister.uml
make[1]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs/images'
make -C swh-deposit/images
make[1]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-deposit/docs/images'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-deposit/docs/images'
touch images-stamp
make -C ../../ docs-assets
make[1]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment'
W: unknown repository 'deploy', you might want to remove it
W: unknown repository 'swh-loader-git-master', you might want to remove it
make -C swh-auth/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-auth/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-auth/docs'
make -C swh-core/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-core/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-core/docs'
make -C swh-counters/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-counters/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-counters/docs'
make -C swh-dataset/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-dataset/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-dataset/docs'
make -C swh-deposit/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-deposit/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-deposit/docs'
make -C swh-fuse/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-fuse/docs'
make -C images/
make[3]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-fuse/docs/images'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-fuse/docs/images'
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-fuse/docs'
make -C swh-graph/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-graph/docs'
make -C images/
make[3]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-graph/docs/images'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-graph/docs/images'
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-graph/docs'
make -C swh-icinga-plugins/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-icinga-plugins/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-icinga-plugins/docs'
make -C swh-indexer/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/docs'
make -C images/
make[3]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/docs/images'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/docs/images'
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/docs'
make -C swh-journal/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-journal/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-journal/docs'
make -C swh-lister/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-lister/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-lister/docs'
make -C swh-loader-core/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-loader-core/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-loader-core/docs'
make -C swh-loader-cvs/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-loader-cvs/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-loader-cvs/docs'
make -C swh-loader-git/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-loader-git/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-loader-git/docs'
make -C swh-loader-mercurial/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-loader-mercurial/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-loader-mercurial/docs'
make -C swh-loader-svn/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-loader-svn/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-loader-svn/docs'
make -C swh-model/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-model/docs'
make -C images/
make[3]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-model/docs/images'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-model/docs/images'
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-model/docs'
make -C swh-objstorage/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-objstorage/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-objstorage/docs'
make -C swh-objstorage-replayer/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-objstorage-replayer/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-objstorage-replayer/docs'
make -C swh-scanner/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-scanner/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-scanner/docs'
make -C swh-scheduler/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/docs'
make -C swh-search/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-search/docs'
make[2]: Nothing to be done for 'assets'.
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-search/docs'
make -C swh-storage/docs assets
make[2]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-storage/docs'
make -C ../sql/ doc
make[3]: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-storage/sql'
dropdb softwareheritage-dev
dropdb: error: could not connect to database template1: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/run/postgresql/.s.PGSQL.5432"?
make[3]: [Makefile:19: createdb-stamp] Error 1 (ignored)
createdb softwareheritage-dev
createdb: error: could not connect to database template1: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/run/postgresql/.s.PGSQL.5432"?
make[3]: *** [Makefile:20: createdb-stamp] Error 1
make[3]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-storage/sql'
make[2]: *** [Makefile.local:6: sql-autodoc] Error 2
make[2]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-storage/docs'
make[1]: *** [Makefile:35: docs-assets/swh-storage] Error 2
make[1]: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment'
make: *** [Makefile:52: rec-build-stamp] Error 2
make: Leaving directory '/home/tony/work/inria/repo/swh/swh-environment/swh-docs/docs'

Event Timeline

Yes, after a migration, the postgres version got upgraded.
It was missing the user role correctly configured in the db:

createuser -d -s tony

And then ok again.