Bugzilla Automation <[email protected]> has asked freebsd-desktop (Team)
<[email protected]> for maintainer-feedback:
Bug 296322: print/harfbuzz wont build with python312
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296322
--- Description ---
Note: This system does not use a Desktop environment, rather it needs to
perform anti spam detection as well as other graphical utilities for web based
technologies.
nano /etc/make.conf
_CLAMAVUSER=vscan
_CLAMAVGROUP=vscan
#DISTDIR=/tmp/distfiles
#BATCH=yes
#DEFAULT_VERSIONS+= ssl=openssl
DEFAULT_VERSIONS+=ssl=base
DEFAULT_VERSIONS+= php=8.2
DEFAULT_VERSIONS+= mysql=10.11m
#DEFAULT_VERSIONS+= python3=3.11
#perl override
DEFAULT_VERSIONS+=perl5=5.42
MAKE_JOBS_UNSAFE=yes
FORCE_MAKE_JOBS=yes
MAKE_JOBS_NUMBER=8
#LICENSES_ACCEPTED+=NONE
OPTIONS_UNSET+= X11 GUI CUPS NLS HAL GSSAPI_BASE KRB_BASE KERBEROS
OPTIONS_SET+= GSSAPI_NONE KRB_NONE
WITHOUT_X=YES
WITH_X=NO
ENABLE_GUI=NO
DISABLE_VULNERABILITIES=yes
pkg info -r harfbuzz
harfbuzz-13.2.1:
pango-1.57.1
graphviz-15.0.0_1
librsvg2-rust-2.62.2_1
libass-0.17.4_1
qt6-base-6.11.1
ffmpeg-8.1.1,1
texlive-base-20250308_4
harfbuzz-icu-13.2.1
gtk3-3.24.52
tesseract-5.5.2_1
rrdtool-1.9.0_1
libraqm-0.10.3
libraqm-0.10.3 (libharfbuzz.so.0)
rrdtool-1.9.0_1 (libharfbuzz.so.0)
tesseract-5.5.2_1 (libharfbuzz.so.0)
gtk3-3.24.52 (libharfbuzz.so.0)
harfbuzz-icu-13.2.1 (libharfbuzz.so.0)
ffmpeg-8.1.1,1 (libharfbuzz.so.0)
qt6-base-6.11.1 (libharfbuzz.so.0)
libass-0.17.4_1 (libharfbuzz.so.0)
librsvg2-rust-2.62.2_1 (libharfbuzz.so.0)
pango-1.57.1 (libharfbuzz.so.0)
root@/usr/ports/print/harfbuzz # make
===> harfbuzz-14.2.1 depends on executable: g-ir-scanner - found
===> harfbuzz-14.2.1 depends on executable: meson - found
===> harfbuzz-14.2.1 depends on executable: ninja - found
===> harfbuzz-14.2.1 depends on package: pkgconf>=1.3.0_1 - found
===> harfbuzz-14.2.1 depends on file: /usr/local/bin/python3.12 - found
===> harfbuzz-14.2.1 depends on shared library: libfreetype.so - found
(/usr/local/lib/libfreetype.so)
===> harfbuzz-14.2.1 depends on shared library: libgraphite2.so - found
(/usr/local/lib/libgraphite2.so)
===> harfbuzz-14.2.1 depends on shared library: libpng16.so - found
(/usr/local/lib/libpng16.so)
===> harfbuzz-14.2.1 depends on shared library: libglib-2.0.so - found
(/usr/local/lib/libglib-2.0.so)
===> harfbuzz-14.2.1 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===> Configuring for harfbuzz-14.2.1
The Meson build system
Version: 1.10.2
Source dir: /usr/ports/print/harfbuzz/work/harfbuzz-14.2.1
Build dir: /usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/_build
Build type: native build
Project name: harfbuzz
Project version: 14.2.1
C compiler for the host machine: cc (clang 19.1.7 "FreeBSD clang version 19.1.7
(https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)")
C linker for the host machine: cc ld.lld 19.1.7
C++ compiler for the host machine: c++ (clang 19.1.7 "FreeBSD clang version
19.1.7 (https://github.com/llvm/llvm-project.git
llvmorg-19.1.7-0-gcd708029e0b2)")
C++ linker for the host machine: c++ ld.lld 19.1.7
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports link arguments -Bsymbolic-functions: YES
Compiler for C++ supports arguments -fno-exceptions: YES
Compiler for C++ supports arguments -fno-rtti: YES
Compiler for C++ supports arguments -fno-threadsafe-statics: YES
Compiler for C++ supports arguments -fvisibility-inlines-hidden: YES
Library m found: YES
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.4.3
Run-time dependency freetype2 found: YES 26.6.20
Run-time dependency glib-2.0 found: YES 2.86.4
Run-time dependency gobject-2.0 found: YES 2.86.4
Run-time dependency graphite2 found: YES 3.0.1
Dependency graphite2 skipped: feature graphite disabled
Library iwasm skipped: feature wasm disabled
Dependency icu-uc skipped: feature icu disabled
Dependency chafa skipped: feature chafa disabled
Run-time dependency libpng found: YES 1.6.58
Run-time dependency zlib found: YES 1.3.1
Run-time dependency threads found: YES
Has header "unistd.h" : YES
Has header "sys/mman.h" : YES
Has header "stdbool.h" : YES
Has header "xlocale.h" : YES
Checking for function "atexit" : YES
Checking for function "mprotect" : YES
Checking for function "sysconf" : YES
Checking for function "getpagesize" : YES
Checking for function "mmap" : YES
Checking for function "isatty" : YES
Checking for function "uselocale" : YES
Checking for function "newlocale" : YES
Checking for function "localeconv_l" : NO
Checking for function "sincos" : YES
Checking for function "sincosf" : YES
Checking for function "FT_Get_Var_Blend_Coordinates" with dependency freetype2:
YES
Checking for function "FT_Set_Var_Blend_Coordinates" with dependency freetype2:
YES
Checking for function "FT_Done_MM_Var" with dependency freetype2: YES
Checking for function "FT_Get_Transform" with dependency freetype2: YES
Program gen-hb-version.py found: YES
(/usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/src/gen-hb-version.py)
Configuring hb-version.h with command
Program ragel found: YES 6.10 6.10 (/usr/local/bin/ragel)
Program gen-ragel-artifacts.py found: YES
(/usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/src/gen-ragel-artifacts.py)
Program gen-harfbuzzcc.py found: YES
(/usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/src/gen-harfbuzzcc.py)
Configuring hb-features.h using configuration
Configuring hb-supported-features.h using configuration
Program gen-def.py found: YES
(/usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/src/gen-def.py)
Program gen-harfbuzzcc.py found: YES
(/usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/src/gen-harfbuzzcc.py)
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.4.3
Program gen-gpu-shader-artifacts.py found: YES
(/usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/src/gen-gpu-shader-artifacts.py
)
Configuring harfbuzz-config.cmake using configuration
Dependency glib-2.0 found: YES 2.86.4 (cached)
Program /usr/local/bin/glib-mkenums found: YES (/usr/local/bin/glib-mkenums)
Dependency glib-2.0 found: YES 2.86.4 (cached)
Program /usr/local/bin/glib-mkenums found: YES (/usr/local/bin/glib-mkenums)
Program fix_get_types.py found: YES
(/usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/src/fix_get_types.py)
Program fix_get_types.py found: YES
(/usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/src/fix_get_types.py)
Program g-ir-scanner found: YES (/usr/local/bin/g-ir-scanner)
Run-time dependency gobject-introspection-1.0 found: YES 1.86.0
Dependency gobject-introspection-1.0 found: YES 1.86.0 (cached)
Program /usr/local/bin/g-ir-scanner found: YES (/usr/local/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.86.0 (cached)
Program /usr/local/bin/g-ir-compiler found: YES (/usr/local/bin/g-ir-compiler)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mesonmain.py", line
193, in run
return options.run_func(options)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/msetup.py", line
404, in run
app.generate()
File "/usr/local/lib/python3.12/site-packages/mesonbuild/msetup.py", line
196, in generate
return self._generate(env, capture, vslite_ctx)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/msetup.py", line
255, in _generate
intr.run()
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreter/interpreter.py"
,
line 3057, in run
super().run()
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 178, in run
self.evaluate_codeblock(self.ast, start=1)
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 203, in evaluate_codeblock
raise e
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 195, in evaluate_codeblock
self.evaluate_statement(cur)
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 209, in evaluate_statement
return self.function_call(cur)
^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 536, in function_call
res = func(node, func_args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/decorators.
py",
line 237, in wrapper
return f(*nargs, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/decorators.
py",
line 565, in wrapper
return f(*wrapped_args, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreter/interpreter.py"
,
line 2458, in func_subdir
elif not self._evaluate_subdir(self.environment.get_source_dir(), subdir):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 727, in _evaluate_subdir
self._evaluate_codeblock(codeblock, subdir, visitors)
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 738, in _evaluate_codeblock
self.evaluate_codeblock(codeblock)
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 203, in evaluate_codeblock
raise e
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 195, in evaluate_codeblock
self.evaluate_statement(cur)
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 227, in evaluate_statement
return self.evaluate_if(cur)
^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 317, in evaluate_if
self.evaluate_codeblock(i.block)
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 203, in evaluate_codeblock
raise e
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 195, in evaluate_codeblock
self.evaluate_statement(cur)
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 227, in evaluate_statement
return self.evaluate_if(cur)
^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 317, in evaluate_if
self.evaluate_codeblock(i.block)
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 203, in evaluate_codeblock
raise e
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 195, in evaluate_codeblock
self.evaluate_statement(cur)
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 213, in evaluate_statement
self.assignment(cur)
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 644, in assignment
value = self.evaluate_statement(node.value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 215, in evaluate_statement
return self.method_call(cur)
^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreter
base.py",
line 559, in method_call
res = obj.method_call(method_name, args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreter/interpreterobje
cts.py",
line 920, in method_call
ret = method(state, args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/decorators.
py",
line 237, in wrapper
return f(*nargs, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/mesonbuild/interpreterbase/decorators.
py",
line 565, in wrapper
return f(*wrapped_args, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/modules/gnome.py",
line 1178, in generate_gir
self._get_dependencies_flags(deps, state, depends, use_gir_args=True)
File "/usr/local/lib/python3.12/site-packages/mesonbuild/modules/gnome.py",
line 752, in _get_dependencies_flags
cflags, internal_ldflags_raw, external_ldflags_raw, gi_includes, depends =
self._get_dependencies_flags_raw(deps, state, depends, include_rpath,
use_gir_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/modules/gnome.py",
line 680, in _get_dependencies_flags_raw
libdepflags = self._get_dependencies_flags_raw(lib.get_external_deps(),
state, depends, include_rpath,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/modules/gnome.py",
line 731, in _get_dependencies_flags_raw
if use_gir_args and self._gir_has_option('--extra-library'):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/modules/gnome.py",
line 817, in _gir_has_option
p, o, _ = Popen_safe(exe.get_command() + ['--help'],
stderr=subprocess.STDOUT)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/utils/universal.py",
line 1753, in Popen_safe
p = subprocess.Popen(args, universal_newlines=True, encoding=encoding,
close_fds=False,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^
File "/usr/local/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/bin/g-ir-scanner'
ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue
with your build environment.
===> Script "configure" failed unexpectedly.
Please report the problem to [email protected] [maintainer] and attach the
"/usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/_build/meson-logs/meson-log.txt
"
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
Stop.
make[1]: stopped making
"/usr/ports/print/harfbuzz/work/.stage_done.harfbuzz._usr_local" in
/usr/ports/print/harfbuzz
*** Error code 1
Stop.
make: stopped making "all" in /usr/ports/print/harfbuzz