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

            Bug ID: 168848
           Summary: cairo cannot be built with internal python
           Product: LibreOffice
           Version: 25.2.2.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

I have a build config with --without-system-cairo --enable-python=internal and
there is a problem with building cairo.

The first (easy) issue is that python3 is not a dependency of cairo, so build
fails with python.bin not found at instdir/program/

The second issue is (after the first is patched):

meson.build:3:11: ERROR: Command
`/home/timar/lo/workdir/UnpackedTarball/cairo/version.py` failed with status
-6.

A full log can be found at
/home/timar/lo/workdir/UnpackedTarball/cairo/builddir/meson-logs/meson-log.txt

Running command: /home/timar/lo/workdir/UnpackedTarball/cairo/version.py
--- stdout ---

--- stderr ---
Fatal Python error: Py_Initialize: Unable to get the locale encoding
Traceback (most recent call last):
  File
"/home/timar/lo/instdir/program/python-core-3.12.11/lib/encodings/__init__.py",
line 85, in search_function
  File
"/home/timar/lo/instdir/program/python-core-3.12.11/lib/encodings/__init__.py",
line 64, in normalize_encoding
AttributeError: 'str' object has no attribute 'isascii'

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

Reply via email to