Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-cffi.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-311094-66339/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=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'ec9ae212cf0b42918a0a8f7c4245f2b6', '-D', '/var/lib/mock/dist-an23-loongarch-build-311094-66339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '--console=pipe', '--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 loongarch64 --nodeps /builddir/build/SPECS/python-cffi.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: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1677456000 Wrote: /builddir/build/SRPMS/python-cffi-1.15.1-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-cffi.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-311094-66339/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=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '90ec84885e4c4628b419e96ed0fc9e98', '-D', '/var/lib/mock/dist-an23-loongarch-build-311094-66339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '--console=pipe', '--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 loongarch64 --nodeps /builddir/build/SPECS/python-cffi.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: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1677456000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9n7zP7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cffi-1.15.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cffi-1.15.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cffi-1.15.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.5w4psZ + umask 022 + cd /builddir/build/BUILD + cd cffi-1.15.1 + 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 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-cffi-1.15.1-2.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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-cffi.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-311094-66339/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=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '412184d02f21456e95ca55d85edf585a', '-D', '/var/lib/mock/dist-an23-loongarch-build-311094-66339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '--console=pipe', '--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 loongarch64 --nodeps /builddir/build/SPECS/python-cffi.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: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1677456000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ngfj2Y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cffi-1.15.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cffi-1.15.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cffi-1.15.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.dFiqUa + umask 022 + cd /builddir/build/BUILD + cd cffi-1.15.1 + 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 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) HOOK STDOUT: running egg_info HOOK STDOUT: writing cffi.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to cffi.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to cffi.egg-info/entry_points.txt HOOK STDOUT: writing requirements to cffi.egg-info/requires.txt HOOK STDOUT: writing top-level names to cffi.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'cffi.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'cffi.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) HOOK STDOUT: compiling '_configtest.c': HOOK STDOUT: __thread int some_threadlocal_variable_42; HOOK STDOUT: HOOK STDOUT: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -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 -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 -fPIC -c _configtest.c -o _configtest.o HOOK STDOUT: success! HOOK STDOUT: removing: _configtest.c _configtest.o HOOK STDOUT: compiling '_configtest.c': HOOK STDOUT: int main(void) { __sync_synchronize(); return 0; } HOOK STDOUT: HOOK STDOUT: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -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 -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 -fPIC -c _configtest.c -o _configtest.o HOOK STDOUT: gcc _configtest.o -o _configtest HOOK STDOUT: success! HOOK STDOUT: removing: _configtest.c _configtest.o _configtest HOOK STDOUT: running dist_info HOOK STDOUT: writing cffi.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to cffi.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to cffi.egg-info/entry_points.txt HOOK STDOUT: writing requirements to cffi.egg-info/requires.txt HOOK STDOUT: writing top-level names to cffi.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'cffi.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'cffi.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/cffi-1.15.1/cffi-1.15.1.dist-info' Handling pycparser from wheel metadata: Requires-Dist Requirement satisfied: pycparser (installed: pycparser 2.21) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-cffi-1.15.1-2.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 -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-cffi.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-311094-66339/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=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'c306d0efc9fe48a9b7165bceb9455c64', '-D', '/var/lib/mock/dist-an23-loongarch-build-311094-66339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '--console=pipe', '--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 -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-cffi.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: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1677456000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.aaOVzW + umask 022 + cd /builddir/build/BUILD + cd cffi-1.15.1 + 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 cffi-1.15.1.dist-info/ removed 'cffi-1.15.1.dist-info/entry_points.txt' removed 'cffi-1.15.1.dist-info/top_level.txt' removed 'cffi-1.15.1.dist-info/METADATA' removed 'cffi-1.15.1.dist-info/LICENSE' removed directory 'cffi-1.15.1.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) HOOK STDOUT: running egg_info HOOK STDOUT: writing cffi.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to cffi.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to cffi.egg-info/entry_points.txt HOOK STDOUT: writing requirements to cffi.egg-info/requires.txt HOOK STDOUT: writing top-level names to cffi.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'cffi.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'cffi.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) HOOK STDOUT: compiling '_configtest.c': HOOK STDOUT: __thread int some_threadlocal_variable_42; HOOK STDOUT: HOOK STDOUT: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -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 -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 -fPIC -c _configtest.c -o _configtest.o HOOK STDOUT: success! HOOK STDOUT: removing: _configtest.c _configtest.o HOOK STDOUT: compiling '_configtest.c': HOOK STDOUT: int main(void) { __sync_synchronize(); return 0; } HOOK STDOUT: HOOK STDOUT: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -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 -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 -fPIC -c _configtest.c -o _configtest.o HOOK STDOUT: gcc _configtest.o -o _configtest HOOK STDOUT: success! HOOK STDOUT: removing: _configtest.c _configtest.o _configtest HOOK STDOUT: running dist_info HOOK STDOUT: writing cffi.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to cffi.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to cffi.egg-info/entry_points.txt HOOK STDOUT: writing requirements to cffi.egg-info/requires.txt HOOK STDOUT: writing top-level names to cffi.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'cffi.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'cffi.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/cffi-1.15.1/cffi-1.15.1.dist-info' Handling pycparser from wheel metadata: Requires-Dist Requirement satisfied: pycparser (installed: pycparser 2.21) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XWaDdS + 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 cffi-1.15.1 + mkdir -p /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir + 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 ' + TMPDIR=/builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/cffi-1.15.1/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Processing /builddir/build/BUILD/cffi-1.15.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running dist_info creating /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-962g9iih/cffi.egg-info writing /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-962g9iih/cffi.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-962g9iih/cffi.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-962g9iih/cffi.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-962g9iih/cffi.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-962g9iih/cffi.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-962g9iih/cffi.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-962g9iih/cffi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-962g9iih/cffi.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-962g9iih/cffi-1.15.1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: cffi Building wheel for cffi (pyproject.toml): started Running command Building wheel for cffi (pyproject.toml) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_py creating build creating build/lib.linux-loongarch64-cpython-310 creating build/lib.linux-loongarch64-cpython-310/cffi copying cffi/__init__.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/api.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/backend_ctypes.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/cffi_opcode.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/commontypes.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/cparser.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/error.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/ffiplatform.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/lock.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/model.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/pkgconfig.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/recompiler.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/setuptools_ext.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/vengine_cpy.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/vengine_gen.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/verifier.py -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/_cffi_include.h -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/parse_c_type.h -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/_embedding.h -> build/lib.linux-loongarch64-cpython-310/cffi copying cffi/_cffi_errors.h -> build/lib.linux-loongarch64-cpython-310/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-loongarch64-cpython-310 creating build/temp.linux-loongarch64-cpython-310/c gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -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 -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 -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 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.10 -c c/_cffi_backend.c -o build/temp.linux-loongarch64-cpython-310/c/_cffi_backend.o gcc -shared -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 -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 -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 -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 build/temp.linux-loongarch64-cpython-310/c/_cffi_backend.o -L/usr/lib64 -lffi -lpython3.10 -o build/lib.linux-loongarch64-cpython-310/_cffi_backend.cpython-310-loongarch64-linux-gnu.so installing to build/bdist.linux-loongarch64/wheel running install running install_lib creating build/bdist.linux-loongarch64 creating build/bdist.linux-loongarch64/wheel creating build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/__init__.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/api.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/backend_ctypes.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/cffi_opcode.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/commontypes.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/cparser.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/error.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/ffiplatform.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/lock.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/model.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/pkgconfig.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/recompiler.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/setuptools_ext.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/vengine_cpy.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/vengine_gen.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/verifier.py -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/_cffi_include.h -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/parse_c_type.h -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/_embedding.h -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/cffi/_cffi_errors.h -> build/bdist.linux-loongarch64/wheel/cffi copying build/lib.linux-loongarch64-cpython-310/_cffi_backend.cpython-310-loongarch64-linux-gnu.so -> build/bdist.linux-loongarch64/wheel running install_egg_info running egg_info writing cffi.egg-info/PKG-INFO writing dependency_links to cffi.egg-info/dependency_links.txt writing entry points to cffi.egg-info/entry_points.txt writing requirements to cffi.egg-info/requires.txt writing top-level names to cffi.egg-info/top_level.txt reading manifest file 'cffi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'cffi.egg-info/SOURCES.txt' Copying cffi.egg-info to build/bdist.linux-loongarch64/wheel/cffi-1.15.1-py3.10.egg-info running install_scripts creating build/bdist.linux-loongarch64/wheel/cffi-1.15.1.dist-info/WHEEL creating '/builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-wheel-_f9n8dj5/tmpzah8num6/cffi-1.15.1-cp310-cp310-linux_loongarch64.whl' and adding 'build/bdist.linux-loongarch64/wheel' to it adding '_cffi_backend.cpython-310-loongarch64-linux-gnu.so' adding 'cffi/__init__.py' adding 'cffi/_cffi_errors.h' adding 'cffi/_cffi_include.h' adding 'cffi/_embedding.h' adding 'cffi/api.py' adding 'cffi/backend_ctypes.py' adding 'cffi/cffi_opcode.py' adding 'cffi/commontypes.py' adding 'cffi/cparser.py' adding 'cffi/error.py' adding 'cffi/ffiplatform.py' adding 'cffi/lock.py' adding 'cffi/model.py' adding 'cffi/parse_c_type.h' adding 'cffi/pkgconfig.py' adding 'cffi/recompiler.py' adding 'cffi/setuptools_ext.py' adding 'cffi/vengine_cpy.py' adding 'cffi/vengine_gen.py' adding 'cffi/verifier.py' adding 'cffi-1.15.1.dist-info/LICENSE' adding 'cffi-1.15.1.dist-info/METADATA' adding 'cffi-1.15.1.dist-info/WHEEL' adding 'cffi-1.15.1.dist-info/entry_points.txt' adding 'cffi-1.15.1.dist-info/top_level.txt' adding 'cffi-1.15.1.dist-info/RECORD' removing build/bdist.linux-loongarch64/wheel Building wheel for cffi (pyproject.toml): finished with status 'done' Created wheel for cffi: filename=cffi-1.15.1-cp310-cp310-linux_loongarch64.whl size=419363 sha256=b6ea569fcca58376bd0a40dcd847dfcd08cd5518c8d33f6a70269f677614217a Stored in directory: /builddir/.cache/pip/wheels/8b/5e/fb/ee3f134da6fa9a65d9fdbb49415d0fc0ac2d8f734a71fe19b7 Successfully built cffi + cd doc + make SPHINXBUILD=sphinx-build-3 html sphinx-build-3 -b html -d build/doctrees source build/html Running Sphinx v6.1.3 making output directory... done building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 9 source files that are out of date updating environment: [new config] 9 added, 0 changed, 0 removed reading sources... [ 11%] cdef reading sources... [ 22%] embedding reading sources... [ 33%] goals reading sources... [ 44%] index reading sources... [ 55%] installation reading sources... [ 66%] overview reading sources... [ 77%] ref reading sources... [ 88%] using reading sources... [100%] whatsnew looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 11%] cdef writing output... [ 22%] embedding writing output... [ 33%] goals writing output... [ 44%] index writing output... [ 55%] installation writing output... [ 66%] overview writing output... [ 77%] ref writing output... [ 88%] using writing output... [100%] whatsnew generating indices... genindex done writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in build/html. Build finished. The HTML pages are in build/html. + rm build/html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Cqt2hw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64 ++ dirname /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64 + 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 cffi-1.15.1 ++ ls /builddir/build/BUILD/cffi-1.15.1/pyproject-wheeldir/cffi-1.15.1-cp310-cp310-linux_loongarch64.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple + specifier=cffi==1.15.1 + TMPDIR=/builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64 --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/cffi-1.15.1/pyproject-wheeldir cffi==1.15.1 Using pip 23.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/cffi-1.15.1/pyproject-wheeldir Processing ./pyproject-wheeldir/cffi-1.15.1-cp310-cp310-linux_loongarch64.whl Installing collected packages: cffi Successfully installed cffi-1.15.1 + '[' -d /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib/python3.10/site-packages ']' + '[' /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib64/python3.10/site-packages ']' + site_dirs+=("/usr/lib64/python3.10/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.10/site-packages/cffi-1.15.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib64/python3.10/site-packages/cffi-1.15.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/anolis + /usr/bin/python3 -B /usr/lib/rpm/anolis/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64 --record /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib64/python3.10/site-packages/cffi-1.15.1.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib64/python3.10/site-packages/cffi-1.15.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib64/python3.10/site-packages/cffi-1.15.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib64/python3.10/site-packages/cffi-1.15.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib64/python3.10/site-packages/cffi-1.15.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.15.1-2.an23 --unique-debug-suffix -1.15.1-2.an23.loongarch64 --unique-debug-src-base python-cffi-1.15.1-2.an23.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cffi-1.15.1 extracting debug info from /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib64/python3.10/site-packages/_cffi_backend.cpython-310-loongarch64-linux-gnu.so original debug info size: 1624kB, size after compression: 1608kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 946 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib64/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib/debug/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0V94YL + 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 cffi-1.15.1 + PYTHONPATH=/builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.loongarch64/usr/lib64/python3.10/site-packages + /usr/bin/python3 -m pytest c/ testing/ ============================= test session starts ============================== platform linux -- Python 3.10.12, pytest-7.3.1, pluggy-1.0.0 rootdir: /builddir/build/BUILD/cffi-1.15.1 collected 2028 items / 1 error ==================================== ERRORS ==================================== ________ ERROR collecting testing/cffi1/test_dlopen_unicode_literals.py ________ testing/cffi1/test_dlopen_unicode_literals.py:9: in exec(py.code.compile(s)) E AttributeError: module 'py' has no attribute 'code' =============================== warnings summary =============================== testing/cffi0/test_zdistutils.py:1 /builddir/build/BUILD/cffi-1.15.1/testing/cffi0/test_zdistutils.py:1: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import sys, os, imp, math, shutil ../../../../usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508 /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR testing/cffi1/test_dlopen_unicode_literals.py - AttributeError: module ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 9.92s ========================= RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.0V94YL (%check) Bad exit status from /var/tmp/rpm-tmp.0V94YL (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M c306d0efc9fe48a9b7165bceb9455c64 -D /var/lib/mock/dist-an23-loongarch-build-311094-66339/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --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 --console=pipe --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 -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-cffi.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M c306d0efc9fe48a9b7165bceb9455c64 -D /var/lib/mock/dist-an23-loongarch-build-311094-66339/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.0b5qjnux:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --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 --console=pipe --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 -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-cffi.spec