/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-soname -Wl,libraft.so.3 -o .libs/libraft.so.3.0.0 libtool: link: (cd ".libs" && rm -f "libraft.so.3" && ln -s "libraft.so.3.0.0" "libraft.so.3") libtool: link: (cd ".libs" && rm -f "libraft.so" && ln -s "libraft.so.3.0.0" "libraft.so") libtool: link: ( cd ".libs" && rm -f "libraft.la" && ln -s "../libraft.la" "libraft.la" ) + sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html Running Sphinx v7.2.6 making output directory... done building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 7 source files that are out of date updating environment: [new config] 7 added, 0 changed, 0 removed reading sources... [ 14%] api reading sources... [ 29%] disk-format reading sources... [ 43%] fsm reading sources... [ 57%] getting-started reading sources... [ 71%] index reading sources... [ 86%] io reading sources... [100%] server /builddir/build/BUILD/raft-0.17.1/docs/fsm.rst:12: WARNING: Type must be either just a name or a typedef-like declaration. If just a name: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name, got keyword: struct [error at 6] struct raft_fsm ------^ If typedef-like declaration: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 15] struct raft_fsm ---------------^ looking for now-outdated files... none found /builddir/build/BUILD/raft-0.17.1/docs/io.rst:12: WARNING: Type must be either just a name or a typedef-like declaration. If just a name: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name, got keyword: struct [error at 6] struct raft_io ------^ If typedef-like declaration: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 14] struct raft_io --------------^ /builddir/build/BUILD/raft-0.17.1/docs/io.rst:32: WARNING: Duplicate C declaration, also defined at fsm:19. Declaration is '.. c:member:: void* data'. /builddir/build/BUILD/raft-0.17.1/docs/io.rst:37: WARNING: Duplicate C declaration, also defined at fsm:24. Declaration is '.. c:member:: int version'. /builddir/build/BUILD/raft-0.17.1/docs/server.rst:12: WARNING: Type must be either just a name or a typedef-like declaration. If just a name: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name, got keyword: struct [error at 6] struct raft ------^ If typedef-like declaration: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 11] struct raft -----------^ /builddir/build/BUILD/raft-0.17.1/docs/server.rst:28: WARNING: Duplicate C declaration, also defined at fsm:19. Declaration is '.. c:member:: void* data'. pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done done writing output... [ 14%] api Theme error: An error happened in rendering the page api. Reason: UndefinedError("'style' is undefined") RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.HAGmT4 (%build) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.HAGmT4 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/raft.spec