maintainer-feedback requested: [Bug 265845] print/harfbuzz meson.build:45:4: ERROR: Problem encountered: Required Python3 module 'pygments' not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 14 Aug 2022 20:08:11 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 265845: print/harfbuzz meson.build:45:4: ERROR: Problem encountered:
Required Python3 module 'pygments' not found
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265845



--- Description ---
[root@FBSD14 /usr/ports/print/harfbuzz]# make
===>   harfbuzz-5.1.0 depends on executable: gtkdoc-scan - not found
===>   gtk-doc-1.33.2_2 depends on package: py39-pygments>=0 - found
===>   gtk-doc-1.33.2_2 depends on package: docbook-xml>0 - found
===>   gtk-doc-1.33.2_2 depends on file:
/usr/local/share/xsl/docbook/xhtml/chunk.xsl - found
===>   gtk-doc-1.33.2_2 depends on executable: itstool - found
===>   gtk-doc-1.33.2_2 depends on package: yelp-tools>=0 - found
===>   gtk-doc-1.33.2_2 depends on executable: msgfmt - found
===>   gtk-doc-1.33.2_2 depends on package: meson>=0.57.1_1 - found
===>   gtk-doc-1.33.2_2 depends on executable: ninja - found
===>   gtk-doc-1.33.2_2 depends on file: /usr/local/bin/python3.9 - found
===>   gtk-doc-1.33.2_2 depends on package: pkgconf>=1.3.0_1 - found
===>   gtk-doc-1.33.2_2 depends on shared library: libxml2.so - found
(/usr/local/lib/libxml2.so)
===>   gtk-doc-1.33.2_2 depends on shared library: libxslt.so - found
(/usr/local/lib/libxslt.so)
===>  Configuring for gtk-doc-1.33.2_2
The Meson build system
Version: 0.62.2
Source dir: /usr/ports/textproc/gtk-doc/work/gtk-doc-1.33.2
Build dir: /usr/ports/textproc/gtk-doc/work/gtk-doc-1.33.2/_build
Build type: native build
Project name: gtk-doc
Project version: 1.33.1
C compiler for the host machine: cc (clang 14.0.5 "FreeBSD clang version 14.0.5
(https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)")
C linker for the host machine: cc ld.lld 14.0.5
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/local/bin/python3.8)
WARNING: You should add the boolean check kwarg to the run_command call.
	 It currently defaults to false,
	 but it will default to true in future releases of meson.
	 See also: https://github.com/mesonbuild/meson/issues/9300

meson.build:45:4: ERROR: Problem encountered: Required Python3 module
'pygments' not found

A full log can be found at
/usr/ports/textproc/gtk-doc/work/gtk-doc-1.33.2/_build/meson-logs/meson-log.txt
===>  Script "configure" failed unexpectedly.
Please report the problem to desktop@FreeBSD.org [maintainer] and attach the
"/usr/ports/textproc/gtk-doc/work/gtk-doc-1.33.2/_build/meson-logs/meson-log.tx
t"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1