https://bugs.documentfoundation.org/show_bug.cgi?id=168848

Christian Lohmaier <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |g

--- Comment #5 from Christian Lohmaier <[email protected]> ---
looks like https://gerrit.libreoffice.org/c/core/+/184271  /
https://gerrit.libreoffice.org/c/core/+/184622

it is a quirk/bug wrt how meson calls python scripts..

from the commit message back then:

if executable python scripts are run as build commands, they can pick up
system python instead of the LO-internal python and that then can cause
incompatibilities, ranging from just being too old and failing with
stuff like
AttributeError: 'str' object has no attribute 'isascii'
or attempting to load incompatible modules
[…]
    from . import _compiler, _parser
  File
"/home/michi/development/git/libreoffice/instdir/program/python-core-3.11.12/lib/re/_compiler.py",
line 18, in <module>
    assert _sre.MAGIC == MAGIC, "SRE module mismatch"
AssertionError: SRE module mismatch

So remove the executable bit to make sure the scripts are run with the
python specified for the build, either internal or the system one.

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

Reply via email to