[Bug 220974] graphics/graphene: Fails to build when GTKDOC option enabled (No such file or directory: 'gtkdoc-scan')
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 12 23:53:23 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220974
John Hein <z7dr6ut7gs at snkmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |z7dr6ut7gs at snkmail.com
--- Comment #5 from John Hein <z7dr6ut7gs at snkmail.com> ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gnome
mailing list