DEBUG: Executing shell function do_compile
TMPDIR/work/core2-32-yoe-linux/python3-html5lib/1.1/sources/html5lib-1.1/setup.py:9: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  from pkg_resources import parse_version
TMPDIR/work/core2-32-yoe-linux/python3-html5lib/1.1/sources/html5lib-1.1/setup.py:80: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
  with codecs.open(join(here, 'README.rst'), 'r', 'utf8') as readme_file:
TMPDIR/work/core2-32-yoe-linux/python3-html5lib/1.1/sources/html5lib-1.1/setup.py:81: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
  with codecs.open(join(here, 'CHANGES.rst'), 'r', 'utf8') as changes_file:
Traceback (most recent call last):
  File "TMPDIR/work/core2-32-yoe-linux/python3-html5lib/1.1/sources/html5lib-1.1/setup.py", line 93, in <module>
    isinstance(a.value, ast.Str)):
                        ^^^^^^^
AttributeError: module 'ast' has no attribute 'Str'
WARNING: TMPDIR/work/core2-32-yoe-linux/python3-html5lib/1.1/temp/run.do_compile.582146:171 exit 1 from 'nativepython3 setup.py --verbose build -j 10 bdist_wheel --dist-dir TMPDIR/work/core2-32-yoe-linux/python3-html5lib/1.1/dist'
WARNING: Backtrace (BB generated script): 
	#1: setuptools3_do_compile, TMPDIR/work/core2-32-yoe-linux/python3-html5lib/1.1/temp/run.do_compile.582146, line 171
	#2: do_compile, TMPDIR/work/core2-32-yoe-linux/python3-html5lib/1.1/temp/run.do_compile.582146, line 153
	#3: main, TMPDIR/work/core2-32-yoe-linux/python3-html5lib/1.1/temp/run.do_compile.582146, line 178

Error details

Submitted on:
20/01/26 02:06
Error type:
Recipe
Task:
do_compile
Recipe:
python3-html5lib
Recipe version:
1.1-r0
Machine:
qemux86
Distro:
yoe
Build system:
x86_64-linux
Target system:
i686-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
b122437de15e58d69069c45a46780c3370c869b3
Build:
#225198
Submitter:
ab@rdk
Similar errors:
5
Open a bug