Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938701 - dev-libs/liblouis-3.29.0 fails tests on ppc: UnicodeDecodeError: 'utf-32-le' codec can't decode bytes in position 0-3: code point not in range(0x110000)
Summary: dev-libs/liblouis-3.29.0 fails tests on ppc: UnicodeDecodeError: 'utf-32-le' ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-08-29 18:22 UTC by matoro
Modified: 2024-08-29 18:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_938701.txt,195.88 KB, text/plain)
2024-08-29 18:22 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-08-29 18:22:03 UTC
Created attachment 901612 [details]
build.log and emerge --info

xExEEEEEEEExExEEEEEEEE
======================================================================
ERROR: test_10 (__main__.TestUnicodeComposed.test_10)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/liblouis-3.29.0/work/liblouis-3.29.0/python/tests/test_louis.py", line 32, in test_10
    self.assertEqual(louis.translateString(["en-ueb-g1.ctb", "tests/test.cti"], "before 😂 after"),
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/dev-libs/liblouis-3.29.0/work/liblouis-3.29.0_python3.12/install/usr/lib/python3.12/site-packages/louis/__init__.py", line 321, in translateString
    return outbuf.raw[: outlen.value * wideCharBytes].decode(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/encodings/utf_32_le.py", line 11, in decode
    return codecs.utf_32_le_decode(input, errors, True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-32-le' codec can't decode bytes in position 0-3: code point not in range(0x110000)
decoding with 'utf_32_le' codec failed