Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-interfile.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660644865.628144/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.jpqb_gnx:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jpqb_gnx:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'bd68740de35c4deaa91ea9943e74030f', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660644865.628144/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jpqb_gnx:/etc/resolv.conf', '--bind=/dev/btrfs-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-interfile.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=1658448000 Wrote: /builddir/build/SRPMS/python-interfile-0.3.1-23.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-interfile.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660644865.628144/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.jpqb_gnx:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jpqb_gnx:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'baa6e304b6974c04afab8b1ad388c032', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660644865.628144/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jpqb_gnx:/etc/resolv.conf', '--bind=/dev/btrfs-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 -bb --target x86_64 --nodeps /builddir/build/SPECS/python-interfile.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=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6ZfYib + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf interfile-0.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/interfile-0.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd interfile-0.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Removed-dependence-from-Python-Petlink.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf interfile.egg-info + 2to3 --write --nobackups . /usr/bin/2to3:3: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+ from lib2to3.main import main RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./interfile/Interfile.py RefactoringTool: Refactored ./interfile/__init__.py RefactoringTool: No changes to ./interfile/tests/test_interfile.py RefactoringTool: No changes to ./interfile/tests/test_listmode.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./interfile/Interfile.py RefactoringTool: ./interfile/__init__.py RefactoringTool: ./interfile/tests/test_interfile.py RefactoringTool: ./interfile/tests/test_listmode.py --- ./interfile/Interfile.py (original) +++ ./interfile/Interfile.py (refactored) @@ -5,7 +5,7 @@ # Oct 2013, Helsinki __all__ = ['FileParser','load','listmode_to_sinogram'] -from StringIO import StringIO +from io import StringIO import json import os @@ -239,7 +239,7 @@ class Interfile(): pass I = Interfile() - for name in self.dict.keys(): + for name in list(self.dict.keys()): setattr(I,name.replace(' ','_'),self.dict.get(name)) return I --- ./interfile/__init__.py (original) +++ ./interfile/__init__.py (refactored) @@ -4,7 +4,7 @@ # Aalto University, School of Science, Helsinki # Oct 2013, Helsinki -import Interfile -import listmode +from . import Interfile +from . import listmode + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S3a0gB + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/interfile-0.3.1/.package_note-python-interfile-0.3.1-23.fc38.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh python-interfile 0.3.1-23.fc38 x86_64 + cd interfile-0.3.1 + 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 -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 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/interfile-0.3.1/.package_note-python-interfile-0.3.1-23.fc38.x86_64.ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/interfile copying interfile/listmode.py -> build/lib/interfile copying interfile/Interfile.py -> build/lib/interfile copying interfile/__init__.py -> build/lib/interfile creating build/lib/interfile/examples copying interfile/examples/__init__.py -> build/lib/interfile/examples creating build/lib/interfile/tests copying interfile/tests/test_listmode.py -> build/lib/interfile/tests copying interfile/tests/test_interfile.py -> build/lib/interfile/tests copying interfile/tests/__init__.py -> build/lib/interfile/tests copying interfile/examples/pet_sinogram.s.hdr -> build/lib/interfile/examples copying interfile/examples/pet_listmode.l.hdr -> build/lib/interfile/examples + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gwQ13P + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/interfile-0.3.1/.package_note-python-interfile-0.3.1-23.fc38.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd interfile-0.3.1 + 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 -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 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/interfile-0.3.1/.package_note-python-interfile-0.3.1-23.fc38.x86_64.ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64 --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr creating /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile creating /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/tests copying build/lib/interfile/tests/__init__.py -> /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/tests copying build/lib/interfile/tests/test_interfile.py -> /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/tests copying build/lib/interfile/tests/test_listmode.py -> /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/tests creating /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/examples copying build/lib/interfile/examples/pet_listmode.l.hdr -> /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/examples copying build/lib/interfile/examples/pet_sinogram.s.hdr -> /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/examples copying build/lib/interfile/examples/__init__.py -> /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/examples copying build/lib/interfile/__init__.py -> /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile copying build/lib/interfile/Interfile.py -> /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile copying build/lib/interfile/listmode.py -> /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile byte-compiling /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/tests/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/tests/test_interfile.py to test_interfile.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/tests/test_listmode.py to test_listmode.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/examples/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/Interfile.py to Interfile.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile/listmode.py to listmode.cpython-311.pyc writing byte-compilation script '/tmp/tmpj8j_2wca.py' /usr/bin/python3 /tmp/tmpj8j_2wca.py removing /tmp/tmpj8j_2wca.py running install_egg_info running egg_info creating interfile.egg-info writing interfile.egg-info/PKG-INFO writing dependency_links to interfile.egg-info/dependency_links.txt writing requirements to interfile.egg-info/requires.txt writing top-level names to interfile.egg-info/top_level.txt writing manifest file 'interfile.egg-info/SOURCES.txt' reading manifest file 'interfile.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'interfile.egg-info/SOURCES.txt' Copying interfile.egg-info to /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11/site-packages/interfile-0.3.1-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.3.1-23.fc38 --unique-debug-suffix -0.3.1-23.fc38.x86_64 --unique-debug-src-base python-interfile-0.3.1-23.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/interfile-0.3.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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib/python3.11/site-packages/interfile/examples/pet_sinogram.s.hdr is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/python3.11/site-packages/interfile/examples/pet_listmode.l.hdr is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LQxU7G + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/interfile-0.3.1/.package_note-python-interfile-0.3.1-23.fc38.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh python-interfile 0.3.1-23.fc38 x86_64 + cd interfile-0.3.1 + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing interfile.egg-info/PKG-INFO writing dependency_links to interfile.egg-info/dependency_links.txt writing requirements to interfile.egg-info/requires.txt writing top-level names to interfile.egg-info/top_level.txt reading manifest file 'interfile.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'interfile.egg-info/SOURCES.txt' running build_ext test_load_c_libraries (interfile.tests.test_listmode.TestListmode.test_load_c_libraries) Check if the C libraries can be loaded. ... ok test_simple_parse (interfile.tests.test_interfile.TestInterfile.test_simple_parse) Parse a simple interfile. ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.000s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-interfile-0.3.1-23.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.znBX5m + umask 022 + cd /builddir/build/BUILD + cd interfile-0.3.1 + DOCDIR=/builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/share/doc/python3-interfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/share/doc/python3-interfile + cp -pr README.rst /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64/usr/share/doc/python3-interfile + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-interfile = 0.3.1-23.fc38 python3-interfile = 0.3.1-23.fc38 python3.11-interfile = 0.3.1-23.fc38 python3.11dist(interfile) = 0.3.1 python3dist(interfile) = 0.3.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: python(abi) = 3.11 python3.11dist(numpy) >= 1.6 python3.11dist(simplewrap) >= 0.3 Obsoletes: python-interfile < 0.3.1-23.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64 Wrote: /builddir/build/RPMS/python3-interfile-0.3.1-23.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qO2EF9 + umask 022 + cd /builddir/build/BUILD + cd interfile-0.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-interfile-0.3.1-23.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.vgIiJv + umask 022 + cd /builddir/build/BUILD + rm -rf interfile-0.3.1 interfile-0.3.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0