diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-07-29 00:30:43 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-07-29 00:35:45 +0000 |
commit | 2cf1bf98e61e1f6df1d2df912d43037b46a25366 (patch) | |
tree | 82fe43d7949be54ecaf1be128d2646c4ceb21ac5 | |
parent | 19804e37169455dc0159609851453038476006db (diff) |
Mk/Uses/meson.mk: temporarily disable Python bytecode after 19804e371694
$ poudriere testport -j 131amd64 devel/blueprint-compiler
[...]
====> Running Q/A tests (stage-qa)
Error: 'lib/python3.9/site-packages/blueprintcompiler/language/__pycache__/gobject_property.cpython-39.pyc' is referring to /wrkdirs/usr/ports/devel/blueprint-compiler/work/stage
Error: 'lib/python3.9/site-packages/blueprintcompiler/language/__pycache__/gobject_object.cpython-39.pyc' is referring to /wrkdirs/usr/ports/devel/blueprint-compiler/work/stage
Error: 'lib/python3.9/site-packages/blueprintcompiler/language/__pycache__/adw_breakpoint.cpython-39.pyc' is referring to /wrkdirs/usr/ports/devel/blueprint-compiler/work/stage
[...]
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/ast_utils%%PYTHON_EXT_SUFFIX%%.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/completions%%PYTHON_EXT_SUFFIX%%.pyc
[...]
PR: 272276
-rw-r--r-- | Mk/Uses/meson.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/Uses/meson.mk b/Mk/Uses/meson.mk index 1442982f7792..ae997ae1a337 100644 --- a/Mk/Uses/meson.mk +++ b/Mk/Uses/meson.mk @@ -40,6 +40,9 @@ CONFIGURE_ARGS+= --prefix ${PREFIX} \ # expose those as port OPTIONS_* or explicitly pass -D<option>=disabled CONFIGURE_ARGS+= --auto-features=enabled +# Temporarily disable bytecode due to embedding STAGEDIR +CONFIGURE_ARGS+= -Dpython.bytecompile=-1 + # Disable color output. Meson forces it on by default, Ninja # strips it before it goes to the log, but Samurai does not, so we # might end up with ANSI escape sequences in the logs. |