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 x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-363119-71220/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-363119-71220/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1677456000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Iv0Mbx + 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.84FZnA + umask 022 + cd /builddir/build/BUILD + cd cffi-1.15.1 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/cffi-1.15.1/.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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 + 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/cffi-1.15.1/pyproject-wheeldir --output /builddir/build/BUILD/python-cffi-1.15.1-2.an23.x86_64-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-cffi-1.15.1-2.an23.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + 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 x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-363119-71220/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1677456000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pA3RRH + 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.EBidOY + umask 022 + cd /builddir/build/BUILD + cd cffi-1.15.1 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/cffi-1.15.1/.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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 + 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/cffi-1.15.1/pyproject-wheeldir --output /builddir/build/BUILD/python-cffi-1.15.1-2.an23.x86_64-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) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) 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' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) compiling '_configtest.c': __thread int some_threadlocal_variable_42; gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c _configtest.c -o _configtest.o success! removing: _configtest.c _configtest.o compiling '_configtest.c': int main(void) { __sync_synchronize(); return 0; } gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c _configtest.c -o _configtest.o gcc _configtest.o -o _configtest success! removing: _configtest.c _configtest.o _configtest /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running dist_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' creating '/builddir/build/BUILD/cffi-1.15.1/cffi-1.15.1.dist-info' Handling pycparser from hook generated metadata: Requires-Dist (cffi) Requirement satisfied: pycparser (installed: pycparser 2.21) + cat /builddir/build/BUILD/python-cffi-1.15.1-2.an23.x86_64-pyproject-buildrequires + 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/' + 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 x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-363119-71220/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1677456000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.659t35 + umask 022 + cd /builddir/build/BUILD + cd cffi-1.15.1 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/cffi-1.15.1/.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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 + 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/cffi-1.15.1/pyproject-wheeldir --output /builddir/build/BUILD/python-cffi-1.15.1-2.an23.x86_64-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) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) 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' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) compiling '_configtest.c': __thread int some_threadlocal_variable_42; gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c _configtest.c -o _configtest.o success! removing: _configtest.c _configtest.o compiling '_configtest.c': int main(void) { __sync_synchronize(); return 0; } gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c _configtest.c -o _configtest.o gcc _configtest.o -o _configtest success! removing: _configtest.c _configtest.o _configtest /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running dist_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' creating '/builddir/build/BUILD/cffi-1.15.1/cffi-1.15.1.dist-info' Handling pycparser from hook generated metadata: Requires-Dist (cffi) Requirement satisfied: pycparser (installed: pycparser 2.21) + cat /builddir/build/BUILD/python-cffi-1.15.1-2.an23.x86_64-pyproject-buildrequires + 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/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Fy3L1H + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -Bs /usr/lib/rpm/anolis/pyproject_wheel.py /builddir/build/BUILD/cffi-1.15.1/pyproject-wheeldir 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.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running dist_info creating /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-50fh7vd6/cffi.egg-info writing /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-50fh7vd6/cffi.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-50fh7vd6/cffi.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-50fh7vd6/cffi.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-50fh7vd6/cffi.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-50fh7vd6/cffi.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-50fh7vd6/cffi.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-50fh7vd6/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-50fh7vd6/cffi.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-modern-metadata-50fh7vd6/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.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/cffi copying cffi/__init__.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/api.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/commontypes.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/cparser.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/error.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/ffiplatform.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/lock.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/model.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/pkgconfig.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/recompiler.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/vengine_gen.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/verifier.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/_cffi_include.h -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/parse_c_type.h -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/_embedding.h -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-cpython-311/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/c gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.11 -c c/_cffi_backend.c -o build/temp.linux-x86_64-cpython-311/c/_cffi_backend.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-311/c/_cffi_backend.o -L/usr/lib64/../lib64 -L/usr/lib64 -lffi -o build/lib.linux-x86_64-cpython-311/_cffi_backend.cpython-311-x86_64-linux-gnu.so installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/__init__.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/api.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/backend_ctypes.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/cffi_opcode.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/commontypes.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/cparser.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/error.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/ffiplatform.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/lock.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/model.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/pkgconfig.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/recompiler.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/setuptools_ext.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/vengine_cpy.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/vengine_gen.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/verifier.py -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/_cffi_include.h -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/parse_c_type.h -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/_embedding.h -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/cffi/_cffi_errors.h -> build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-311/_cffi_backend.cpython-311-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/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-x86_64/wheel/cffi-1.15.1-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/cffi-1.15.1.dist-info/WHEEL creating '/builddir/build/BUILD/cffi-1.15.1/.pyproject-builddir/pip-wheel-p1v2iuae/.tmp-ns91pw0k/cffi-1.15.1-cp311-cp311-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding '_cffi_backend.cpython-311-x86_64-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-x86_64/wheel Building wheel for cffi (pyproject.toml): finished with status 'done' Created wheel for cffi: filename=cffi-1.15.1-cp311-cp311-linux_x86_64.whl size=405251 sha256=9f5173c745089c886b1b81303e20cbc28b66f4a3538c99b717536acd55cb7ae7 Stored in directory: /builddir/.cache/pip/wheels/88/b8/17/e4cdee613c0ac5a9bcb0da083acc678b8c081050ee383e5982 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.cw5YNK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-cp311-cp311-linux_x86_64.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + 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.x86_64 --prefix /usr --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.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/cffi-1.15.1/pyproject-wheeldir Processing ./pyproject-wheeldir/cffi-1.15.1-cp311-cp311-linux_x86_64.whl Installing collected packages: cffi Successfully installed cffi-1.15.1 + '[' -d /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/bin ']' + rm -f /builddir/build/BUILD/python-cffi-1.15.1-2.an23.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib/python3.11/site-packages ']' + '[' /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib64/python3.11/site-packages ']' + site_dirs+=("/usr/lib64/python3.11/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.11/site-packages/cffi-1.15.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib64/python3.11/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.x86_64 --record /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib64/python3.11/site-packages/cffi-1.15.1.dist-info/RECORD --output /builddir/build/BUILD/python-cffi-1.15.1-2.an23.x86_64-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib64/python3.11/site-packages/cffi-1.15.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib64/python3.11/site-packages/cffi-1.15.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib64/python3.11/site-packages/cffi-1.15.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib64/python3.11/site-packages/cffi-1.15.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-cffi-1.15.1-2.an23.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 1.15.1-2.an23 --unique-debug-suffix -1.15.1-2.an23.x86_64 --unique-debug-src-base python-cffi-1.15.1-2.an23.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/cffi-1.15.1 extracting debug info from /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib64/python3.11/site-packages/_cffi_backend.cpython-311-x86_64-linux-gnu.so original debug info size: 596kB, size after compression: 572kB /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 Warning: undefined symbols in /usr/lib64/python3.11/site-packages/_cffi_backend.cpython-311-x86_64-linux-gnu.so: PyExc_SystemError PyModule_Type PyExc_NotImplementedError PyFloat_Type PyTuple_Type PyByteArray_Type _PyByteArray_empty_string _Py_NotImplementedStruct Py_FileSystemDefaultEncoding PyExc_RuntimeError PyExc_MemoryError PyExc_UserWarning PyExc_ValueError PyExc_TypeError PySlice_Type PyExc_KeyError PyExc_OSError _Py_FalseStruct PyExc_OverflowError PyType_Type _Py_NoneStruct PyExc_ZeroDivisionError _Py_TrueStruct PyExc_IndexError PyBool_Type PyExc_ImportError PyExc_AttributeError PyUnicode_Type PyCFunction_Type PyList_Type PyObject_GenericGetAttr PyObject_SelfIter PyObject_GC_Del PyObject_Free PyUnicode_FromFormat PyList_New PyObject_Init PyDict_SetItemString PyDict_Size PyModule_AddIntConstant PyGILState_Release PyErr_Restore PyObject_ClearWeakRefs _PyThreadState_UncheckedGet PyNumber_AsSsize_t PyEval_RestoreThread PyMem_Free PyThreadState_GetDict PyErr_SetFromErrno PyLong_FromUnsignedLongLong PyBuffer_Release PyLong_AsUnsignedLongLong PyObject_GetAttrString PyLong_AsUnsignedLongLongMask PyBuffer_IsContiguous PyList_SetSlice PyBytes_FromStringAndSize PyObject_SetAttrString PyErr_WarnEx _Py_Dealloc PyErr_NoMemory PyErr_SetObject PyObject_GC_Del PyErr_NormalizeException _PyObject_CallFunction_SizeT _PyLong_Sign PyThread_acquire_lock PyObject_Str PyObject_RichCompare PyObject_GC_Track PyCMethod_New PyNumber_Long PyErr_SetString PyObject_IsInstance _PyObject_GC_New PyObject_Malloc PyThreadState_Delete PyIndex_Check PyGILState_Ensure PyGILState_GetThisThreadState PyTuple_GetItem PyErr_SetNone PyErr_ExceptionMatches _Py_FatalErrorFunc PyUnicode_DecodeLatin1 PyObject_Free PyUnicode_InternInPlace PyUnicode_GetLength PyLong_AsVoidPtr PyLong_FromSsize_t PyFloat_FromDouble PyType_Ready PyLong_FromLong PyLong_AsSsize_t PyObject_RichCompareBool PyDict_GetItem PyBuffer_FillInfo PyLong_FromVoidPtr PyErr_NewException PyErr_Clear PyBool_FromLong PyList_Append PyDict_Clear PySlice_AdjustIndices PyTuple_New PyObject_GenericGetAttr PyThreadState_Get PyDict_DelItem PySys_GetObject PyErr_Occurred PyModule_Create2 PyLong_AsLong PyImport_ImportModule _PyErr_WriteUnraisableMsg PyTuple_GetSlice PyObject_CallFunctionObjArgs PyUnicode_AsUCS4 _PyObject_CallMethod_SizeT _PyArg_ParseTuple_SizeT PyFloat_AsDouble PyType_GenericAlloc PyThread_allocate_lock PyObject_Hash _PyArg_ParseTupleAndKeywords_SizeT PyThread_release_lock PyUnicode_FromKindAndData PyDict_New PyCallable_Check PyObject_GetBuffer PyDict_Next PyLong_FromUnsignedLong PyUnicode_AsUTF8 PyDict_Keys _PyObject_GC_NewVar PyErr_Fetch _PyObject_New PyThreadState_Clear PyUnicode_FromString PyObject_GetIter PyEval_SaveThread PyUnicode_InternFromString _Py_HashPointer PyModule_AddObject PySlice_Unpack PyDict_SetItem PyObject_GenericSetAttr PyObject_AsFileDescriptor PyDict_Copy PyObject_Repr PyObject_Call PyLong_AsLongLong PyCapsule_New PyType_IsSubtype PyTuple_Size PyComplex_AsCComplex PyErr_Format PyCapsule_GetPointer PyComplex_FromCComplex _Py_BuildValue_SizeT PyUnicode_FromStringAndSize PyLong_FromLongLong PyMem_Malloc PyUnicode_New PyThread_free_lock PyTuple_Pack PyInterpreterState_GetDict PyObject_GC_UnTrack PyErr_WriteUnraisable + /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.x86_64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cffi-1.15.1-2.an23.x86_64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XdQvCc + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.x86_64/usr/lib64/python3.11/site-packages + /usr/bin/python3 -m pytest c/ testing/ ============================= test session starts ============================== platform linux -- Python 3.11.6, 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.11/site-packages/setuptools/config/setupcfg.py:293 /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) -- 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 3.93s ========================= error: Bad exit status from /var/tmp/rpm-tmp.XdQvCc (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.XdQvCc (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec