Created attachment 184672 [details] Graphene fails when docs are enabled - full logs Build fails when OPTIONS_FILE_SET+=GTKDOC FileNotFoundError: [Errno 2] No such file or directory: 'gtkdoc-scan' Installing src/libgraphene-1.0.so.0.600.0 to /wrkdirs/usr/ports/graphics/graphene/work/stage/usr/local/lib/libgraphene-1.0.so.0.600.0 Full log attached
Make Summary more verbose.
Created attachment 188188 [details] Poudriere log for failed graphics/graphene install The build fails while running the script meson-install.
Also fails for me, using Poudriere; builds fails when it fails to run script meson-install. Disabling GTKDOC in options allows build to continue.
Tested it on 10.4 and 11.1 with poudriere. Compiles fine with GTKDOC=on . Can you confirm?
Fails for me in poudriere updated with today's ports tree with GTKDOC on - (this is on a recent 10-stable, but I don't think it matters). It looks like this port (graphene) is missing a dependency (BUILD) on gtk-doc... ===> Generating temporary packing list [0/1] /usr/local/bin/python3.6 /usr/local/bin/meson --internal install /wrkdirs/usr/ports/graphics/graphene/work/graph ene-1.6.0/_build/meson-private/install.dat Building documentation for graphene Traceback (most recent call last): File "/usr/local/bin/meson", line 37, in <module> sys.exit(main()) File "/usr/local/bin/meson", line 34, in main return mesonmain.run(sys.argv[1:], launcher) File "/usr/local/lib/python3.6/site-packages/mesonbuild/mesonmain.py", line 311, in run sys.exit(run_script_command(args[1:])) File "/usr/local/lib/python3.6/site-packages/mesonbuild/mesonmain.py", line 278, in run_script_command return cmdfunc(cmdargs) File "/usr/local/lib/python3.6/site-packages/mesonbuild/scripts/gtkdochelper.py", line 218, in run options.mode) File "/usr/local/lib/python3.6/site-packages/mesonbuild/scripts/gtkdochelper.py", line 109, in build_gtkdoc gtkdoc_run_check(scan_cmd, abs_out) File "/usr/local/lib/python3.6/site-packages/mesonbuild/scripts/gtkdochelper.py", line 51, in gtkdoc_run_check p, out = Popen_safe(cmd, cwd=cwd, stderr=subprocess.STDOUT)[0:2] File "/usr/local/lib/python3.6/site-packages/mesonbuild/mesonlib.py", line 548, in Popen_safe stderr=stderr, **kwargs) File "/usr/local/lib/python3.6/subprocess.py", line 709, in __init__ restore_signals, start_new_session) File "/usr/local/lib/python3.6/subprocess.py", line 1344, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'gtkdoc-scan': 'gtkdoc-scan' This change should fix it: --- Makefile (revision 461580) +++ Makefile (working copy) @@ -25,6 +25,7 @@ #INTROSPECTION_USE= gnome=introspection:build #INTROSPECTION_MESON_OFF= -Denable-introspection=false +GTKDOC_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc GTKDOC_MESON_TRUE= enable-gtk-doc GTKDOC_DESC= Build documentation Without the above patch, a poudriere 'testport' build fails to 'stage' (with the above error). With the above patch, it builds, stages, installs successfully.
Created attachment 190560 [details] svn-diff-graphene-Makefile You are right. Seems I have problems with poudriere options -c. Fix seems to work.
Committed, thanks!
A commit references this bug: Author: pi Date: Wed Feb 14 21:15:32 UTC 2018 New revision: 461838 URL: https://svnweb.freebsd.org/changeset/ports/461838 Log: graphics/graphene: fix build when GTKDOC option enabled, pet portlint ... by adding BUILD_DEPENDS textproc/gtk-doc for the GTKDOC case PR: 220974 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Reported by: Grzegorz Junka <list1@gjunka.com> Changes: head/graphics/graphene/Makefile head/graphics/graphene/pkg-descr