Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2018 23:53:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 220974] graphics/graphene: Fails to build when GTKDOC option enabled (No such file or directory: 'gtkdoc-scan')
Message-ID:  <bug-220974-6497-Exbuqwwxhf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220974-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220974-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220974

John Hein <z7dr6ut7gs@snkmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |z7dr6ut7gs@snkmail.com

--- Comment #5 from John Hein <z7dr6ut7gs@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 li=
ke
this port (graphene) is missing a dependency (BUILD) on gtk-doc...

=3D=3D=3D>   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", li=
ne
311, in run
    sys.exit(run_script_command(args[1:]))
  File "/usr/local/lib/python3.6/site-packages/mesonbuild/mesonmain.py", li=
ne
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 =3D Popen_safe(cmd, cwd=3Dcwd, stderr=3Dsubprocess.STDOUT)[0:2]
  File "/usr/local/lib/python3.6/site-packages/mesonbuild/mesonlib.py", line
548, in Popen_safe
    stderr=3Dstderr, **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_chi=
ld
    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=3D    gnome=3Dintrospection:build
 #INTROSPECTION_MESON_OFF=3D      -Denable-introspection=3Dfalse

+GTKDOC_BUILD_DEPENDS=3D  gtk-doc>0:textproc/gtk-doc
 GTKDOC_MESON_TRUE=3D     enable-gtk-doc
 GTKDOC_DESC=3D           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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220974-6497-Exbuqwwxhf>