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 noarch --nodeps /builddir/build/SPECS/python-linux-procfs.spec'], chrootPath='/var/lib/mock/dist-an23-build-198976-60958/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 noarch --nodeps /builddir/build/SPECS/python-linux-procfs.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1673827200 Wrote: /builddir/build/SRPMS/python-linux-procfs-0.7.1-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-linux-procfs.spec'], chrootPath='/var/lib/mock/dist-an23-build-198976-60958/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 noarch --nodeps /builddir/build/SPECS/python-linux-procfs.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1673827200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Jg9H5h + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-linux-procfs-0.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-linux-procfs-0.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-linux-procfs-0.7.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.hLV0hV + umask 022 + cd /builddir/build/BUILD + cd python-linux-procfs-0.7.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 not satisfied: setuptools >= 40.8 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-linux-procfs-0.7.1-1.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 noarch --nodeps /builddir/build/SPECS/python-linux-procfs.spec'], chrootPath='/var/lib/mock/dist-an23-build-198976-60958/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 noarch --nodeps /builddir/build/SPECS/python-linux-procfs.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1673827200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sxaWXF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-linux-procfs-0.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-linux-procfs-0.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-linux-procfs-0.7.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.BU7HQ7 + umask 022 + cd /builddir/build/BUILD + cd python-linux-procfs-0.7.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 60.9.3) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.1) HOOK STDOUT: running egg_info HOOK STDOUT: creating python_linux_procfs.egg-info HOOK STDOUT: writing python_linux_procfs.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to python_linux_procfs.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to python_linux_procfs.egg-info/requires.txt HOOK STDOUT: writing top-level names to python_linux_procfs.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'COPYING' HOOK STDOUT: writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.1) HOOK STDOUT: running dist_info HOOK STDOUT: writing python_linux_procfs.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to python_linux_procfs.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to python_linux_procfs.egg-info/requires.txt HOOK STDOUT: writing top-level names to python_linux_procfs.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'COPYING' HOOK STDOUT: writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/python-linux-procfs-0.7.1/python_linux_procfs.dist-info' HOOK STDOUT: adding license file "COPYING" (matched pattern "COPYING*") Handling six from wheel metadata: Requires-Dist Requirement not satisfied: six + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-linux-procfs-0.7.1-1.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 noarch --nodeps /builddir/build/SPECS/python-linux-procfs.spec'], chrootPath='/var/lib/mock/dist-an23-build-198976-60958/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 noarch --nodeps /builddir/build/SPECS/python-linux-procfs.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1673827200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KqewDR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-linux-procfs-0.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-linux-procfs-0.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-linux-procfs-0.7.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.pq0Hsb + umask 022 + cd /builddir/build/BUILD + cd python-linux-procfs-0.7.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 60.9.3) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.1) HOOK STDOUT: running egg_info HOOK STDOUT: creating python_linux_procfs.egg-info HOOK STDOUT: writing python_linux_procfs.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to python_linux_procfs.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to python_linux_procfs.egg-info/requires.txt HOOK STDOUT: writing top-level names to python_linux_procfs.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'COPYING' HOOK STDOUT: writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.1) HOOK STDOUT: running dist_info HOOK STDOUT: writing python_linux_procfs.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to python_linux_procfs.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to python_linux_procfs.egg-info/requires.txt HOOK STDOUT: writing top-level names to python_linux_procfs.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'COPYING' HOOK STDOUT: writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/python-linux-procfs-0.7.1/python_linux_procfs.dist-info' HOOK STDOUT: adding license file "COPYING" (matched pattern "COPYING*") Handling six from wheel metadata: Requires-Dist Requirement satisfied: six (installed: six 1.16.0) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-linux-procfs-0.7.1-1.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 noarch --nodeps /builddir/build/SPECS/python-linux-procfs.spec'], chrootPath='/var/lib/mock/dist-an23-build-198976-60958/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 noarch --nodeps /builddir/build/SPECS/python-linux-procfs.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1673827200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.vmu6cU + umask 022 + cd /builddir/build/BUILD + cd python-linux-procfs-0.7.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 python_linux_procfs.dist-info/ removed 'python_linux_procfs.dist-info/top_level.txt' removed 'python_linux_procfs.dist-info/METADATA' removed 'python_linux_procfs.dist-info/COPYING' removed directory 'python_linux_procfs.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 60.9.3) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.1) HOOK STDOUT: running egg_info HOOK STDOUT: creating python_linux_procfs.egg-info HOOK STDOUT: writing python_linux_procfs.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to python_linux_procfs.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to python_linux_procfs.egg-info/requires.txt HOOK STDOUT: writing top-level names to python_linux_procfs.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'COPYING' HOOK STDOUT: writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.1) HOOK STDOUT: running dist_info HOOK STDOUT: writing python_linux_procfs.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to python_linux_procfs.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to python_linux_procfs.egg-info/requires.txt HOOK STDOUT: writing top-level names to python_linux_procfs.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'COPYING' HOOK STDOUT: writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/python-linux-procfs-0.7.1/python_linux_procfs.dist-info' HOOK STDOUT: adding license file "COPYING" (matched pattern "COPYING*") Handling six from wheel metadata: Requires-Dist Requirement satisfied: six (installed: six 1.16.0) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PCCV6B + 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 -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 -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-linux-procfs-0.7.1 + mkdir -p /builddir/build/BUILD/python-linux-procfs-0.7.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/python-linux-procfs-0.7.1/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/python-linux-procfs-0.7.1/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/python-linux-procfs-0.7.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/python-linux-procfs-0.7.1/.pyproject-builddir/pip-modern-metadata-8_3k643s/python_linux_procfs.egg-info writing /builddir/build/BUILD/python-linux-procfs-0.7.1/.pyproject-builddir/pip-modern-metadata-8_3k643s/python_linux_procfs.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-linux-procfs-0.7.1/.pyproject-builddir/pip-modern-metadata-8_3k643s/python_linux_procfs.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/python-linux-procfs-0.7.1/.pyproject-builddir/pip-modern-metadata-8_3k643s/python_linux_procfs.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-linux-procfs-0.7.1/.pyproject-builddir/pip-modern-metadata-8_3k643s/python_linux_procfs.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-linux-procfs-0.7.1/.pyproject-builddir/pip-modern-metadata-8_3k643s/python_linux_procfs.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-linux-procfs-0.7.1/.pyproject-builddir/pip-modern-metadata-8_3k643s/python_linux_procfs.egg-info/SOURCES.txt' adding license file 'COPYING' writing manifest file '/builddir/build/BUILD/python-linux-procfs-0.7.1/.pyproject-builddir/pip-modern-metadata-8_3k643s/python_linux_procfs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-linux-procfs-0.7.1/.pyproject-builddir/pip-modern-metadata-8_3k643s/python_linux_procfs.dist-info' adding license file "COPYING" (matched pattern "COPYING*") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: python-linux-procfs Building wheel for python-linux-procfs (pyproject.toml): started Running command Building wheel for python-linux-procfs (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/procfs copying procfs/__init__.py -> build/lib/procfs copying procfs/procfs.py -> build/lib/procfs copying procfs/utilist.py -> build/lib/procfs running build_scripts creating build/scripts-3.10 copying and adjusting pflags -> build/scripts-3.10 changing mode of build/scripts-3.10/pflags from 644 to 755 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/procfs copying build/lib/procfs/__init__.py -> build/bdist.linux-x86_64/wheel/procfs copying build/lib/procfs/procfs.py -> build/bdist.linux-x86_64/wheel/procfs copying build/lib/procfs/utilist.py -> build/bdist.linux-x86_64/wheel/procfs running install_egg_info running egg_info creating python_linux_procfs.egg-info writing python_linux_procfs.egg-info/PKG-INFO writing dependency_links to python_linux_procfs.egg-info/dependency_links.txt writing requirements to python_linux_procfs.egg-info/requires.txt writing top-level names to python_linux_procfs.egg-info/top_level.txt writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' reading manifest file 'python_linux_procfs.egg-info/SOURCES.txt' adding license file 'COPYING' writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' Copying python_linux_procfs.egg-info to build/bdist.linux-x86_64/wheel/python_linux_procfs-0.7.0-py3.10.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/python_linux_procfs-0.7.0.data creating build/bdist.linux-x86_64/wheel/python_linux_procfs-0.7.0.data/scripts copying build/scripts-3.10/pflags -> build/bdist.linux-x86_64/wheel/python_linux_procfs-0.7.0.data/scripts changing mode of build/bdist.linux-x86_64/wheel/python_linux_procfs-0.7.0.data/scripts/pflags to 755 adding license file "COPYING" (matched pattern "COPYING*") creating build/bdist.linux-x86_64/wheel/python_linux_procfs-0.7.0.dist-info/WHEEL creating '/builddir/build/BUILD/python-linux-procfs-0.7.1/.pyproject-builddir/pip-wheel-36ohqhc5/tmp9d1j020n/python_linux_procfs-0.7.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'procfs/__init__.py' adding 'procfs/procfs.py' adding 'procfs/utilist.py' adding 'python_linux_procfs-0.7.0.data/scripts/pflags' adding 'python_linux_procfs-0.7.0.dist-info/COPYING' adding 'python_linux_procfs-0.7.0.dist-info/METADATA' adding 'python_linux_procfs-0.7.0.dist-info/WHEEL' adding 'python_linux_procfs-0.7.0.dist-info/top_level.txt' adding 'python_linux_procfs-0.7.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for python-linux-procfs (pyproject.toml): finished with status 'done' Created wheel for python-linux-procfs: filename=python_linux_procfs-0.7.0-py3-none-any.whl size=20977 sha256=936b30b6a18828d3177e9bed3b76c9e1f0854b8fb281d70b9329b50756440a0f Stored in directory: /builddir/.cache/pip/wheels/b5/dc/c5/dbf339f0b528530977374d7cb679a85b14d91cdc7000b8fba7 Successfully built python-linux-procfs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dfa7RD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch + 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 -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 -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-linux-procfs-0.7.1 + rm -rf /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch + 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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch creating /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr creating /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/lib/python3.10 creating /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/lib/python3.10/site-packages/procfs copying build/lib/procfs/__init__.py -> /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/lib/python3.10/site-packages/procfs copying build/lib/procfs/procfs.py -> /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/lib/python3.10/site-packages/procfs copying build/lib/procfs/utilist.py -> /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/lib/python3.10/site-packages/procfs byte-compiling /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/lib/python3.10/site-packages/procfs/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/lib/python3.10/site-packages/procfs/procfs.py to procfs.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/lib/python3.10/site-packages/procfs/utilist.py to utilist.cpython-310.pyc writing byte-compilation script '/tmp/tmpghan94r1.py' /usr/bin/python3 /tmp/tmpghan94r1.py removing /tmp/tmpghan94r1.py running install_egg_info running egg_info writing python_linux_procfs.egg-info/PKG-INFO writing dependency_links to python_linux_procfs.egg-info/dependency_links.txt writing requirements to python_linux_procfs.egg-info/requires.txt writing top-level names to python_linux_procfs.egg-info/top_level.txt reading manifest file 'python_linux_procfs.egg-info/SOURCES.txt' adding license file 'COPYING' writing manifest file 'python_linux_procfs.egg-info/SOURCES.txt' Copying python_linux_procfs.egg-info to /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/lib/python3.10/site-packages/python_linux_procfs-0.7.0-py3.10.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/bin copying build/scripts-3.10/pflags -> /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/bin/pflags to 755 + rm -rfv /builddir/build/BUILDROOT/python-linux-procfs-0.7.1-1.an23.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 0.7.1-1.an23 --unique-debug-suffix -0.7.1-1.an23.noarch --unique-debug-src-base python-linux-procfs-0.7.1-1.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-linux-procfs-0.7.1 find: 'debug': No such file or directory + /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/brp-mangle-shebangs *** ERROR: ./usr/bin/pflags has shebang which doesn't start with '/' (python) error: Bad exit status from /var/tmp/rpm-tmp.dfa7RD (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.dfa7RD (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-linux-procfs.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 noarch --nodeps /builddir/build/SPECS/python-linux-procfs.spec