Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-lxml.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv-build-438860-73130/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1744848000 Wrote: /builddir/build/SRPMS/python-lxml-5.3.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-lxml.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv-build-438860-73130/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1744848000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2Dg6JE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lxml-lxml-5.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lxml-5.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lxml-lxml-5.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -type f -name '*.c' -print -delete + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pmjqro + umask 022 + cd /builddir/build/BUILD + 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 -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 -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 -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 -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 + cd lxml-lxml-5.3.0 + 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 -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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /builddir/build/BUILD/lxml-lxml-5.3.0/setup.py:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources Error compiling Cython file: ------------------------------------------------------------ ... bint progressive int inSubset int charset xmlParserInput* input int inputNr xmlParserInput* inputTab[] ^ ------------------------------------------------------------ src/lxml/includes/xmlparser.pxd:158:22: Variable type 'xmlParserInput *[]' is incomplete warning: src/lxml/xmlerror.pxi:660:22: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:661:69: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:662:20: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:667:22: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:668:73: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:669:20: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:674:22: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:675:73: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:676:20: local variable 'args' referenced before assignment Error compiling Cython file: ------------------------------------------------------------ ... # Copied from xmlVErrParser() in libxml2: get current input from stack. if parser_input and parser_input.filename is NULL and c_ctxt.inputNr > 1: parser_input = c_ctxt.inputTab[c_ctxt.inputNr - 2] c_error = xmlerror.xmlError( domain=xmlerror.xmlErrorDomain.XML_FROM_PARSER, ^ ------------------------------------------------------------ src/lxml/parser.pxi:1259:12: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if parser_input and parser_input.filename is NULL and c_ctxt.inputNr > 1: parser_input = c_ctxt.inputTab[c_ctxt.inputNr - 2] c_error = xmlerror.xmlError( domain=xmlerror.xmlErrorDomain.XML_FROM_PARSER, code=xmlerror.xmlParserErrors.XML_ERR_EXT_ENTITY_STANDALONE, ^ ------------------------------------------------------------ src/lxml/parser.pxi:1260:12: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... parser_input = c_ctxt.inputTab[c_ctxt.inputNr - 2] c_error = xmlerror.xmlError( domain=xmlerror.xmlErrorDomain.XML_FROM_PARSER, code=xmlerror.xmlParserErrors.XML_ERR_EXT_ENTITY_STANDALONE, level=xmlerror.xmlErrorLevel.XML_ERR_FATAL, ^ ------------------------------------------------------------ src/lxml/parser.pxi:1261:12: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... c_error = xmlerror.xmlError( domain=xmlerror.xmlErrorDomain.XML_FROM_PARSER, code=xmlerror.xmlParserErrors.XML_ERR_EXT_ENTITY_STANDALONE, level=xmlerror.xmlErrorLevel.XML_ERR_FATAL, message=b"External entity resolution is disabled for security reasons " ^ ------------------------------------------------------------ src/lxml/parser.pxi:1262:12: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... code=xmlerror.xmlParserErrors.XML_ERR_EXT_ENTITY_STANDALONE, level=xmlerror.xmlErrorLevel.XML_ERR_FATAL, message=b"External entity resolution is disabled for security reasons " b"when resolving '&%s;'. Use 'XMLParser(resolve_entities=True)' " b"if you consider it safe to enable it.", file=parser_input.filename, ^ ------------------------------------------------------------ src/lxml/parser.pxi:1265:12: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... level=xmlerror.xmlErrorLevel.XML_ERR_FATAL, message=b"External entity resolution is disabled for security reasons " b"when resolving '&%s;'. Use 'XMLParser(resolve_entities=True)' " b"if you consider it safe to enable it.", file=parser_input.filename, node=entity, ^ ------------------------------------------------------------ src/lxml/parser.pxi:1266:12: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... message=b"External entity resolution is disabled for security reasons " b"when resolving '&%s;'. Use 'XMLParser(resolve_entities=True)' " b"if you consider it safe to enable it.", file=parser_input.filename, node=entity, str1= name, ^ ------------------------------------------------------------ src/lxml/parser.pxi:1267:12: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... b"when resolving '&%s;'. Use 'XMLParser(resolve_entities=True)' " b"if you consider it safe to enable it.", file=parser_input.filename, node=entity, str1= name, str2=NULL, ^ ------------------------------------------------------------ src/lxml/parser.pxi:1268:12: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... b"if you consider it safe to enable it.", file=parser_input.filename, node=entity, str1= name, str2=NULL, str3=NULL, ^ ------------------------------------------------------------ src/lxml/parser.pxi:1269:12: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... file=parser_input.filename, node=entity, str1= name, str2=NULL, str3=NULL, line=parser_input.line if parser_input else 0, ^ ------------------------------------------------------------ src/lxml/parser.pxi:1270:12: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... node=entity, str1= name, str2=NULL, str3=NULL, line=parser_input.line if parser_input else 0, int1=0, ^ ------------------------------------------------------------ src/lxml/parser.pxi:1271:12: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... str1= name, str2=NULL, str3=NULL, line=parser_input.line if parser_input else 0, int1=0, int2=parser_input.col if parser_input else 0, ^ ------------------------------------------------------------ src/lxml/parser.pxi:1272:12: Operation not allowed without gil Building lxml version 5.3.0. Building with Cython 0.29.32. Building against libxml2 2.11.5 and libxslt 1.1.37 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/sax.py because it changed. [1/6] Cythonizing src/lxml/_elementpath.py [2/6] Cythonizing src/lxml/builder.py [3/6] Cythonizing src/lxml/etree.pyx Traceback (most recent call last): File "/builddir/build/BUILD/lxml-lxml-5.3.0/setup.py", line 273, in **setup_extra_options() ^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/lxml-lxml-5.3.0/setup.py", line 166, in setup_extra_options ext_modules = setupinfo.ext_modules( ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/lxml-lxml-5.3.0/setupinfo.py", line 177, in ext_modules result = cythonize(result, compiler_directives=cythonize_directives) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/Cython/Build/Dependencies.py", line 1127, in cythonize cythonize_one(*args) File "/usr/lib64/python3.11/site-packages/Cython/Build/Dependencies.py", line 1250, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: src/lxml/etree.pyx RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.pmjqro (%build) Bad exit status from /var/tmp/rpm-tmp.pmjqro (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-lxml.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-lxml.spec