[ https://issues.apache.org/jira/browse/DISPATCH-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526332#comment-16526332 ]
Justin Ross commented on DISPATCH-1056: --------------------------------------- I'm not quite parsing this: "Also check that if asciidoc and asciidoctor are absent then the build tries to build the docs anyway." Are you saying there is some missing conditionality? > Build fails making docs on python-3-only fedora 28 > -------------------------------------------------- > > Key: DISPATCH-1056 > URL: https://issues.apache.org/jira/browse/DISPATCH-1056 > Project: Qpid Dispatch > Issue Type: Bug > Components: Documentation > Affects Versions: 1.1.0 > Reporter: Chuck Rolke > Assignee: Justin Ross > Priority: Major > > The build failed originally when asciidoc and asciidoctor were not installed. > After installing them the build still fail. Proton is build and installed at > a shared install prefix: /opt/local > {{Scanning dependencies of target qdrouterd}} > {{[ 91%] Building C object router/CMakeFiles/qdrouterd.dir/src/main.c.o}} > {{[ 93%] Linking C executable qdrouterd}} > {{[ 93%] Built target qdrouterd}} > {{Scanning dependencies of target doc_gen}} > {{[ 95%] Generating qdrouterd_help.adoc}} > {{[ 96%] Generating qdrouterd.conf.5.adoc}} > {{[100%] Generating qdmanage_help.adoc}} > {{[100%] Generating qdstat_help.adoc}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/tools/qdmanage", line 29, in <module>}} > {{ from qpid_dispatch.management.client import Node, Url}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in <module>}} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in <module>}} > {{ run_path(sys.argv[0], run_name="__main__")}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 107, in run_path}} > {{ runpy.run_path(file_path, run_name=run_name)}} > {{ File "/usr/lib64/python2.7/runpy.py", line 252, in run_path}} > {{ return _run_module_code(code, init_globals, run_name, path_name)}} > {{ File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code}} > {{ mod_name, mod_fname, mod_loader, pkg_name)}} > {{ File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code}} > {{ exec code in run_globals}} > {{ File "/home/root/git/qpid-dispatch/docs/man/help2txt.py", line 68, in > <module>}} > {{ main(sys.argv)}} > {{ File "/home/root/git/qpid-dispatch/docs/man/help2txt.py", line 65, in > main}} > {{ print(help2txt(check_output(program)))}} > {{ File "/usr/lib64/python2.7/subprocess.py", line 223, in check_output}} > {{ raise CalledProcessError(retcode, cmd, output=output)}} > {{subprocess.CalledProcessError: Command > '['/home/root/git/qpid-dispatch/tools/qdmanage', '--help']' returned non-zero > exit status 1}} > {{make[2]: *** [docs/man/CMakeFiles/doc_gen.dir/build.make:83: > docs/man/qdmanage_help.adoc] Error 1}} > {{make[2]: *** Deleting file 'docs/man/qdmanage_help.adoc'}} > {{make[2]: *** Waiting for unfinished jobs....}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/tools/qdstat", line 35, in <module>}} > {{ from qpid_dispatch.management.client import Url, Node, Entity}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in <module>}} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in <module>}} > {{ run_path(sys.argv[0], run_name="__main__")}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 107, in run_path}} > {{ runpy.run_path(file_path, run_name=run_name)}} > {{ File "/usr/lib64/python2.7/runpy.py", line 252, in run_path}} > {{ return _run_module_code(code, init_globals, run_name, path_name)}} > {{ File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code}} > {{ mod_name, mod_fname, mod_loader, pkg_name)}} > {{ File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code}} > {{ exec code in run_globals}} > {{ File "/home/root/git/qpid-dispatch/docs/man/help2txt.py", line 68, in > <module>}} > {{ main(sys.argv)}} > {{ File "/home/root/git/qpid-dispatch/docs/man/help2txt.py", line 65, in > main}} > {{ print(help2txt(check_output(program)))}} > {{ File "/usr/lib64/python2.7/subprocess.py", line 223, in check_output}} > {{ raise CalledProcessError(retcode, cmd, output=output)}} > {{subprocess.CalledProcessError: Command > '['/home/root/git/qpid-dispatch/tools/qdstat', '--help']' returned non-zero > exit status 1}} > {{make[2]: *** [docs/man/CMakeFiles/doc_gen.dir/build.make:91: > docs/man/qdstat_help.adoc] Error 1}} > {{make[2]: *** Deleting file 'docs/man/qdstat_help.adoc'}} > {{make[1]: *** [CMakeFiles/Makefile2:385: > docs/man/CMakeFiles/doc_gen.dir/all] Error 2}} > {{make: *** [Makefile:141: all] Error 2}} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org