Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/khard.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-82610-57116/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/khard.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 Wrote: /builddir/build/SRPMS/khard-0.17.0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps --nocheck /builddir/build/SPECS/khard.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-82610-57116/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps --nocheck /builddir/build/SPECS/khard.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Bgs5xC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf khard-0.17.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/khard-0.17.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd khard-0.17.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2Yn48R + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 khard-0.17.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' running build running build_py creating build creating build/lib creating build/lib/khard copying khard/cli.py -> build/lib/khard copying khard/query.py -> build/lib/khard copying khard/object_type.py -> build/lib/khard copying khard/__init__.py -> build/lib/khard copying khard/version.py -> build/lib/khard copying khard/config.py -> build/lib/khard copying khard/actions.py -> build/lib/khard copying khard/khard.py -> build/lib/khard copying khard/helpers.py -> build/lib/khard copying khard/__main__.py -> build/lib/khard copying khard/carddav_object.py -> build/lib/khard copying khard/address_book.py -> build/lib/khard copying khard/formatter.py -> build/lib/khard running egg_info writing khard.egg-info/PKG-INFO writing dependency_links to khard.egg-info/dependency_links.txt writing entry points to khard.egg-info/entry_points.txt writing requirements to khard.egg-info/requires.txt writing top-level names to khard.egg-info/top_level.txt reading manifest file 'khard.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' warning: no files found matching 'AUTHORS' writing manifest file 'khard.egg-info/SOURCES.txt' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'khard.data' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'khard.data' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'khard.data' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'khard.data' to be distributed and are already explicitly excluding 'khard.data' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating build/lib/khard/data copying khard/data/config.spec -> build/lib/khard/data copying khard/data/template.yaml -> build/lib/khard/data + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JreRQ0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch + cd khard-0.17.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch /usr/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr creating /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib creating /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/cli.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/query.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/object_type.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/__init__.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/version.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/config.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/actions.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/khard.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard creating /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/data copying build/lib/khard/data/template.yaml -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/data copying build/lib/khard/data/config.spec -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/data copying build/lib/khard/helpers.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/__main__.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/carddav_object.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/address_book.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard copying build/lib/khard/formatter.py -> /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/cli.py to cli.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/query.py to query.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/object_type.py to object_type.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/version.py to version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/config.py to config.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/actions.py to actions.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/khard.py to khard.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/helpers.py to helpers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/__main__.py to __main__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/carddav_object.py to carddav_object.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/address_book.py to address_book.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard/formatter.py to formatter.cpython-311.pyc writing byte-compilation script '/tmp/tmp93t_5_7f.py' /usr/bin/python3 /tmp/tmp93t_5_7f.py removing /tmp/tmp93t_5_7f.py running install_egg_info running egg_info writing khard.egg-info/PKG-INFO writing dependency_links to khard.egg-info/dependency_links.txt writing entry points to khard.egg-info/entry_points.txt writing requirements to khard.egg-info/requires.txt writing top-level names to khard.egg-info/top_level.txt reading manifest file 'khard.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'AUTHORS' adding license file 'LICENSE' writing manifest file 'khard.egg-info/SOURCES.txt' Copying khard.egg-info to /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11/site-packages/khard-0.17.0-py3.11.egg-info running install_scripts Installing khard script to /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/bin/__pycache__ + mkdir -p /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/khard/examples/ + mkdir -p /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/khard/examples/davcontroller/ + install -p -m 0644 misc/davcontroller/davcontroller.py /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/khard/examples/davcontroller/davcontroller.py + mkdir -p /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/khard/examples/sdiff/ + install -p -m 0644 misc/sdiff/sdiff_khard_wrapper.sh /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/khard/examples/sdiff/sdiff_khard_wrapper.sh + install -p -d misc/twinkle /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/khard/examples/twinkle + mkdir -p /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/zsh/site-functions/ + install -p -m 0644 misc/zsh/_email-khard /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/zsh/site-functions/_khard + install -p -m 0644 misc/zsh/_khard /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/zsh/site-functions/_khard + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.17.0-1.oc9 --unique-debug-suffix -0.17.0-1.oc9.noarch --unique-debug-src-base khard-0.17.0-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/khard-0.17.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: khard-0.17.0-1.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LtnK2g + umask 022 + cd /builddir/build/BUILD + cd khard-0.17.0 + DOCDIR=/builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/doc/khard + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/doc/khard + cp -pr CHANGES /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/doc/khard + cp -pr README.md /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/doc/khard + cp -pr todo.txt /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/doc/khard + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Z6FxAE + umask 022 + cd /builddir/build/BUILD + cd khard-0.17.0 + LICENSEDIR=/builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/licenses/khard + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/licenses/khard + cp -pr LICENSE /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch/usr/share/licenses/khard + RPM_EC=0 ++ jobs -p + exit 0 Provides: khard = 0.17.0-1.oc9 python3.11dist(khard) = 0.17 python3dist(khard) = 0.17 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.11 python3.11dist(atomicwrites) python3.11dist(configobj) python3.11dist(ruamel-yaml) python3.11dist(unidecode) python3.11dist(vobject) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/khard-0.17.0-1.oc9.noarch Wrote: /builddir/build/RPMS/khard-0.17.0-1.oc9.noarch.rpm Child return code was: 0