Skip to content

Commit

Permalink
Mk/Uses/meson.mk: temporarily disable Python bytecode after 19804e3
Browse files Browse the repository at this point in the history
$ 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
  • Loading branch information
jbeich committed Jul 29, 2023
1 parent 19804e3 commit 2cf1bf9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Mk/Uses/meson.mk
Expand Up @@ -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.
Expand Down

0 comments on commit 2cf1bf9

Please sign in to comment.