[ 
https://issues.apache.org/jira/browse/DISPATCH-1995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Daněk updated DISPATCH-1995:
---------------------------------
    Description: 
https://github.com/jiridanek/qpid-dispatch/runs/2050798888?check_suite_focus=true#step:8:10

{noformat}
CMake Warning (dev):
  Policy CMP0058 is not set: Ninja requires custom command byproducts to be
  explicit.  Run "cmake --help-policy CMP0058" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  This project specifies custom command DEPENDS on files in the build tree
  that are not specified as the OUTPUT or BYPRODUCTS of any
  add_custom_command or add_custom_target:

   docs/man/qdmanage.8.adoc
   docs/man/qdrouterd.8.adoc
   docs/man/qdstat.8.adoc

  For compatibility with versions of CMake that did not have the BYPRODUCTS
  option, CMake is generating phony rules for such files to convince 'ninja'
  to build.

  Project authors should add the missing BYPRODUCTS or OUTPUT options to the
  custom commands that produce these files.
This warning is for project developers.  Use -Wno-dev to suppress it.
{noformat}

{noformat}
Run cmake --build "${DispatchBuildDir}" --config ${BuildType} -t docs
ninja: error: '../docs/books/user-guide/*.adoc', needed by 
'docs/books/user-guide/index.html', missing and no known rule to make it
Error: Process completed with exit code 1
{noformat}

  was:
h3. Ninja

https://github.com/jiridanek/qpid-dispatch/runs/2050798888?check_suite_focus=true#step:8:10

{noformat}
CMake Warning (dev):
  Policy CMP0058 is not set: Ninja requires custom command byproducts to be
  explicit.  Run "cmake --help-policy CMP0058" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  This project specifies custom command DEPENDS on files in the build tree
  that are not specified as the OUTPUT or BYPRODUCTS of any
  add_custom_command or add_custom_target:

   docs/man/qdmanage.8.adoc
   docs/man/qdrouterd.8.adoc
   docs/man/qdstat.8.adoc

  For compatibility with versions of CMake that did not have the BYPRODUCTS
  option, CMake is generating phony rules for such files to convince 'ninja'
  to build.

  Project authors should add the missing BYPRODUCTS or OUTPUT options to the
  custom commands that produce these files.
This warning is for project developers.  Use -Wno-dev to suppress it.
{noformat}

{noformat}
Run cmake --build "${DispatchBuildDir}" --config ${BuildType} -t docs
ninja: error: '../docs/books/user-guide/*.adoc', needed by 
'docs/books/user-guide/index.html', missing and no known rule to make it
Error: Process completed with exit code 1
{noformat}

h3. ASAN

https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:108

{noformat}
[ 87%] Generating qdrouterd_help.adoc 
[109|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:109]==7773==ASan
 runtime does not come first in initial library list; you should either link 
runtime to your application or manually preload it with LD_PRELOAD. 
[110|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:110]Traceback
 (most recent call last): 
[111|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:111]
 File 
"/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/run.py", 
line 144, in <module> 
[112|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:112]
 run_path(sys.argv[0], run_name="__main__") 
[113|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:113]
 File 
"/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/run.py", 
line 127, in run_path 
[114|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:114]
 runpy.run_path(file_path, run_name=run_name) 
[115|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:115]
 File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/runpy.py", line 
263, in run_path 
[116|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:116]
 pkg_name=pkg_name, script_name=fname) 
[117|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:117]
 File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/runpy.py", line 96, 
in _run_module_code 
[118|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:118]
 mod_name, mod_spec, pkg_name, script_name) 
[119|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:119]
 File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/runpy.py", line 85, 
in _run_code 
[120|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:120]
 exec(code, run_globals) 
[121|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:121]
 File 
"/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/docs/man/help2txt.py",
 line 96, in <module> 
[122|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:122]
 main(sys.argv) 
[123|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:123]
 File 
"/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/docs/man/help2txt.py",
 line 92, in main 
[124|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:124]
 print(help2txt(check_output(program))) 
[125|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:125]
 File 
"/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/docs/man/help2txt.py",
 line 54, in check_output 
[126|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:126]
 raise e 
[127|https://github.com/jiridanek/qpid-dispatch/runs/2050819641?check_suite_focus=true#step:8:127]subprocess.CalledProcessError:
 Command 
'['/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/router/qdrouterd',
 '--help']' returned non-zero exit status 1.
{noformat}


> Dispatch docs build fails if -GNinja is used
> --------------------------------------------
>
>                 Key: DISPATCH-1995
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1995
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.15.0
>            Reporter: Jiri Daněk
>            Assignee: Jiri Daněk
>            Priority: Major
>             Fix For: 1.17.0
>
>
> https://github.com/jiridanek/qpid-dispatch/runs/2050798888?check_suite_focus=true#step:8:10
> {noformat}
> CMake Warning (dev):
>   Policy CMP0058 is not set: Ninja requires custom command byproducts to be
>   explicit.  Run "cmake --help-policy CMP0058" for policy details.  Use the
>   cmake_policy command to set the policy and suppress this warning.
>   This project specifies custom command DEPENDS on files in the build tree
>   that are not specified as the OUTPUT or BYPRODUCTS of any
>   add_custom_command or add_custom_target:
>    docs/man/qdmanage.8.adoc
>    docs/man/qdrouterd.8.adoc
>    docs/man/qdstat.8.adoc
>   For compatibility with versions of CMake that did not have the BYPRODUCTS
>   option, CMake is generating phony rules for such files to convince 'ninja'
>   to build.
>   Project authors should add the missing BYPRODUCTS or OUTPUT options to the
>   custom commands that produce these files.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> {noformat}
> {noformat}
> Run cmake --build "${DispatchBuildDir}" --config ${BuildType} -t docs
> ninja: error: '../docs/books/user-guide/*.adoc', needed by 
> 'docs/books/user-guide/index.html', missing and no known rule to make it
> Error: Process completed with exit code 1
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to