Yea, there is a error in the Makefile logic which requires sphix when run 'make [all]'. I'll fix this.

To mitigate this in the meanwhile you can comment out Makefile line 1035 'FLASHROM_VERSION=$(VERSION) $(SPHINXBUILD) -b man doc .'

Please be aware, that we are in the process of switching to the meson build system and the Makefile might be removed in the near feature.


-- Thomas

On April 7, 2023 6:01:59 AM GMT+02:00, Anastasia Klimchuk <aklm@chromium.org> wrote:
Hi Alex,

This is definitely not intended behaviour: sphinx is optional. If it
is not present, flashrom can be built, just without docs.
I didn't have sphinx locally for a while, and was building the sources
without it. Only installed it very recently, because I started to add
docs.

Can you tell exactly how you are building? Logs maybe? I want to help.