[jira] [Commented] (DISPATCH-1056) Build fails making docs on python-3-only fedora 28
[ https://issues.apache.org/jira/browse/DISPATCH-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16526530#comment-16526530 ] ASF subversion and git services commented on DISPATCH-1056: --- Commit 550c6711d38a27b1dd3eab14d2e884a7779a9bd2 in qpid-dispatch's branch refs/heads/master from [~jr...@redhat.com] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=550c671 ] DISPATCH-1056: Generate man page inputs only if the docs target is invoked > 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 }} > {{ from qpid_dispatch.management.client import Node, Url}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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 }} > {{ from qpid_dispatch.management.client import Url, Node, Entity}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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]: ***
[jira] [Commented] (DISPATCH-1056) Build fails making docs on python-3-only fedora 28
[ https://issues.apache.org/jira/browse/DISPATCH-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16526362#comment-16526362 ] Justin Ross commented on DISPATCH-1056: --- That code adds to docs_deps only if asciidoc (not asciidoc*tor*) or a2x is available. https://github.com/apache/qpid-dispatch/blob/e92dab3c5a06b20760e11d1dd702fdb0b4c84b94/docs/man/CMakeLists.txt#L98 But I think that's immaterial here, because the problem arises from the help2txt invocations. And the real problem underneath there is not a missing doc gen dependency but rather that qdmanage has a shebang that points at Python 2. https://github.com/apache/qpid-dispatch/blob/e92dab3c5a06b20760e11d1dd702fdb0b4c84b94/docs/man/CMakeLists.txt#L58 https://github.com/apache/qpid-dispatch/blob/e92dab3c5a06b20760e11d1dd702fdb0b4c84b94/tools/qdmanage#L1 > 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 }} > {{ from qpid_dispatch.management.client import Node, Url}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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 }} > {{ from qpid_dispatch.management.client import Url, Node, Entity}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ main(sys.argv)}} > {{ File "/home/root/git/qpid-dispatch/docs/man/help2txt.py", line 65, in > main}} > {{
[jira] [Commented] (DISPATCH-1056) Build fails making docs on python-3-only fedora 28
[ https://issues.apache.org/jira/browse/DISPATCH-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16526348#comment-16526348 ] Chuck Rolke commented on DISPATCH-1056: --- I'm saying that when asciidoctor is absent then the build fails because docs don't build. Something is wrong. In the docs/man/CMakeLists.txt [https://github.com/apache/qpid-dispatch/blob/e92dab3c5a06b20760e11d1dd702fdb0b4c84b94/docs/man/CMakeLists.txt#L124] The handling of ascii_doctor not found is different from the same code path in docs/books/CMakeLists.txt. I think docs/books is better logic. > 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 }} > {{ from qpid_dispatch.management.client import Node, Url}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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 }} > {{ from qpid_dispatch.management.client import Url, Node, Entity}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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 >
[jira] [Commented] (DISPATCH-1056) Build fails making docs on python-3-only fedora 28
[ https://issues.apache.org/jira/browse/DISPATCH-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16526344#comment-16526344 ] Justin Ross commented on DISPATCH-1056: --- [~ganeshmurthy], I'd first like to understand in what way it is a bug. > 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 }} > {{ from qpid_dispatch.management.client import Node, Url}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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 }} > {{ from qpid_dispatch.management.client import Url, Node, Entity}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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: ***
[jira] [Commented] (DISPATCH-1056) Build fails making docs on python-3-only fedora 28
[ https://issues.apache.org/jira/browse/DISPATCH-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16526339#comment-16526339 ] Ganesh Murthy commented on DISPATCH-1056: - Should this Jira be targeted/fixed for the 1.2 release ? > 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 }} > {{ from qpid_dispatch.management.client import Node, Url}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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 }} > {{ from qpid_dispatch.management.client import Url, Node, Entity}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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:
[jira] [Commented] (DISPATCH-1056) Build fails making docs on python-3-only fedora 28
[ https://issues.apache.org/jira/browse/DISPATCH-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 }} > {{ from qpid_dispatch.management.client import Node, Url}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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 }} > {{ from qpid_dispatch.management.client import Url, Node, Entity}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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'}}
[jira] [Commented] (DISPATCH-1056) Build fails making docs on python-3-only fedora 28
[ https://issues.apache.org/jira/browse/DISPATCH-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16526329#comment-16526329 ] Chuck Rolke commented on DISPATCH-1056: --- Also check that if asciidoc and asciidoctor are absent then the build tries to build the docs anyway. I couldn't find any switch to turn docs off so I deleted them from cmake to make progress locally . A cmake switch would be nice. > 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 }} > {{ from qpid_dispatch.management.client import Node, Url}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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 }} > {{ from qpid_dispatch.management.client import Url, Node, Entity}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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}} >
[jira] [Commented] (DISPATCH-1056) Build fails making docs on python-3-only fedora 28
[ https://issues.apache.org/jira/browse/DISPATCH-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16526285#comment-16526285 ] Justin Ross commented on DISPATCH-1056: --- Reproduced this. I'm not sure if it is a defect. Perhaps it reflects some missing dependency metadata. The qdmanage code starts with this line: #!/usr/bin/env python On F28, that resolves to Python 2, so it tries to load the proton Python binding from the Python 2 packages. If I install python2-qpid-proton, everything goes as planned. I didn't try it, but I think the same would happen if you built Proton with python2-devel and setup the paths. It may be worth taking a look at changing the shebang to a generated value based on the platform. > 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 }} > {{ from qpid_dispatch.management.client import Node, Url}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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 }} > {{ from qpid_dispatch.management.client import Url, Node, Entity}} > {{ File > "/home/root/git/qpid-dispatch/python/qpid_dispatch/management/client.py", > line 30, in }} > {{ import proton}} > {{ImportError: No module named proton}} > {{Traceback (most recent call last):}} > {{ File "/home/root/git/qpid-dispatch/build/run.py", line 123, in }} > {{ 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 > }} > {{ 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}}