Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-lxml.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-428767-73027/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5v349g2o:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5v349g2o:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '49a65b56fa83477a8a23454ea85dfc75', '-D', '/var/lib/mock/dist-an23.3-build-428767-73027/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5v349g2o:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-lxml.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710288000 Wrote: /builddir/build/SRPMS/python-lxml-4.9.2-3.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-lxml.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-428767-73027/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5v349g2o:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5v349g2o:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c80d2ffcfbb9436984d4465cc7c574cf', '-D', '/var/lib/mock/dist-an23.3-build-428767-73027/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5v349g2o:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-lxml.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710288000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.swMe89 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lxml-lxml-4.9.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lxml-4.9.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lxml-lxml-4.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Make-the-validation-of-ISO-Schematron-files-optional.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/380.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Skip-failing-test-test_html_prefix_nsmap.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/07db761f9f.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/c6b7e621e4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find -type f -name '*.c' -print -delete + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.mUn4nv + umask 022 + cd /builddir/build/BUILD + cd lxml-lxml-4.9.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/lxml-lxml-4.9.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/lxml-lxml-4.9.2/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/lxml-lxml-4.9.2/pyproject-wheeldir --output /builddir/build/BUILD/python-lxml-4.9.2-3.an23.aarch64-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-lxml-4.9.2-3.an23.aarch64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-lxml-4.9.2-3.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-lxml.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-428767-73027/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5v349g2o:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5v349g2o:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1363e71ac10a4e7f8ee480cee7a41f13', '-D', '/var/lib/mock/dist-an23.3-build-428767-73027/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5v349g2o:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-lxml.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710288000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.2T8EIg + umask 022 + cd /builddir/build/BUILD + cd lxml-lxml-4.9.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/lxml-lxml-4.9.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/lxml-lxml-4.9.2/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/lxml-lxml-4.9.2/pyproject-wheeldir --output /builddir/build/BUILD/python-lxml-4.9.2-3.an23.aarch64-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.38.4) :67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html performance hint: src/lxml/proxy.pxi:198:5: Exception check on '_copyParentNamespaces' will always require the GIL to be acquired. Possible solutions: 1. Declare '_copyParentNamespaces' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_copyParentNamespaces' to allow an error code to be returned. performance hint: src/lxml/proxy.pxi:470:5: Exception check on 'fixThreadDictNames' will always require the GIL to be acquired. Possible solutions: 1. Declare 'fixThreadDictNames' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'fixThreadDictNames' to allow an error code to be returned. performance hint: src/lxml/proxy.pxi:493:5: Exception check on '_fixThreadDictPtr' will always require the GIL to be acquired. Possible solutions: 1. Declare '_fixThreadDictPtr' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_fixThreadDictPtr' to allow an error code to be returned. performance hint: src/lxml/proxy.pxi:504:5: Exception check on 'fixThreadDictNamesForNode' will always require the GIL to be acquired. Possible solutions: 1. Declare 'fixThreadDictNamesForNode' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'fixThreadDictNamesForNode' to allow an error code to be returned. performance hint: src/lxml/proxy.pxi:524:5: Exception check on 'fixThreadDictNamesForAttributes' will always require the GIL to be acquired. Possible solutions: 1. Declare 'fixThreadDictNamesForAttributes' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'fixThreadDictNamesForAttributes' to allow an error code to be returned. performance hint: src/lxml/proxy.pxi:540:5: Exception check on 'fixThreadDictContentForNode' will always require the GIL to be acquired. Possible solutions: 1. Declare 'fixThreadDictContentForNode' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'fixThreadDictContentForNode' to allow an error code to be returned. performance hint: src/lxml/proxy.pxi:550:5: Exception check on 'fixThreadDictNsForNode' will always require the GIL to be acquired. Possible solutions: 1. Declare 'fixThreadDictNsForNode' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'fixThreadDictNsForNode' to allow an error code to be returned. performance hint: src/lxml/proxy.pxi:560:5: Exception check on 'fixThreadDictNamesForDtd' will always require the GIL to be acquired. Possible solutions: 1. Declare 'fixThreadDictNamesForDtd' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'fixThreadDictNamesForDtd' to allow an error code to be returned. performance hint: src/lxml/xmlerror.pxi:637:5: Exception check on '_forwardError' will always require the GIL to be acquired. Possible solutions: 1. Declare '_forwardError' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_forwardError' to allow an error code to be returned. performance hint: src/lxml/xmlerror.pxi:648:5: Exception check on '_receiveError' will always require the GIL to be acquired. Possible solutions: 1. Declare '_receiveError' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_receiveError' to allow an error code to be returned. performance hint: src/lxml/xmlerror.pxi:654:5: Exception check on '_receiveXSLTError' will always require the GIL to be acquired. Possible solutions: 1. Declare '_receiveXSLTError' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_receiveXSLTError' to allow an error code to be returned. performance hint: src/lxml/xmlerror.pxi:661:5: Exception check on '_receiveRelaxNGParseError' will always require the GIL to be acquired. Possible solutions: 1. Declare '_receiveRelaxNGParseError' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_receiveRelaxNGParseError' to allow an error code to be returned. performance hint: src/lxml/xmlerror.pxi:668:5: Exception check on '_receiveRelaxNGValidationError' will always require the GIL to be acquired. Possible solutions: 1. Declare '_receiveRelaxNGValidationError' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_receiveRelaxNGValidationError' to allow an error code to be returned. performance hint: src/lxml/xmlerror.pxi:676:5: Exception check on '_nullGenericErrorFunc' will always require the GIL to be acquired. Possible solutions: 1. Declare '_nullGenericErrorFunc' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_nullGenericErrorFunc' to allow an error code to be returned. performance hint: src/lxml/xmlerror.pxi:696:5: Exception check on '_receiveGenericError' will always require the GIL to be acquired. Possible solutions: 1. Declare '_receiveGenericError' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_receiveGenericError' to allow an error code to be returned. performance hint: src/lxml/parser.pxi:511:5: Exception check on '_reset_document_loader' will always require the GIL to be acquired. Possible solutions: 1. Declare '_reset_document_loader' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_reset_document_loader' to allow an error code to be returned. performance hint: src/lxml/parser.pxi:629:5: Exception check on '_forwardParserError' will always require the GIL to be acquired. Possible solutions: 1. Declare '_forwardParserError' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_forwardParserError' to allow an error code to be returned. performance hint: src/lxml/parser.pxi:632:5: Exception check on '_receiveParserError' will always require the GIL to be acquired. Possible solutions: 1. Declare '_receiveParserError' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_receiveParserError' to allow an error code to be returned. performance hint: src/lxml/parser.pxi:1210:5: Exception check on '_initSaxDocument' will always require the GIL to be acquired. Possible solutions: 1. Declare '_initSaxDocument' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_initSaxDocument' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:292:5: Exception check on '_handleSaxStart' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxStart' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxStart' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:334:5: Exception check on '_handleSaxTargetStart' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxTargetStart' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxTargetStart' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:409:5: Exception check on '_handleSaxStartNoNs' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxStartNoNs' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxStartNoNs' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:428:5: Exception check on '_handleSaxTargetStartNoNs' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxTargetStartNoNs' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxTargetStartNoNs' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:484:5: Exception check on '_handleSaxEnd' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxEnd' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxEnd' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:509:5: Exception check on '_handleSaxEndNoNs' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxEndNoNs' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxEndNoNs' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:561:5: Exception check on '_handleSaxData' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxData' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxData' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:576:5: Exception check on '_handleSaxTargetDoctype' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxTargetDoctype' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxTargetDoctype' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:595:5: Exception check on '_handleSaxStartDocument' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxStartDocument' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxStartDocument' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:610:5: Exception check on '_handleSaxTargetPI' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxTargetPI' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxTargetPI' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:629:5: Exception check on '_handleSaxPIEvent' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxPIEvent' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxPIEvent' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:648:5: Exception check on '_handleSaxTargetComment' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxTargetComment' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxTargetComment' to allow an error code to be returned. performance hint: src/lxml/saxparser.pxi:664:5: Exception check on '_handleSaxComment' will always require the GIL to be acquired. Possible solutions: 1. Declare '_handleSaxComment' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_handleSaxComment' to allow an error code to be returned. performance hint: src/lxml/serializer.pxi:203:5: Exception check on '_writeDoctype' will always require the GIL to be acquired. Possible solutions: 1. Declare '_writeDoctype' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_writeDoctype' to allow an error code to be returned. performance hint: src/lxml/serializer.pxi:209:5: Exception check on '_writeNodeToBuffer' will always require the GIL to be acquired. Possible solutions: 1. Declare '_writeNodeToBuffer' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_writeNodeToBuffer' to allow an error code to be returned. performance hint: src/lxml/serializer.pxi:270:5: Exception check on '_writeDeclarationToBuffer' will always require the GIL to be acquired. Possible solutions: 1. Declare '_writeDeclarationToBuffer' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_writeDeclarationToBuffer' to allow an error code to be returned. performance hint: src/lxml/serializer.pxi:286:5: Exception check on '_writeDtdToBuffer' will always require the GIL to be acquired. Possible solutions: 1. Declare '_writeDtdToBuffer' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_writeDtdToBuffer' to allow an error code to be returned. performance hint: src/lxml/serializer.pxi:357:5: Exception check on '_writeTail' will always require the GIL to be acquired. Possible solutions: 1. Declare '_writeTail' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_writeTail' to allow an error code to be returned. performance hint: src/lxml/serializer.pxi:371:5: Exception check on '_writePrevSiblings' will always require the GIL to be acquired. Possible solutions: 1. Declare '_writePrevSiblings' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_writePrevSiblings' to allow an error code to be returned. performance hint: src/lxml/serializer.pxi:389:5: Exception check on '_writeNextSiblings' will always require the GIL to be acquired. Possible solutions: 1. Declare '_writeNextSiblings' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_writeNextSiblings' to allow an error code to be returned. performance hint: src/lxml/extensions.pxi:396:5: Exception check on '_forwardXPathError' will always require the GIL to be acquired. Possible solutions: 1. Declare '_forwardXPathError' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_forwardXPathError' to allow an error code to be returned. performance hint: src/lxml/extensions.pxi:417:5: Exception check on '_receiveXPathError' will always require the GIL to be acquired. Possible solutions: 1. Declare '_receiveXPathError' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_receiveXPathError' to allow an error code to be returned. performance hint: src/lxml/extensions.pxi:853:5: Exception check on '_xpath_function_call' will always require the GIL to be acquired. Possible solutions: 1. Declare '_xpath_function_call' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_xpath_function_call' to allow an error code to be returned. performance hint: src/lxml/xslt.pxi:114:5: Exception check on '_xslt_store_resolver_exception' will always require the GIL to be acquired. Possible solutions: 1. Declare '_xslt_store_resolver_exception' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_xslt_store_resolver_exception' to allow an error code to be returned. performance hint: src/lxml/xsltext.pxi:162:5: Exception check on '_callExtensionElement' will always require the GIL to be acquired. Possible solutions: 1. Declare '_callExtensionElement' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_callExtensionElement' to allow an error code to be returned. warning: src/lxml/xmlerror.pxi:657:22: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:658:69: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:659:20: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:664:22: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:665:73: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:666:20: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:671:22: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:672:73: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:673:20: local variable 'args' referenced before assignment Error compiling Cython file: ------------------------------------------------------------ ... cdef stdio.FILE* c_stream cdef xmlparser.xmlParserInputBuffer* c_buffer c_buffer = xmlparser.xmlAllocParserInputBuffer(0) c_stream = python.PyFile_AsFile(self._filelike) if c_stream is NULL: c_buffer.readcallback = _readFilelikeParser ^ ------------------------------------------------------------ src/lxml/parser.pxi:292:37: Cannot assign type 'int (void *, char *, int) except? -1 nogil' to 'xmlInputReadCallback' (alias of 'int (*)(void *, char *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_readFilelikeParser'. Error compiling Cython file: ------------------------------------------------------------ ... c_stream = python.PyFile_AsFile(self._filelike) if c_stream is NULL: c_buffer.readcallback = _readFilelikeParser c_buffer.context = self else: c_buffer.readcallback = _readFileParser ^ ------------------------------------------------------------ src/lxml/parser.pxi:295:37: Cannot assign type 'int (void *, char *, int) except? -1 nogil' to 'xmlInputReadCallback' (alias of 'int (*)(void *, char *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_readFileParser'. Error compiling Cython file: ------------------------------------------------------------ ... else: c_encoding = _cstr(self._encoding) c_stream = python.PyFile_AsFile(self._filelike) if c_stream is NULL: c_read_callback = _readFilelikeParser ^ ------------------------------------------------------------ src/lxml/parser.pxi:326:31: Cannot assign type 'int (void *, char *, int) except? -1 nogil' to 'xmlInputReadCallback' (alias of 'int (*)(void *, char *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_readFilelikeParser'. Error compiling Cython file: ------------------------------------------------------------ ... c_stream = python.PyFile_AsFile(self._filelike) if c_stream is NULL: c_read_callback = _readFilelikeParser c_callback_context = self else: c_read_callback = _readFileParser ^ ------------------------------------------------------------ src/lxml/parser.pxi:329:31: Cannot assign type 'int (void *, char *, int) except? -1 nogil' to 'xmlInputReadCallback' (alias of 'int (*)(void *, char *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_readFileParser'. Error compiling Cython file: ------------------------------------------------------------ ... self._lock, python.WAIT_LOCK) if result == 0: raise ParserError, u"parser locking failed" self._error_log.clear() self._doc = None self._c_ctxt.sax.serror = _receiveParserError ^ ------------------------------------------------------------ src/lxml/parser.pxi:586:34: Cannot assign type 'void (void *, xmlError *) except * nogil' to 'xmlStructuredErrorFunc' (alias of 'void (*)(void *, xmlError *) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_receiveParserError'. Error compiling Cython file: ------------------------------------------------------------ ... raise MemoryError() cstring_h.memcpy(sax, &htmlparser.htmlDefaultSAXHandler, sizeof(htmlparser.htmlDefaultSAXHandler)) c_ctxt.sax = sax sax.initialized = xmlparser.XML_SAX2_MAGIC sax.serror = _receiveParserError ^ ------------------------------------------------------------ src/lxml/parser.pxi:922:25: Cannot assign type 'void (void *, xmlError *) except * nogil' to 'xmlStructuredErrorFunc' (alias of 'void (*)(void *, xmlError *) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_receiveParserError'. Error compiling Cython file: ------------------------------------------------------------ ... self._registerHtmlErrorHandler(c_ctxt) else: c_ctxt = xmlparser.xmlNewParserCtxt() if c_ctxt is NULL: raise MemoryError c_ctxt.sax.startDocument = _initSaxDocument ^ ------------------------------------------------------------ src/lxml/parser.pxi:938:35: Cannot assign type 'void (void *) except * nogil' to 'startDocumentSAXFunc' (alias of 'void (*)(void *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_initSaxDocument'. Error compiling Cython file: ------------------------------------------------------------ ... NULL, NULL, NULL, 0, c_filename) if c_ctxt is not NULL: xmlparser.xmlCtxtUseOptions(c_ctxt, self._parse_options) if c_ctxt is NULL: raise MemoryError() c_ctxt.sax.startDocument = _initSaxDocument ^ ------------------------------------------------------------ src/lxml/parser.pxi:957:35: Cannot assign type 'void (void *) except * nogil' to 'startDocumentSAXFunc' (alias of 'void (*)(void *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_initSaxDocument'. Error compiling Cython file: ------------------------------------------------------------ ... SAX_EVENT_START_NS | SAX_EVENT_END_NS): # intercept => overwrite orig callback # FIXME: also intercept on when collecting END events if sax.initialized == xmlparser.XML_SAX2_MAGIC: sax.startElementNs = _handleSaxTargetStart ^ ------------------------------------------------------------ src/lxml/saxparser.pxi:132:37: Cannot assign type 'void (void *, const_xmlChar *, const_xmlChar *, const_xmlChar *, int, const_xmlChar **, int, int, const_xmlChar **) except * nogil' to 'startElementNsSAX2Func' (alias of 'void (*)(void *, const_xmlChar *, const_xmlChar *, const_xmlChar *, int, const_xmlChar **, int, int, const_xmlChar **) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_handleSaxTargetStart'. Error compiling Cython file: ------------------------------------------------------------ ... # intercept => overwrite orig callback # FIXME: also intercept on when collecting END events if sax.initialized == xmlparser.XML_SAX2_MAGIC: sax.startElementNs = _handleSaxTargetStart if self._target._sax_event_filter & SAX_EVENT_START: sax.startElement = _handleSaxTargetStartNoNs ^ ------------------------------------------------------------ src/lxml/saxparser.pxi:134:35: Cannot assign type 'void (void *, const_xmlChar *, const_xmlChar **) except * nogil' to 'startElementSAXFunc' (alias of 'void (*)(void *, const_xmlChar *, const_xmlChar **) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_handleSaxTargetStartNoNs'. Error compiling Cython file: ------------------------------------------------------------ ... self._origSaxEnd = sax.endElementNs = NULL self._origSaxEndNoNs = sax.endElement = NULL if self._target._sax_event_filter & (SAX_EVENT_END | SAX_EVENT_END_NS): if sax.initialized == xmlparser.XML_SAX2_MAGIC: sax.endElementNs = _handleSaxEnd ^ ------------------------------------------------------------ src/lxml/saxparser.pxi:141:35: Cannot assign type 'void (void *, const_xmlChar *, const_xmlChar *, const_xmlChar *) except * nogil' to 'endElementNsSAX2Func' (alias of 'void (*)(void *, const_xmlChar *, const_xmlChar *, const_xmlChar *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_handleSaxEnd'. Error compiling Cython file: ------------------------------------------------------------ ... if self._target._sax_event_filter & (SAX_EVENT_END | SAX_EVENT_END_NS): if sax.initialized == xmlparser.XML_SAX2_MAGIC: sax.endElementNs = _handleSaxEnd if self._target._sax_event_filter & SAX_EVENT_END: sax.endElement = _handleSaxEndNoNs ^ ------------------------------------------------------------ src/lxml/saxparser.pxi:143:33: Cannot assign type 'void (void *, const_xmlChar *) except * nogil' to 'endElementSAXFunc' (alias of 'void (*)(void *, const_xmlChar *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_handleSaxEndNoNs'. Error compiling Cython file: ------------------------------------------------------------ ... if self._target._sax_event_filter & SAX_EVENT_END: sax.endElement = _handleSaxEndNoNs self._origSaxData = sax.characters = sax.cdataBlock = NULL if self._target._sax_event_filter & SAX_EVENT_DATA: sax.characters = sax.cdataBlock = _handleSaxData ^ ------------------------------------------------------------ src/lxml/saxparser.pxi:147:46: Cannot assign type 'void (void *, const_xmlChar *, int) except * nogil' to 'charactersSAXFunc' (alias of 'void (*)(void *, const_xmlChar *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_handleSaxData'. Error compiling Cython file: ------------------------------------------------------------ ... if self._target._sax_event_filter & SAX_EVENT_END: sax.endElement = _handleSaxEndNoNs self._origSaxData = sax.characters = sax.cdataBlock = NULL if self._target._sax_event_filter & SAX_EVENT_DATA: sax.characters = sax.cdataBlock = _handleSaxData ^ ------------------------------------------------------------ src/lxml/saxparser.pxi:147:46: Cannot assign type 'void (void *, const_xmlChar *, int) except * nogil' to 'cdataBlockSAXFunc' (alias of 'void (*)(void *, const_xmlChar *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_handleSaxData'. Error compiling Cython file: ------------------------------------------------------------ ... sax.characters = sax.cdataBlock = _handleSaxData # doctype propagation is always required for entity replacement self._origSaxDoctype = sax.internalSubset if self._target._sax_event_filter & SAX_EVENT_DOCTYPE: sax.internalSubset = _handleSaxTargetDoctype ^ ------------------------------------------------------------ src/lxml/saxparser.pxi:152:33: Cannot assign type 'void (void *, const_xmlChar *, const_xmlChar *, const_xmlChar *) except * nogil' to 'internalSubsetSAXFunc' (alias of 'void (*)(void *, const_xmlChar *, const_xmlChar *, const_xmlChar *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_handleSaxTargetDoctype'. Error compiling Cython file: ------------------------------------------------------------ ... if self._target._sax_event_filter & SAX_EVENT_DOCTYPE: sax.internalSubset = _handleSaxTargetDoctype self._origSaxPI = sax.processingInstruction = NULL if self._target._sax_event_filter & SAX_EVENT_PI: sax.processingInstruction = _handleSaxTargetPI ^ ------------------------------------------------------------ src/lxml/saxparser.pxi:156:40: Cannot assign type 'void (void *, const_xmlChar *, const_xmlChar *) except * nogil' to 'processingInstructionSAXFunc' (alias of 'void (*)(void *, const_xmlChar *, const_xmlChar *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_handleSaxTargetPI'. Error compiling Cython file: ------------------------------------------------------------ ... if self._target._sax_event_filter & SAX_EVENT_PI: sax.processingInstruction = _handleSaxTargetPI self._origSaxComment = sax.comment = NULL if self._target._sax_event_filter & SAX_EVENT_COMMENT: sax.comment = _handleSaxTargetComment ^ ------------------------------------------------------------ src/lxml/saxparser.pxi:160:26: Cannot assign type 'void (void *, const_xmlChar *) except * nogil' to 'commentSAXFunc' (alias of 'void (*)(void *, const_xmlChar *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_handleSaxTargetComment'. Error compiling Cython file: ------------------------------------------------------------ ... cdef void _connectEvents(self, xmlparser.xmlParserCtxt* c_ctxt): """Wrap original SAX2 callbacks to collect parse events without parser target. """ sax = c_ctxt.sax self._origSaxStartDocument = sax.startDocument sax.startDocument = _handleSaxStartDocument ^ ------------------------------------------------------------ src/lxml/saxparser.pxi:171:28: Cannot assign type 'void (void *) except * nogil' to 'startDocumentSAXFunc' (alias of 'void (*)(void *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_handleSaxStartDocument'. Error compiling Cython file: ------------------------------------------------------------ ... cdef tree.xmlOutputBuffer* _createOutputBuffer( self, tree.xmlCharEncodingHandler* enchandler) except NULL: cdef tree.xmlOutputBuffer* c_buffer c_buffer = tree.xmlOutputBufferCreateIO( _writeFilelikeWriter, _closeFilelikeWriter, ^ ------------------------------------------------------------ src/lxml/serializer.pxi:671:63: Cannot assign type 'int (void *) except? -1' to 'xmlOutputCloseCallback' (alias of 'int (*)(void *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_closeFilelikeWriter'. Error compiling Cython file: ------------------------------------------------------------ ... return utf cdef void _set_xpath_context(self, xpath.xmlXPathContext* xpathCtxt): self._xpathCtxt = xpathCtxt xpathCtxt.userData = self xpathCtxt.error = _receiveXPathError ^ ------------------------------------------------------------ src/lxml/extensions.pxi:135:26: Cannot assign type 'void (void *, xmlError *) except * nogil' to 'xmlStructuredErrorFunc' (alias of 'void (*)(void *, xmlError *) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_receiveXPathError'. Error compiling Cython file: ------------------------------------------------------------ ... cdef int _register_xpath_function(void* ctxt, name_utf, ns_utf): if ns_utf is None: return xpath.xmlXPathRegisterFunc( ctxt, _xcstr(name_utf), _xpath_function_call) ^ ------------------------------------------------------------ src/lxml/xpath.pxi:33:12: Cannot assign type 'void (xmlXPathParserContext *, int) except * nogil' to 'xmlXPathFunction' (alias of 'void (*)(xmlXPathParserContext *, int) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_xpath_function_call'. Error compiling Cython file: ------------------------------------------------------------ ... ctxt, _xcstr(name_utf), _xpath_function_call) else: return xpath.xmlXPathRegisterFuncNS( ctxt, _xcstr(name_utf), _xcstr(ns_utf), _xpath_function_call) ^ ------------------------------------------------------------ src/lxml/xpath.pxi:37:12: Cannot assign type 'void (xmlXPathParserContext *, int) except * nogil' to 'xmlXPathFunction' (alias of 'void (*)(xmlXPathParserContext *, int) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_xpath_function_call'. Error compiling Cython file: ------------------------------------------------------------ ... cdef void registerExsltFunctions(self): if xslt.LIBXSLT_VERSION < 10125: # we'd only execute dummy functions anyway return tree.xmlHashScan( self._xpathCtxt.nsHash, _registerExsltFunctionsForNamespaces, ^ ------------------------------------------------------------ src/lxml/xpath.pxi:86:36: Cannot assign type 'void (void *, void *, const_xmlChar *) except *' to 'xmlHashScanner' (alias of 'void (*)(void *, void *, const_xmlChar *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_registerExsltFunctionsForNamespaces'. Error compiling Cython file: ------------------------------------------------------------ ... self._error_log._buildExceptionMessage( u"Document is not parsable as Relax NG"), self._error_log) relaxng.xmlRelaxNGSetParserStructuredErrors( parser_ctxt, _receiveError, self._error_log) ^ ------------------------------------------------------------ src/lxml/relaxng.pxi:91:25: Cannot assign type 'void (void *, xmlError *) except * nogil' to 'xmlStructuredErrorFunc' (alias of 'void (*)(void *, xmlError *) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_receiveError'. Error compiling Cython file: ------------------------------------------------------------ ... raise MemoryError() try: self._error_log.clear() relaxng.xmlRelaxNGSetValidStructuredErrors( valid_ctxt, _receiveError, self._error_log) ^ ------------------------------------------------------------ src/lxml/relaxng.pxi:133:28: Cannot assign type 'void (void *, xmlError *) except * nogil' to 'xmlStructuredErrorFunc' (alias of 'void (*)(void *, xmlError *) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_receiveError'. Error compiling Cython file: ------------------------------------------------------------ ... if parser_ctxt is NULL: raise MemoryError() xmlschema.xmlSchemaSetParserStructuredErrors( parser_ctxt, _receiveError, self._error_log) ^ ------------------------------------------------------------ src/lxml/xmlschema.pxi:73:25: Cannot assign type 'void (void *, xmlError *) except * nogil' to 'xmlStructuredErrorFunc' (alias of 'void (*)(void *, xmlError *) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_receiveError'. Error compiling Cython file: ------------------------------------------------------------ ... xmlschema.xmlSchemaSetValidOptions( valid_ctxt, xmlschema.XML_SCHEMA_VAL_VC_I_CREATE) self._error_log.clear() xmlschema.xmlSchemaSetValidStructuredErrors( valid_ctxt, _receiveError, self._error_log) ^ ------------------------------------------------------------ src/lxml/xmlschema.pxi:129:28: Cannot assign type 'void (void *, xmlError *) except * nogil' to 'xmlStructuredErrorFunc' (alias of 'void (*)(void *, xmlError *) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_receiveError'. Error compiling Cython file: ------------------------------------------------------------ ... if self._add_default_attributes: xmlschema.xmlSchemaSetValidOptions( self._valid_ctxt, xmlschema.XML_SCHEMA_VAL_VC_I_CREATE) if error_log is not None: xmlschema.xmlSchemaSetValidStructuredErrors( self._valid_ctxt, _receiveError, error_log) ^ ------------------------------------------------------------ src/lxml/xmlschema.pxi:197:34: Cannot assign type 'void (void *, xmlError *) except * nogil' to 'xmlStructuredErrorFunc' (alias of 'void (*)(void *, xmlError *) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_receiveError'. Error compiling Cython file: ------------------------------------------------------------ ... raise MemoryError() try: self._error_log.clear() schematron.xmlSchematronSetValidStructuredErrors( valid_ctxt, _receiveError, self._error_log) ^ ------------------------------------------------------------ src/lxml/schematron.pxi:152:28: Cannot assign type 'void (void *, xmlError *) except * nogil' to 'xmlStructuredErrorFunc' (alias of 'void (*)(void *, xmlError *) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_receiveError'. Traceback (most recent call last): File "/usr/lib/rpm/anolis/pyproject_buildrequires.py", line 555, in main generate_requires( File "/usr/lib/rpm/anolis/pyproject_buildrequires.py", line 451, in generate_requires generate_build_requirements(backend, requirements) File "/usr/lib/rpm/anolis/pyproject_buildrequires.py", line 274, in generate_build_requirements new_reqs = get_requires(config_settings=requirements.config_settings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires self.run_setup() File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 488, in run_setup self).run_setup(setup_script=setup_script) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 273, in File "", line 165, in setup_extra_options File "/builddir/build/BUILD/lxml-lxml-4.9.2/setupinfo.py", line 180, in ext_modules result = cythonize(result, compiler_directives=cythonize_directives) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize cythonize_one(*args) File "/usr/lib64/python3.11/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: src/lxml/etree.pyx Building lxml version 4.9.2. Building with Cython 3.0.10. Building against libxml2 2.11.5 and libxslt 1.1.39 Compiling src/lxml/etree.pyx because it changed. Compiling src/lxml/objectify.pyx because it changed. Compiling src/lxml/builder.py because it changed. Compiling src/lxml/_elementpath.py because it changed. Compiling src/lxml/html/diff.py because it changed. Compiling src/lxml/html/clean.py because it changed. Compiling src/lxml/sax.py because it changed. [1/7] Cythonizing src/lxml/_elementpath.py [2/7] Cythonizing src/lxml/builder.py [3/7] Cythonizing src/lxml/etree.pyx error: Bad exit status from /var/tmp/rpm-tmp.2T8EIg (%generate_buildrequires) Bad exit status from /var/tmp/rpm-tmp.2T8EIg (%generate_buildrequires) RPM build errors: Child return code was: 1