Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/pyxdg.spec'], chrootPath='/var/lib/mock/dist-an23-build-231361-62527/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/pyxdg.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=1678838400 Wrote: /builddir/build/SRPMS/python-pyxdg-0.28-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/pyxdg.spec'], chrootPath='/var/lib/mock/dist-an23-build-231361-62527/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/pyxdg.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=1678838400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BfRLtg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyxdg-0.28 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyxdg-0.28.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyxdg-0.28 + /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.bDV0YX + umask 022 + cd /builddir/build/BUILD + cd pyxdg-0.28 + 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-pyxdg-0.28-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 --target noarch --nodeps /builddir/build/SPECS/pyxdg.spec'], chrootPath='/var/lib/mock/dist-an23-build-231361-62527/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/pyxdg.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=1678838400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.amOCCO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyxdg-0.28 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyxdg-0.28.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyxdg-0.28 + /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.YqJ1V8 + umask 022 + cd /builddir/build/BUILD + cd pyxdg-0.28 + 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) HOOK STDOUT: running egg_info HOOK STDOUT: writing pyxdg.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pyxdg.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to pyxdg.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pyxdg.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'COPYING' HOOK STDOUT: adding license file 'AUTHORS' HOOK STDOUT: writing manifest file 'pyxdg.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) HOOK STDOUT: running dist_info HOOK STDOUT: writing pyxdg.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pyxdg.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to pyxdg.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pyxdg.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'COPYING' HOOK STDOUT: adding license file 'AUTHORS' HOOK STDOUT: writing manifest file 'pyxdg.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/pyxdg-0.28/pyxdg-0.28.dist-info' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pyxdg-0.28-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 --target noarch --nodeps /builddir/build/SPECS/pyxdg.spec'], chrootPath='/var/lib/mock/dist-an23-build-231361-62527/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target noarch --nodeps /builddir/build/SPECS/pyxdg.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=1678838400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.CVBnKQ + umask 022 + cd /builddir/build/BUILD + cd pyxdg-0.28 + 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 pyxdg-0.28.dist-info/ removed 'pyxdg-0.28.dist-info/top_level.txt' removed 'pyxdg-0.28.dist-info/METADATA' removed 'pyxdg-0.28.dist-info/COPYING' removed 'pyxdg-0.28.dist-info/AUTHORS' removed directory 'pyxdg-0.28.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) HOOK STDOUT: running egg_info HOOK STDOUT: writing pyxdg.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pyxdg.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to pyxdg.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pyxdg.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'COPYING' HOOK STDOUT: adding license file 'AUTHORS' HOOK STDOUT: writing manifest file 'pyxdg.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) HOOK STDOUT: running dist_info HOOK STDOUT: writing pyxdg.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pyxdg.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to pyxdg.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pyxdg.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'COPYING' HOOK STDOUT: adding license file 'AUTHORS' HOOK STDOUT: writing manifest file 'pyxdg.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/pyxdg-0.28/pyxdg-0.28.dist-info' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MkB3EV + 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 pyxdg-0.28 + mkdir -p /builddir/build/BUILD/pyxdg-0.28/.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/pyxdg-0.28/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/pyxdg-0.28/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/pyxdg-0.28 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/pyxdg-0.28/.pyproject-builddir/pip-modern-metadata-_eczx90l/pyxdg.egg-info writing /builddir/build/BUILD/pyxdg-0.28/.pyproject-builddir/pip-modern-metadata-_eczx90l/pyxdg.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/pyxdg-0.28/.pyproject-builddir/pip-modern-metadata-_eczx90l/pyxdg.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/pyxdg-0.28/.pyproject-builddir/pip-modern-metadata-_eczx90l/pyxdg.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/pyxdg-0.28/.pyproject-builddir/pip-modern-metadata-_eczx90l/pyxdg.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/pyxdg-0.28/.pyproject-builddir/pip-modern-metadata-_eczx90l/pyxdg.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' adding license file 'AUTHORS' writing manifest file '/builddir/build/BUILD/pyxdg-0.28/.pyproject-builddir/pip-modern-metadata-_eczx90l/pyxdg.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pyxdg-0.28/.pyproject-builddir/pip-modern-metadata-_eczx90l/pyxdg-0.28.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pyxdg Building wheel for pyxdg (pyproject.toml): started Running command Building wheel for pyxdg (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/xdg copying xdg/BaseDirectory.py -> build/lib/xdg copying xdg/Config.py -> build/lib/xdg copying xdg/DesktopEntry.py -> build/lib/xdg copying xdg/Exceptions.py -> build/lib/xdg copying xdg/IconTheme.py -> build/lib/xdg copying xdg/IniFile.py -> build/lib/xdg copying xdg/Locale.py -> build/lib/xdg copying xdg/Menu.py -> build/lib/xdg copying xdg/MenuEditor.py -> build/lib/xdg copying xdg/Mime.py -> build/lib/xdg copying xdg/RecentFiles.py -> build/lib/xdg copying xdg/__init__.py -> build/lib/xdg copying xdg/util.py -> build/lib/xdg 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/xdg copying build/lib/xdg/BaseDirectory.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/Config.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/DesktopEntry.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/Exceptions.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/IconTheme.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/IniFile.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/Locale.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/Menu.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/MenuEditor.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/Mime.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/RecentFiles.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/__init__.py -> build/bdist.linux-x86_64/wheel/xdg copying build/lib/xdg/util.py -> build/bdist.linux-x86_64/wheel/xdg running install_egg_info running egg_info writing pyxdg.egg-info/PKG-INFO writing dependency_links to pyxdg.egg-info/dependency_links.txt writing top-level names to pyxdg.egg-info/top_level.txt reading manifest file 'pyxdg.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' adding license file 'AUTHORS' writing manifest file 'pyxdg.egg-info/SOURCES.txt' Copying pyxdg.egg-info to build/bdist.linux-x86_64/wheel/pyxdg-0.28-py3.10.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/pyxdg-0.28.dist-info/WHEEL creating '/builddir/build/BUILD/pyxdg-0.28/.pyproject-builddir/pip-wheel-rbngoql9/tmpoigtk4g6/pyxdg-0.28-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'xdg/BaseDirectory.py' adding 'xdg/Config.py' adding 'xdg/DesktopEntry.py' adding 'xdg/Exceptions.py' adding 'xdg/IconTheme.py' adding 'xdg/IniFile.py' adding 'xdg/Locale.py' adding 'xdg/Menu.py' adding 'xdg/MenuEditor.py' adding 'xdg/Mime.py' adding 'xdg/RecentFiles.py' adding 'xdg/__init__.py' adding 'xdg/util.py' adding 'pyxdg-0.28.dist-info/AUTHORS' adding 'pyxdg-0.28.dist-info/COPYING' adding 'pyxdg-0.28.dist-info/METADATA' adding 'pyxdg-0.28.dist-info/WHEEL' adding 'pyxdg-0.28.dist-info/top_level.txt' adding 'pyxdg-0.28.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for pyxdg (pyproject.toml): finished with status 'done' Created wheel for pyxdg: filename=pyxdg-0.28-py2.py3-none-any.whl size=49499 sha256=e5f33a393160504331fdc7fdfdd6281e9578c62798ec3cadb24405ffe6f4f032 Stored in directory: /builddir/.cache/pip/wheels/18/aa/8b/a7cf2b6332b84ecc10882c9fb0de563a3196b8fb2b7424b239 Successfully built pyxdg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bOMgkG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pyxdg-0.28-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 pyxdg-0.28 ++ ls /builddir/build/BUILD/pyxdg-0.28/pyproject-wheeldir/pyxdg-0.28-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pyxdg==0.28 + TMPDIR=/builddir/build/BUILD/pyxdg-0.28/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch --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/pyxdg-0.28/pyproject-wheeldir pyxdg==0.28 Using pip 23.0.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/pyxdg-0.28/pyproject-wheeldir Processing ./pyproject-wheeldir/pyxdg-0.28-py2.py3-none-any.whl Installing collected packages: pyxdg Successfully installed pyxdg-0.28 + '[' -d /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/pyxdg-0.28.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib/python3.10/site-packages/pyxdg-0.28.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-pyxdg-0.28-1.an23.noarch --record /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib/python3.10/site-packages/pyxdg-0.28.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib/python3.10/site-packages/pyxdg-0.28.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib/python3.10/site-packages/pyxdg-0.28.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib/python3.10/site-packages/pyxdg-0.28.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib/python3.10/site-packages/pyxdg-0.28.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 0.28-1.an23 --unique-debug-suffix -0.28-1.an23.noarch --unique-debug-src-base python-pyxdg-0.28-1.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pyxdg-0.28 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/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-pyxdg-0.28-1.an23.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.gbdGMB + 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 pyxdg-0.28 + 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 ' + PATH=/builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-pyxdg-0.28-1.an23.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/pyxdg-0.28/.pyproject-builddir' + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.10.10, pytest-7.1.3, pluggy-1.0.0 rootdir: /builddir/build/BUILD/pyxdg-0.28 collected 57 items test/test_basedirectory.py ........ [ 14%] test/test_desktop.py .......... [ 31%] test/test_icon.py .... [ 38%] test/test_inifile.py ... [ 43%] test/test_locale.py . [ 45%] test/test_menu.py ..... [ 54%] test/test_menu_rules.py .. [ 57%] test/test_mime.py FF..FFFFFF............ [ 96%] test/test_recentfiles.py .. [100%] =================================== FAILURES =================================== ____________________________ MimeTest.test_by_name _____________________________ self = def test_by_name(self): dot_c = Mime.get_type_by_name('foo.c') > self.check_mimetype(dot_c, 'text', 'x-csrc') test/test_mime.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , mimetype = None media = 'text', subtype = 'x-csrc' def check_mimetype(self, mimetype, media, subtype): > self.assertEqual(mimetype.media, media) E AttributeError: 'NoneType' object has no attribute 'media' test/test_mime.py:14: AttributeError ___________________________ MimeTest.test_canonical ____________________________ self = def test_canonical(self): text_xml = Mime.lookup('text/xml') self.check_mimetype(text_xml, 'text', 'xml') > self.check_mimetype(text_xml.canonical(), 'application', 'xml') test/test_mime.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/test_mime.py:14: in check_mimetype self.assertEqual(mimetype.media, media) E AssertionError: 'text' != 'application' E - text E + application ____________________________ MimeTest.test_get_type ____________________________ self = def test_get_type(self): # File that doesn't exist - get type by name imgpng = Mime.get_type(example_file("test.gif")) > self.check_mimetype(imgpng, 'image', 'gif') test/test_mime.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/test_mime.py:14: in check_mimetype self.assertEqual(mimetype.media, media) E AssertionError: 'text' != 'image' E - text E + image ___________________________ MimeTest.test_get_type2 ____________________________ self = def test_get_type2(self): # File that doesn't exist - use the name > self.check_mimetype(Mime.get_type2(example_file('test.gif')), 'image', 'gif') test/test_mime.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/test_mime.py:14: in check_mimetype self.assertEqual(mimetype.media, media) E AssertionError: 'application' != 'image' E - application E + image ______________________ MimeTest.test_get_type_by_contents ______________________ self = def test_get_type_by_contents(self): tmpdir = tempfile.mkdtemp() try: test_file = os.path.join(tmpdir, "test") with open(test_file, "wb") as f: f.write(resources.png_data) imgpng = Mime.get_type_by_contents(test_file) > self.check_mimetype(imgpng, 'image', 'png') test/test_mime.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = mimetype = None, media = 'image', subtype = 'png' def check_mimetype(self, mimetype, media, subtype): > self.assertEqual(mimetype.media, media) E AttributeError: 'NoneType' object has no attribute 'media' test/test_mime.py:14: AttributeError ________________________ MimeTest.test_get_type_by_data ________________________ self = def test_get_type_by_data(self): imgpng = Mime.get_type_by_data(resources.png_data) > self.check_mimetype(imgpng, 'image', 'png') test/test_mime.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , mimetype = None media = 'image', subtype = 'png' def check_mimetype(self, mimetype, media, subtype): > self.assertEqual(mimetype.media, media) E AttributeError: 'NoneType' object has no attribute 'media' test/test_mime.py:14: AttributeError ________________________ MimeTest.test_get_type_by_name ________________________ self = def test_get_type_by_name(self): appzip = Mime.get_type_by_name("foo.zip") > self.check_mimetype(appzip, 'application', 'zip') test/test_mime.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , mimetype = None media = 'application', subtype = 'zip' def check_mimetype(self, mimetype, media, subtype): > self.assertEqual(mimetype.media, media) E AttributeError: 'NoneType' object has no attribute 'media' test/test_mime.py:14: AttributeError __________________________ MimeTest.test_inheritance ___________________________ self = def test_inheritance(self): text_python = Mime.lookup('text/x-python') self.check_mimetype(text_python, 'text', 'x-python') text_plain = Mime.lookup('text/plain') app_executable = Mime.lookup('application/x-executable') > self.assertEqual(text_python.inherits_from(), set([text_plain, app_executable])) E AssertionError: Items in the second set but not the first: E MIMEtype('application', 'x-executable') E MIMEtype('text', 'plain') test/test_mime.py:157: AssertionError =============================== warnings summary =============================== test/test_basedirectory.py:12 /builddir/build/BUILD/pyxdg-0.28/test/test_basedirectory.py:12: 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 from imp import reload -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/test_mime.py::MimeTest::test_by_name - AttributeError: 'NoneType'... FAILED test/test_mime.py::MimeTest::test_canonical - AssertionError: 'text' !... FAILED test/test_mime.py::MimeTest::test_get_type - AssertionError: 'text' !=... FAILED test/test_mime.py::MimeTest::test_get_type2 - AssertionError: 'applica... FAILED test/test_mime.py::MimeTest::test_get_type_by_contents - AttributeErro... FAILED test/test_mime.py::MimeTest::test_get_type_by_data - AttributeError: '... FAILED test/test_mime.py::MimeTest::test_get_type_by_name - AttributeError: '... FAILED test/test_mime.py::MimeTest::test_inheritance - AssertionError: Items ... =================== 8 failed, 49 passed, 1 warning in 2.23s ==================== error: Bad exit status from /var/tmp/rpm-tmp.gbdGMB (%check) Bad exit status from /var/tmp/rpm-tmp.gbdGMB (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target noarch --nodeps /builddir/build/SPECS/pyxdg.spec