Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '19d9232b0d15494192c33248500921fc', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1684713600 Wrote: /builddir/build/SRPMS/python-tenma-serial-1.1.1-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'dd6cecfcf5ee4bcfb4610268386ecaf0', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 -br --target x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1684713600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cbFIBo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tenma-serial-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/tenma-serial-1.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tenma-serial-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.TUj3Yn + umask 022 + cd /builddir/build/BUILD + cd tenma-serial-1.1.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + RPM_TOXENV=py39 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/tenma-serial-1.1.1/pyproject-wheeldir Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.8.0) 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-tenma-serial-1.1.1-1.el9.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 x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'd32f8aa1fad041a9bf2e7f044e5afb8a', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 -br --target x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1684713600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ImaS9p + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tenma-serial-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/tenma-serial-1.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tenma-serial-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4n8DHy + umask 022 + cd /builddir/build/BUILD + cd tenma-serial-1.1.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + RPM_TOXENV=py39 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/tenma-serial-1.1.1/pyproject-wheeldir Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.8.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) Handling pbr from get_requires_for_build_wheel Requirement not satisfied: pbr Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-tenma-serial-1.1.1-1.el9.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 x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'a3e0dbae368149008dbeb9151d46f8fb', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 -br --target x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1684713600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1LXMdv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tenma-serial-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/tenma-serial-1.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tenma-serial-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4RP8GG + umask 022 + cd /builddir/build/BUILD + cd tenma-serial-1.1.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + RPM_TOXENV=py39 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/tenma-serial-1.1.1/pyproject-wheeldir Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.8.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) Handling pbr from get_requires_for_build_wheel Requirement satisfied: pbr (installed: pbr 5.11.1) /usr/lib/python3.9/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.9/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, pypa/build or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 985, in run_command log.info("running %s", command) Message: 'running %s' Arguments: ('dist_info',) --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 690, in write_pkg_info log.info("writing %s", filename) Message: 'writing %s' Arguments: ('tenma_serial.egg-info/PKG-INFO',) --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 759, in overwrite_arg write_arg(cmd, basename, filename, True) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 767, in write_arg cmd.write_or_delete_file(argname, filename, value, force) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 272, in write_or_delete_file self.write_file(what, filename, data) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('dependency_links', 'tenma_serial.egg-info/dependency_links.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 773, in write_entries cmd.write_or_delete_file('entry points', filename, defn, True) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 272, in write_or_delete_file self.write_file(what, filename, data) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('entry points', 'tenma_serial.egg-info/entry_points.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 739, in write_requirements cmd.write_or_delete_file("requirements", filename, data.getvalue()) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 272, in write_or_delete_file self.write_file(what, filename, data) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('requirements', 'tenma_serial.egg-info/requires.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 755, in write_toplevel_names cmd.write_file("top-level names", filename, '\n'.join(sorted(pkgs)) + '\n') File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('top-level names', 'tenma_serial.egg-info/top_level.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 317, in run self.find_sources() File "/usr/lib/python3.9/site-packages/pbr/packaging.py", line 582, in find_sources log.info("[pbr] Reusing existing SOURCES.txt") Message: '[pbr] Reusing existing SOURCES.txt' Arguments: () --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 103, in run log.info("creating '{}'".format(os.path.abspath(self.dist_info_dir))) Message: "creating '/builddir/build/BUILD/tenma-serial-1.1.1/tenma_serial-1.1.1.dist-info'" Arguments: () --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 108, in run bdist_wheel.egg2dist(egg_info_dir, self.dist_info_dir) File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 488, in egg2dist for license_path in self.license_paths: File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 432, in license_paths logger.info('adding license file "%s" (matched pattern "%s")', path, pattern) Message: 'adding license file "%s" (matched pattern "%s")' Arguments: ('LICENSE.txt', 'LICEN[CS]E*') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 108, in run bdist_wheel.egg2dist(egg_info_dir, self.dist_info_dir) File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 488, in egg2dist for license_path in self.license_paths: File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 432, in license_paths logger.info('adding license file "%s" (matched pattern "%s")', path, pattern) Message: 'adding license file "%s" (matched pattern "%s")' Arguments: ('AUTHORS', 'AUTHORS*') Handling pyserial from hook generated metadata: Requires-Dist Requirement not satisfied: pyserial + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-tenma-serial-1.1.1-1.el9.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 x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '6a58567b7b21486fb4f40a566432b035', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 -br --target x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1684713600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.L6nGv5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tenma-serial-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/tenma-serial-1.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tenma-serial-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.cMpMVu + umask 022 + cd /builddir/build/BUILD + cd tenma-serial-1.1.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + RPM_TOXENV=py39 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/tenma-serial-1.1.1/pyproject-wheeldir Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.8.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) Handling pbr from get_requires_for_build_wheel Requirement satisfied: pbr (installed: pbr 5.11.1) /usr/lib/python3.9/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.9/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, pypa/build or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 985, in run_command log.info("running %s", command) Message: 'running %s' Arguments: ('dist_info',) --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 690, in write_pkg_info log.info("writing %s", filename) Message: 'writing %s' Arguments: ('tenma_serial.egg-info/PKG-INFO',) --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 759, in overwrite_arg write_arg(cmd, basename, filename, True) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 767, in write_arg cmd.write_or_delete_file(argname, filename, value, force) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 272, in write_or_delete_file self.write_file(what, filename, data) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('dependency_links', 'tenma_serial.egg-info/dependency_links.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 773, in write_entries cmd.write_or_delete_file('entry points', filename, defn, True) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 272, in write_or_delete_file self.write_file(what, filename, data) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('entry points', 'tenma_serial.egg-info/entry_points.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 739, in write_requirements cmd.write_or_delete_file("requirements", filename, data.getvalue()) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 272, in write_or_delete_file self.write_file(what, filename, data) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('requirements', 'tenma_serial.egg-info/requires.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 755, in write_toplevel_names cmd.write_file("top-level names", filename, '\n'.join(sorted(pkgs)) + '\n') File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('top-level names', 'tenma_serial.egg-info/top_level.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 317, in run self.find_sources() File "/usr/lib/python3.9/site-packages/pbr/packaging.py", line 582, in find_sources log.info("[pbr] Reusing existing SOURCES.txt") Message: '[pbr] Reusing existing SOURCES.txt' Arguments: () --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 103, in run log.info("creating '{}'".format(os.path.abspath(self.dist_info_dir))) Message: "creating '/builddir/build/BUILD/tenma-serial-1.1.1/tenma_serial-1.1.1.dist-info'" Arguments: () --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 108, in run bdist_wheel.egg2dist(egg_info_dir, self.dist_info_dir) File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 488, in egg2dist for license_path in self.license_paths: File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 432, in license_paths logger.info('adding license file "%s" (matched pattern "%s")', path, pattern) Message: 'adding license file "%s" (matched pattern "%s")' Arguments: ('LICENSE.txt', 'LICEN[CS]E*') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 108, in run bdist_wheel.egg2dist(egg_info_dir, self.dist_info_dir) File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 488, in egg2dist for license_path in self.license_paths: File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 432, in license_paths logger.info('adding license file "%s" (matched pattern "%s")', path, pattern) Message: 'adding license file "%s" (matched pattern "%s")' Arguments: ('AUTHORS', 'AUTHORS*') Handling pyserial from hook generated metadata: Requires-Dist Requirement satisfied: pyserial (installed: pyserial 3.5) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-tenma-serial-1.1.1-1.el9.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 x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '7f671274e3664dcd805caeab1525ad26', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1684761140.432065/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nuhow2lx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-tenma-serial.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1684713600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.9NYqZZ + umask 022 + cd /builddir/build/BUILD + cd tenma-serial-1.1.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv tenma_serial-1.1.1.dist-info/ removed 'tenma_serial-1.1.1.dist-info/LICENSE.txt' removed 'tenma_serial-1.1.1.dist-info/AUTHORS' removed 'tenma_serial-1.1.1.dist-info/METADATA' removed 'tenma_serial-1.1.1.dist-info/entry_points.txt' removed 'tenma_serial-1.1.1.dist-info/top_level.txt' removed directory 'tenma_serial-1.1.1.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + RPM_TOXENV=py39 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/tenma-serial-1.1.1/pyproject-wheeldir Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.8.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) Handling pbr from get_requires_for_build_wheel Requirement satisfied: pbr (installed: pbr 5.11.1) /usr/lib/python3.9/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.9/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, pypa/build or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 985, in run_command log.info("running %s", command) Message: 'running %s' Arguments: ('dist_info',) --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 690, in write_pkg_info log.info("writing %s", filename) Message: 'writing %s' Arguments: ('tenma_serial.egg-info/PKG-INFO',) --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 759, in overwrite_arg write_arg(cmd, basename, filename, True) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 767, in write_arg cmd.write_or_delete_file(argname, filename, value, force) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 272, in write_or_delete_file self.write_file(what, filename, data) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('dependency_links', 'tenma_serial.egg-info/dependency_links.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 773, in write_entries cmd.write_or_delete_file('entry points', filename, defn, True) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 272, in write_or_delete_file self.write_file(what, filename, data) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('entry points', 'tenma_serial.egg-info/entry_points.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 739, in write_requirements cmd.write_or_delete_file("requirements", filename, data.getvalue()) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 272, in write_or_delete_file self.write_file(what, filename, data) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('requirements', 'tenma_serial.egg-info/requires.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 310, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 755, in write_toplevel_names cmd.write_file("top-level names", filename, '\n'.join(sorted(pkgs)) + '\n') File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 288, in write_file log.info("writing %s to %s", what, filename) Message: 'writing %s to %s' Arguments: ('top-level names', 'tenma_serial.egg-info/top_level.txt') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 99, in run self.egg_info.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 317, in run self.find_sources() File "/usr/lib/python3.9/site-packages/pbr/packaging.py", line 582, in find_sources log.info("[pbr] Reusing existing SOURCES.txt") Message: '[pbr] Reusing existing SOURCES.txt' Arguments: () --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 103, in run log.info("creating '{}'".format(os.path.abspath(self.dist_info_dir))) Message: "creating '/builddir/build/BUILD/tenma-serial-1.1.1/tenma_serial-1.1.1.dist-info'" Arguments: () --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 108, in run bdist_wheel.egg2dist(egg_info_dir, self.dist_info_dir) File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 488, in egg2dist for license_path in self.license_paths: File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 432, in license_paths logger.info('adding license file "%s" (matched pattern "%s")', path, pattern) Message: 'adding license file "%s" (matched pattern "%s")' Arguments: ('LICENSE.txt', 'LICEN[CS]E*') --- Logging error --- Traceback (most recent call last): File "/usr/lib64/python3.9/logging/__init__.py", line 1086, in emit stream.write(msg + self.terminator) ValueError: I/O operation on closed file. Call stack: File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 550, in main(sys.argv[1:]) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 532, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 444, in generate_requires generate_run_requirements(backend, requirements, build_wheel=build_wheel, wheeldir=wheeldir) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 354, in generate_run_requirements generate_run_requirements_hook(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 310, in generate_run_requirements_hook dir_basename = prepare_metadata('.') File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 380, in prepare_metadata_for_build_wheel self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 5, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1244, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 108, in run bdist_wheel.egg2dist(egg_info_dir, self.dist_info_dir) File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 488, in egg2dist for license_path in self.license_paths: File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 432, in license_paths logger.info('adding license file "%s" (matched pattern "%s")', path, pattern) Message: 'adding license file "%s" (matched pattern "%s")' Arguments: ('AUTHORS', 'AUTHORS*') Handling pyserial from hook generated metadata: Requires-Dist Requirement satisfied: pyserial (installed: pyserial 3.5) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.63L4MM + umask 022 + cd /builddir/build/BUILD + cd tenma-serial-1.1.1 + mkdir -p /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/tenma-serial-1.1.1/pyproject-wheeldir Processing /builddir/build/BUILD/tenma-serial-1.1.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.9/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.9/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, pypa/build or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) running dist_info creating /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir/pip-modern-metadata-7au601z6/tenma_serial.egg-info writing /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir/pip-modern-metadata-7au601z6/tenma_serial.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir/pip-modern-metadata-7au601z6/tenma_serial.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir/pip-modern-metadata-7au601z6/tenma_serial.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir/pip-modern-metadata-7au601z6/tenma_serial.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir/pip-modern-metadata-7au601z6/tenma_serial.egg-info/top_level.txt [pbr] Processing SOURCES.txt writing manifest file '/builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir/pip-modern-metadata-7au601z6/tenma_serial.egg-info/SOURCES.txt' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE.txt' adding license file 'AUTHORS' writing manifest file '/builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir/pip-modern-metadata-7au601z6/tenma_serial.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir/pip-modern-metadata-7au601z6/tenma_serial-1.1.1.dist-info' adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") adding license file "AUTHORS" (matched pattern "AUTHORS*") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: tenma-serial Building wheel for tenma-serial (pyproject.toml): started Running command Building wheel for tenma-serial (pyproject.toml) /usr/lib/python3.9/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-content-type' will not be supported in future versions. Please use the underscore name 'description_content_type' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/tenma copying tenma/tenmaDcLib.py -> build/lib/tenma copying tenma/tenmaControl.py -> build/lib/tenma copying tenma/gtkIndicator.py -> build/lib/tenma copying tenma/__init__.py -> build/lib/tenma running egg_info writing tenma_serial.egg-info/PKG-INFO writing dependency_links to tenma_serial.egg-info/dependency_links.txt writing entry points to tenma_serial.egg-info/entry_points.txt writing requirements to tenma_serial.egg-info/requires.txt writing top-level names to tenma_serial.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt copying tenma/logo.png -> build/lib/tenma installing to build/bdist.linux-x86_64/wheel running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/tenma copying build/lib/tenma/logo.png -> build/bdist.linux-x86_64/wheel/tenma copying build/lib/tenma/__init__.py -> build/bdist.linux-x86_64/wheel/tenma copying build/lib/tenma/gtkIndicator.py -> build/bdist.linux-x86_64/wheel/tenma copying build/lib/tenma/tenmaControl.py -> build/bdist.linux-x86_64/wheel/tenma copying build/lib/tenma/tenmaDcLib.py -> build/bdist.linux-x86_64/wheel/tenma running install_egg_info Copying tenma_serial.egg-info to build/bdist.linux-x86_64/wheel/tenma_serial-1.1.1-py3.9.egg-info running install_scripts adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") adding license file "AUTHORS" (matched pattern "AUTHORS*") creating build/bdist.linux-x86_64/wheel/tenma_serial-1.1.1.dist-info/WHEEL creating '/builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir/pip-wheel-tmb6q4pu/.tmp-qz5vidhb/tenma_serial-1.1.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'tenma/__init__.py' adding 'tenma/gtkIndicator.py' adding 'tenma/logo.png' adding 'tenma/tenmaControl.py' adding 'tenma/tenmaDcLib.py' adding 'tenma_serial-1.1.1.dist-info/AUTHORS' adding 'tenma_serial-1.1.1.dist-info/LICENSE.txt' adding 'tenma_serial-1.1.1.dist-info/METADATA' adding 'tenma_serial-1.1.1.dist-info/WHEEL' adding 'tenma_serial-1.1.1.dist-info/entry_points.txt' adding 'tenma_serial-1.1.1.dist-info/top_level.txt' adding 'tenma_serial-1.1.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for tenma-serial (pyproject.toml): finished with status 'done' Created wheel for tenma-serial: filename=tenma_serial-1.1.1-py3-none-any.whl size=28266 sha256=73e9cc2d14b9190b1d789844c83eb33bd5a28933f7bba7c4eb12c838823705a6 Stored in directory: /builddir/.cache/pip/wheels/a4/a0/01/56c493312e334710090cf0c84de053d0413fe76b30f331e471 Successfully built tenma-serial + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GoArYN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64 + cd tenma-serial-1.1.1 ++ ls /builddir/build/BUILD/tenma-serial-1.1.1/pyproject-wheeldir/tenma_serial-1.1.1-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple + specifier=tenma_serial==1.1.1 + TMPDIR=/builddir/build/BUILD/tenma-serial-1.1.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64 --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/tenma-serial-1.1.1/pyproject-wheeldir tenma_serial==1.1.1 Using pip 22.0.4 from /usr/lib/python3.9/site-packages/pip (python 3.9) Looking in links: /builddir/build/BUILD/tenma-serial-1.1.1/pyproject-wheeldir Processing ./pyproject-wheeldir/tenma_serial-1.1.1-py3-none-any.whl Installing collected packages: tenma_serial Creating /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/gtkIndicator.py to 755 changing mode of /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/tenma-applet to 755 changing mode of /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/tenma-control to 755 changing mode of /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/tenmaControl.py to 755 Successfully installed tenma_serial-1.1.1 + '[' -d /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin ']' + '[' -f /usr/bin/pathfix3.9.py ']' + pathfix=/usr/bin/pathfix3.9.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.9.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/gtkIndicator.py /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/tenma-applet /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/tenma-control /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/tenmaControl.py /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/gtkIndicator.py: updating /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/tenma-applet: updating /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/tenma-control: updating /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/tenmaControl.py: updating + rm -rfv /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-tenma-serial-1.1.1-1.el9.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib/python3.9/site-packages ']' + site_dirs+=("/usr/lib/python3.9/site-packages") + '[' /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib64/python3.9/site-packages '!=' /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib/python3.9/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib64/python3.9/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.9/site-packages/tenma_serial-1.1.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib/python3.9/site-packages/tenma_serial-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/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64 --record /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib/python3.9/site-packages/tenma_serial-1.1.1.dist-info/RECORD --output /builddir/build/BUILD/python-tenma-serial-1.1.1-1.el9.x86_64-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib/python3.9/site-packages/tenma_serial-1.1.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib/python3.9/site-packages/tenma_serial-1.1.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib/python3.9/site-packages/tenma_serial-1.1.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib/python3.9/site-packages/tenma_serial-1.1.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-tenma-serial-1.1.1-1.el9.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-tenma-serial-1.1.1-1.el9.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-tenma-serial-1.1.1-1.el9.x86_64-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64 --sitelib /usr/lib/python3.9/site-packages --sitearch /usr/lib64/python3.9/site-packages --python-version 3.9 --pyproject-record /builddir/build/BUILD/python-tenma-serial-1.1.1-1.el9.x86_64-pyproject-record --prefix /usr '*' +auto + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.1.1-1.el9 --unique-debug-suffix -1.1.1-1.el9.x86_64 --unique-debug-src-base python-tenma-serial-1.1.1-1.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/tenma-serial-1.1.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.YR8gfi + umask 022 + cd /builddir/build/BUILD + cd tenma-serial-1.1.1 + '[' '!' -f /builddir/build/BUILD/python-tenma-serial-1.1.1-1.el9.x86_64-pyproject-modules ']' + PATH=/builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib/python3.9/site-packages + _PYTHONSITE=/builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/python3 -s /usr/lib/rpm/redhat/import_all_modules.py -f /builddir/build/BUILD/python-tenma-serial-1.1.1-1.el9.x86_64-pyproject-modules -t Check import: tenma + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-tenma-serial-1.1.1-1.el9.noarch Provides: python-tenma-serial = 1.1.1-1.el9 python3-tenma-serial = 1.1.1-1.el9 python3.9-tenma-serial = 1.1.1-1.el9 python3.9dist(tenma-serial) = 1.1.1 python3dist(tenma-serial) = 1.1.1 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.9 python3.9dist(pyserial) Obsoletes: python39-tenma-serial < 1.1.1-1.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64 Wrote: /builddir/build/SRPMS/python-tenma-serial-1.1.1-1.el9.src.rpm Wrote: /builddir/build/RPMS/python3-tenma-serial-1.1.1-1.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.R8eOCb + umask 022 + cd /builddir/build/BUILD + cd tenma-serial-1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-tenma-serial-1.1.1-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0