Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1056

Build fails making docs on python-3-only fedora 28

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • Documentation
    • None

    Description

      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

       

      Attachments

        Activity

          People

            jross Justin Ross
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: