Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec'], chrootPath='/var/lib/mock/f42-build-3313930-41426/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=864000uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t60bftde:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t60bftde:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a5eda75d485d42a4bab0f39936beb919', '-D', '/var/lib/mock/f42-build-3313930-41426/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t60bftde:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1738195200 Wrote: /builddir/build/SRPMS/flatpak-module-tools-1.1.1-1.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec'], chrootPath='/var/lib/mock/f42-build-3313930-41426/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=864000uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t60bftde:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t60bftde:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9530b67315e447288d56a4d80a5d7dd0', '-D', '/var/lib/mock/f42-build-3313930-41426/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t60bftde:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1738195200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.u7cbU2 + umask 022 + cd /builddir/build/BUILD/flatpak-module-tools-1.1.1-build + test -d /builddir/build/BUILD/flatpak-module-tools-1.1.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/flatpak-module-tools-1.1.1-build + /usr/bin/rm -rf /builddir/build/BUILD/flatpak-module-tools-1.1.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/flatpak-module-tools-1.1.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XzNaD1 + umask 022 + cd /builddir/build/BUILD/flatpak-module-tools-1.1.1-build + cd /builddir/build/BUILD/flatpak-module-tools-1.1.1-build + rm -rf flatpak-module-tools-1.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/flatpak-module-tools-1.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flatpak-module-tools-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e /pytest-cov/d -e '/addopts/s/--cov[^ "]*//g' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Fzhfs0 + umask 022 + cd /builddir/build/BUILD/flatpak-module-tools-1.1.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 flatpak-module-tools-1.1.1 + export SETUPTOOLS_SCM_PRETEND_VERSION=1.1.1 + SETUPTOOLS_SCM_PRETEND_VERSION=1.1.1 + mkdir -p /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/pyproject-wheeldir Processing /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir/pip-modern-metadata-3ho6jxn_/flatpak_module_tools.egg-info writing /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir/pip-modern-metadata-3ho6jxn_/flatpak_module_tools.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir/pip-modern-metadata-3ho6jxn_/flatpak_module_tools.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir/pip-modern-metadata-3ho6jxn_/flatpak_module_tools.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir/pip-modern-metadata-3ho6jxn_/flatpak_module_tools.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir/pip-modern-metadata-3ho6jxn_/flatpak_module_tools.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir/pip-modern-metadata-3ho6jxn_/flatpak_module_tools.egg-info/SOURCES.txt' ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file '/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir/pip-modern-metadata-3ho6jxn_/flatpak_module_tools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'LICENSE.gplv3' writing manifest file '/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir/pip-modern-metadata-3ho6jxn_/flatpak_module_tools.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir/pip-modern-metadata-3ho6jxn_/flatpak_module_tools-1.1.1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: flatpak-module-tools Building wheel for flatpak-module-tools (pyproject.toml): started Running command Building wheel for flatpak-module-tools (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/flatpak_module_tools copying flatpak_module_tools/installer.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/container_spec.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/cli.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/__init__.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/koji_utils.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/build_context.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/config.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/package_locator.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/container_builder.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/console_logging.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/mock.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/git_utils.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/rpm_utils.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/build_scheduler.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/flatpak_builder.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/rpm_builder.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/utils.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/flatpak_generator.py -> build/lib/flatpak_module_tools running egg_info writing flatpak_module_tools.egg-info/PKG-INFO writing dependency_links to flatpak_module_tools.egg-info/dependency_links.txt writing entry points to flatpak_module_tools.egg-info/entry_points.txt writing requirements to flatpak_module_tools.egg-info/requires.txt writing top-level names to flatpak_module_tools.egg-info/top_level.txt ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file 'flatpak_module_tools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'LICENSE.gplv3' writing manifest file 'flatpak_module_tools.egg-info/SOURCES.txt' /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'flatpak_module_tools.depchase' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'flatpak_module_tools.depchase' 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 'flatpak_module_tools.depchase' 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 'flatpak_module_tools.depchase' to be distributed and are already explicitly excluding 'flatpak_module_tools.depchase' 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) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'flatpak_module_tools.templates' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'flatpak_module_tools.templates' 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 'flatpak_module_tools.templates' 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 'flatpak_module_tools.templates' to be distributed and are already explicitly excluding 'flatpak_module_tools.templates' 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) copying flatpak_module_tools/config.yaml -> build/lib/flatpak_module_tools copying flatpak_module_tools/py.typed -> build/lib/flatpak_module_tools creating build/lib/flatpak_module_tools/depchase copying flatpak_module_tools/depchase/cli.py -> build/lib/flatpak_module_tools/depchase copying flatpak_module_tools/depchase/depchase.py -> build/lib/flatpak_module_tools/depchase copying flatpak_module_tools/depchase/fetchrepodata.py -> build/lib/flatpak_module_tools/depchase copying flatpak_module_tools/depchase/repodata.py -> build/lib/flatpak_module_tools/depchase creating build/lib/flatpak_module_tools/templates copying flatpak_module_tools/templates/mock.cfg.j2 -> build/lib/flatpak_module_tools/templates installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/installer.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/container_spec.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/cli.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/__init__.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/koji_utils.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/py.typed -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/build_context.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/config.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/package_locator.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/container_builder.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools creating build/bdist.linux-riscv64/wheel/flatpak_module_tools/templates copying build/lib/flatpak_module_tools/templates/mock.cfg.j2 -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools/templates copying build/lib/flatpak_module_tools/console_logging.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/mock.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/git_utils.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/rpm_utils.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/build_scheduler.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/flatpak_builder.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/rpm_builder.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools creating build/bdist.linux-riscv64/wheel/flatpak_module_tools/depchase copying build/lib/flatpak_module_tools/depchase/cli.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools/depchase copying build/lib/flatpak_module_tools/depchase/fetchrepodata.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools/depchase copying build/lib/flatpak_module_tools/depchase/repodata.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools/depchase copying build/lib/flatpak_module_tools/depchase/depchase.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools/depchase copying build/lib/flatpak_module_tools/utils.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/flatpak_generator.py -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools copying build/lib/flatpak_module_tools/config.yaml -> build/bdist.linux-riscv64/wheel/./flatpak_module_tools running install_egg_info Copying flatpak_module_tools.egg-info to build/bdist.linux-riscv64/wheel/./flatpak_module_tools-1.1.1-py3.13.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/flatpak_module_tools-1.1.1.dist-info/WHEEL creating '/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir/pip-wheel-ucyp6fbm/.tmp-2aal3r4c/flatpak_module_tools-1.1.1-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'flatpak_module_tools/__init__.py' adding 'flatpak_module_tools/build_context.py' adding 'flatpak_module_tools/build_scheduler.py' adding 'flatpak_module_tools/cli.py' adding 'flatpak_module_tools/config.py' adding 'flatpak_module_tools/config.yaml' adding 'flatpak_module_tools/console_logging.py' adding 'flatpak_module_tools/container_builder.py' adding 'flatpak_module_tools/container_spec.py' adding 'flatpak_module_tools/flatpak_builder.py' adding 'flatpak_module_tools/flatpak_generator.py' adding 'flatpak_module_tools/git_utils.py' adding 'flatpak_module_tools/installer.py' adding 'flatpak_module_tools/koji_utils.py' adding 'flatpak_module_tools/mock.py' adding 'flatpak_module_tools/package_locator.py' adding 'flatpak_module_tools/py.typed' adding 'flatpak_module_tools/rpm_builder.py' adding 'flatpak_module_tools/rpm_utils.py' adding 'flatpak_module_tools/utils.py' adding 'flatpak_module_tools/depchase/cli.py' adding 'flatpak_module_tools/depchase/depchase.py' adding 'flatpak_module_tools/depchase/fetchrepodata.py' adding 'flatpak_module_tools/depchase/repodata.py' adding 'flatpak_module_tools/templates/mock.cfg.j2' adding 'flatpak_module_tools-1.1.1.dist-info/LICENSE' adding 'flatpak_module_tools-1.1.1.dist-info/LICENSE.gplv3' adding 'flatpak_module_tools-1.1.1.dist-info/METADATA' adding 'flatpak_module_tools-1.1.1.dist-info/WHEEL' adding 'flatpak_module_tools-1.1.1.dist-info/entry_points.txt' adding 'flatpak_module_tools-1.1.1.dist-info/top_level.txt' adding 'flatpak_module_tools-1.1.1.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Building wheel for flatpak-module-tools (pyproject.toml): finished with status 'done' Created wheel for flatpak-module-tools: filename=flatpak_module_tools-1.1.1-py3-none-any.whl size=82940 sha256=48ace13583445a65e6be5a3f96f01726d0e5c41c76a03e020e9800dc901a9fdd Stored in directory: /builddir/.cache/pip/wheels/5e/ba/96/6863dcdf234befecd572682da40ac91ebb044ff624eee8a8cd Successfully built flatpak-module-tools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WntGKU + umask 022 + cd /builddir/build/BUILD/flatpak-module-tools-1.1.1-build + '[' /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/flatpak-module-tools-1.1.1-build + mkdir /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 flatpak-module-tools-1.1.1 ++ ls /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/pyproject-wheeldir/flatpak_module_tools-1.1.1-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=flatpak_module_tools==1.1.1 + '[' -z flatpak_module_tools==1.1.1 ']' + TMPDIR=/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT --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/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/pyproject-wheeldir flatpak_module_tools==1.1.1 Using pip 24.3.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/pyproject-wheeldir Processing ./pyproject-wheeldir/flatpak_module_tools-1.1.1-py3-none-any.whl Installing collected packages: flatpak_module_tools Creating /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/bin/flatpak-module to 755 changing mode of /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/bin/flatpak-module-depchase to 755 Successfully installed flatpak_module_tools-1.1.1 + '[' -d /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/bin/flatpak-module /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/bin/flatpak-module-depchase /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/bin/flatpak-module: updating /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/bin/flatpak-module-depchase: updating + rm -rfv /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1-1.fc42.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/flatpak_module_tools-1.1.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools-1.1.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT --record /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools-1.1.1.dist-info/RECORD --output /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1-1.fc42.noarch-pyproject-record + rm -fv /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools-1.1.1.dist-info/RECORD removed '/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools-1.1.1.dist-info/RECORD' + rm -fv /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools-1.1.1.dist-info/REQUESTED removed '/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools-1.1.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1-1.fc42.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j32 Bytecompiling .py files below /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j32 /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/package_locator.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/flatpak_generator.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/config.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/koji_utils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/console_logging.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/utils.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/__init__.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/rpm_utils.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/installer.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/depchase/__pycache__/fetchrepodata.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/cli.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/depchase/__pycache__/depchase.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/build_context.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/git_utils.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/depchase/__pycache__/fetchrepodata.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/depchase/__pycache__/cli.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/installer.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/mock.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/container_builder.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/depchase/__pycache__/repodata.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/config.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/cli.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/depchase/__pycache__/cli.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/depchase/__pycache__/depchase.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/console_logging.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/build_scheduler.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/depchase/__pycache__/repodata.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/flatpak_builder.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/flatpak_builder.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/container_spec.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/koji_utils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/container_builder.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/rpm_builder.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/build_context.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages/flatpak_module_tools/__pycache__/build_scheduler.cpython-313.pyc: replacing with normalized version Scanned 12 directories and 78 files, processed 35 inodes, 35 modified (26 replaced + 9 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.IIeYkI + umask 022 + cd /builddir/build/BUILD/flatpak-module-tools-1.1.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 flatpak-module-tools-1.1.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=32 + /usr/bin/pytest -k 'not test_create_rpm_manifest' ============================= test session starts ============================== platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 rootdir: /builddir/build/BUILD/flatpak-module-tools-1.1.1-build/flatpak-module-tools-1.1.1 configfile: pyproject.toml testpaths: tests collected 111 items / 1 deselected / 110 selected tests/test_build_context.py ...... [ 5%] tests/test_cli.py F.FFF..FFF.........F....F..... [ 32%] tests/test_container_spec.py ............... [ 46%] tests/test_flatpak_builder.py ............ [ 57%] tests/test_flatpak_generator.py ....... [ 63%] tests/test_git_utils.py ....... [ 70%] tests/test_koji_utils.py ... [ 72%] tests/test_package_locator.py ..... [ 77%] tests/test_rpm_utils.py .. [ 79%] tests/test_tree_processor.py .................... [ 97%] tests/test_utils.py ... [100%] =================================== FAILURES =================================== _____________________________ test_global_options ______________________________ rpm_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_global_options0/eog') tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_global_options0') @pytest.mark.usefixtures("isolated_config") def test_global_options(rpm_builder_mock, repo_path, tmp_path): config_file = tmp_path / "custom.conf" with open(config_file, "w") as f: f.write(dedent("""\ profiles: custom: koji_profile: custom """)) > expect_success([ "--path", repo_path, "--config", config_file, "--profile", "custom", "--verbose", "build-rpms-local", "--auto" ]) tests/test_cli.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.13/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.13/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.13/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.13/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.13/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.13/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:480: in build_rpms_local container_spec=spec, local_repo=paths.local_repo, local_runtime=local_runtime, flatpak_module_tools/cli.py:55: in local_repo result = self.path / Path(Arch().rpm) / "rpms" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError ____________________________ test_local_repo_option ____________________________ rpm_builder_mock = container_builder_mock = tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_local_repo_option0') repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_local_repo_option0/eog') def test_local_repo_option(rpm_builder_mock, container_builder_mock, tmp_path, repo_path): local_repo = tmp_path / "rpms" local_repo.mkdir() subprocess.check_call(["createrepo_c", local_repo]) > expect_success([ "--path", repo_path, "build-container-local", "--local-repo", local_repo ]) tests/test_cli.py:189: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.13/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.13/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.13/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.13/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.13/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.13/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:286: in build_container_local build_context = AutoBuildContext( flatpak_module_tools/build_context.py:191: in __init__ super().__init__( flatpak_module_tools/build_context.py:30: in __init__ self.arch = arch or Arch() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError ----------------------------- Captured stdout call ----------------------------- Directory walk started Directory walk done - 0 packages Temporary output repo path: /tmp/pytest-of-mockbuild/pytest-0/test_local_repo_option0/rpms/.repodata/ Pool started (with 5 workers) Pool finished _______________________ test_local_repo_missing_warning ________________________ rpm_builder_mock = container_builder_mock = tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_local_repo_missing_warnin0') repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_local_repo_missing_warnin0/eog') def test_local_repo_missing_warning(rpm_builder_mock, container_builder_mock, tmp_path, repo_path): local_repo = tmp_path / "rpms" > expect_error([ "--path", repo_path, "build-container-local", "--local-repo", local_repo ], "warning: No repository at", exit_failure=False) tests/test_cli.py:203: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:137: in expect_error result = runner.invoke( /usr/lib/python3.13/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.13/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.13/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.13/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.13/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.13/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:286: in build_container_local build_context = AutoBuildContext( flatpak_module_tools/build_context.py:191: in __init__ super().__init__( flatpak_module_tools/build_context.py:30: in __init__ self.arch = arch or Arch() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError __________________________ test_containerspec_option ___________________________ rpm_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_containerspec_option0/eog') def test_containerspec_option(rpm_builder_mock, repo_path): new_path = repo_path / "container-new.yaml" with open(new_path, "w") as f: f.write(APP_CONTAINER_YAML) > expect_success([ "--path", repo_path, "build-rpms-local", "--auto", "--containerspec", "container-new.yaml" ]) tests/test_cli.py:219: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.13/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.13/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.13/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.13/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.13/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.13/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:480: in build_rpms_local container_spec=spec, local_repo=paths.local_repo, local_runtime=local_runtime, flatpak_module_tools/cli.py:55: in local_repo result = self.path / Path(Arch().rpm) / "rpms" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError _______________________________ test_target_cli ________________________________ rpm_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_target_cli0/eog') def test_target_cli(rpm_builder_mock, repo_path): > expect_success([ "--path", repo_path, "build-rpms-local", "--auto", "--target", "f40-flatpak-candidate" ]) tests/test_cli.py:248: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.13/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.13/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.13/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.13/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.13/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.13/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:480: in build_rpms_local container_spec=spec, local_repo=paths.local_repo, local_runtime=local_runtime, flatpak_module_tools/cli.py:55: in local_repo result = self.path / Path(Arch().rpm) / "rpms" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError __________________________ test_target_container_yaml __________________________ rpm_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_target_container_yaml0/eog') def test_target_container_yaml(rpm_builder_mock, repo_path): > expect_success([ "--path", repo_path, "build-rpms-local", "--auto" ]) tests/test_cli.py:259: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.13/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.13/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.13/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.13/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.13/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.13/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:480: in build_rpms_local container_spec=spec, local_repo=paths.local_repo, local_runtime=local_runtime, flatpak_module_tools/cli.py:55: in local_repo result = self.path / Path(Arch().rpm) / "rpms" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError ____________________________ test_target_git_branch ____________________________ rpm_builder_mock = repo_path_git = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_target_git_branch0/eog_checkout') @pytest.mark.container_yaml(RUNTIME_CONTAINER_YAML) def test_target_git_branch(rpm_builder_mock, repo_path_git): subprocess.check_call([ "git", "config", "branch.stable.merge", "refs/heads/f41" ], cwd=repo_path_git) > expect_success(["--path", repo_path_git, "build-rpms-local", "--auto"]) tests/test_cli.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.13/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.13/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.13/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.13/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.13/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.13/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:480: in build_rpms_local container_spec=spec, local_repo=paths.local_repo, local_runtime=local_runtime, flatpak_module_tools/cli.py:55: in local_repo result = self.path / Path(Arch().rpm) / "rpms" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-mockbuild/pytest-0/test_target_git_branch0/eog/.git/ [stable (root-commit) 459f74a] Initial import 1 file changed, 10 insertions(+) create mode 100644 container.yaml ---------------------------- Captured stderr setup ----------------------------- Cloning into '/tmp/pytest-of-mockbuild/pytest-0/test_target_git_branch0/eog_checkout'... _____________________________ test_assemble_manual _____________________________ container_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_assemble_manual0/eog') def test_assemble_manual(container_builder_mock, repo_path): > expect_success([ "--path", repo_path, "assemble", "--nvr", "eog-45.1-1", "--runtime-nvr", "flatpak-runtime-39-1", "--runtime-repo", "42", "--app-repo", "43", ]) tests/test_cli.py:388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.13/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.13/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.13/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.13/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.13/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.13/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:358: in assemble build_context = ManualBuildContext( flatpak_module_tools/build_context.py:320: in __init__ super().__init__(profile=profile, arch=arch, container_spec=container_spec) flatpak_module_tools/build_context.py:30: in __init__ self.arch = arch or Arch() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError ______________________________ test_assemble_auto ______________________________ container_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_assemble_auto0/eog') def test_assemble_auto(container_builder_mock, repo_path): > expect_success(["--path", repo_path, "assemble"]) tests/test_cli.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.13/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.13/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.13/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.13/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.13/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.13/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:365: in assemble build_context = AutoBuildContext( flatpak_module_tools/build_context.py:191: in __init__ super().__init__( flatpak_module_tools/build_context.py:30: in __init__ self.arch = arch or Arch() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError =========================== short test summary info ============================ FAILED tests/test_cli.py::test_global_options - KeyError: "Can't find Arch(fl... FAILED tests/test_cli.py::test_local_repo_option - KeyError: "Can't find Arch... FAILED tests/test_cli.py::test_local_repo_missing_warning - KeyError: "Can't ... FAILED tests/test_cli.py::test_containerspec_option - KeyError: "Can't find A... FAILED tests/test_cli.py::test_target_cli - KeyError: "Can't find Arch(flatpa... FAILED tests/test_cli.py::test_target_container_yaml - KeyError: "Can't find ... FAILED tests/test_cli.py::test_target_git_branch - KeyError: "Can't find Arch... FAILED tests/test_cli.py::test_assemble_manual - KeyError: "Can't find Arch(f... FAILED tests/test_cli.py::test_assemble_auto - KeyError: "Can't find Arch(fla... =========== 9 failed, 101 passed, 1 deselected in 134.78s (0:02:14) ============ error: Bad exit status from /var/tmp/rpm-tmp.IIeYkI (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IIeYkI (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 9530b67315e447288d56a4d80a5d7dd0 -D /var/lib/mock/f42-build-3313930-41426/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.t60bftde:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 9530b67315e447288d56a4d80a5d7dd0 -D /var/lib/mock/f42-build-3313930-41426/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.t60bftde:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec'