Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-importmagic.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1661258248.801234/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.9bzbthb8:/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.9bzbthb8:/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', '9c0ec30bbf544b839e2b7fe244f61c7c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1661258248.801234/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9bzbthb8:/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-importmagic.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-importmagic-0.1.7-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-importmagic.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1661258248.801234/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.9bzbthb8:/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.9bzbthb8:/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', '1c05ef8b9c2a47148c539e75e4e459a6', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1661258248.801234/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9bzbthb8:/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-importmagic.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.gEvKHz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf importmagic-0.1.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/importmagic-0.1.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd importmagic-0.1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf importmagic.egg-info + pushd importmagic ~/build/BUILD/importmagic-0.1.7/importmagic ~/build/BUILD/importmagic-0.1.7 + rm -f six.py + for i in *.py + sed -i -e s/importmagic.six/six/g __init__.py + for i in *.py + sed -i -e s/importmagic.six/six/g conftest.py + for i in *.py + sed -i -e s/importmagic.six/six/g importer.py + for i in *.py + sed -i -e s/importmagic.six/six/g importer_test.py + for i in *.py + sed -i -e s/importmagic.six/six/g index.py + for i in *.py + sed -i -e s/importmagic.six/six/g index_test.py + for i in *.py + sed -i -e s/importmagic.six/six/g symbols.py + for i in *.py + sed -i -e s/importmagic.six/six/g symbols_test.py + for i in *.py + sed -i -e s/importmagic.six/six/g util.py + popd ~/build/BUILD/importmagic-0.1.7 + rm -f runtests.py + mkdir test + mv importmagic/conftest.py importmagic/importer_test.py importmagic/index_test.py importmagic/symbols_test.py importmagic/test_index.json test + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TPHYN3 + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd importmagic-0.1.7 + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/importmagic copying importmagic/util.py -> build/lib/importmagic copying importmagic/symbols.py -> build/lib/importmagic copying importmagic/index.py -> build/lib/importmagic copying importmagic/importer.py -> build/lib/importmagic copying importmagic/__init__.py -> build/lib/importmagic + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rG97VK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-importmagic-0.1.7-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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd importmagic-0.1.7 + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-importmagic-0.1.7-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-importmagic-0.1.7-23.fc38.x86_64/usr creating /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic copying build/lib/importmagic/__init__.py -> /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic copying build/lib/importmagic/importer.py -> /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic copying build/lib/importmagic/index.py -> /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic copying build/lib/importmagic/symbols.py -> /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic copying build/lib/importmagic/util.py -> /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic byte-compiling /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic/importer.py to importer.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic/index.py to index.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic/symbols.py to symbols.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic/util.py to util.cpython-311.pyc writing byte-compilation script '/tmp/tmp24i2t7gf.py' /usr/bin/python3 /tmp/tmp24i2t7gf.py removing /tmp/tmp24i2t7gf.py running install_egg_info running egg_info creating importmagic.egg-info writing importmagic.egg-info/PKG-INFO writing dependency_links to importmagic.egg-info/dependency_links.txt writing requirements to importmagic.egg-info/requires.txt writing top-level names to importmagic.egg-info/top_level.txt writing manifest file 'importmagic.egg-info/SOURCES.txt' reading manifest file 'importmagic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'runtests.py' warning: no files found matching 'importmagic/test_index.json' writing manifest file 'importmagic.egg-info/SOURCES.txt' Copying importmagic.egg-info to /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages/importmagic-0.1.7-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.1.7-23.fc38 --unique-debug-suffix -0.1.7-23.fc38.x86_64 --unique-debug-src-base python-importmagic-0.1.7-23.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/importmagic-0.1.7 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 + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-importmagic-0.1.7-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.r9B9xo + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd importmagic-0.1.7 + PYTHONPATH=/builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/lib/python3.11/site-packages + py.test-3 test ============================= test session starts ============================== platform linux -- Python 3.11.0rc1, pytest-7.1.2, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/importmagic-0.1.7, configfile: pytest.ini collecting ... collected 66 items test/importer_test.py::test_get_update PASSED [ 1%] test/importer_test.py::test_deep_import_of_unknown_symbol PASSED [ 3%] test/importer_test.py::test_import_future_preserved PASSED [ 4%] test/importer_test.py::test_update_imports_inserts_initial_imports PASSED [ 6%] test/importer_test.py::test_update_imports_inserts_imports PASSED [ 7%] test/importer_test.py::test_update_imports_correctly_aliases PASSED [ 9%] test/importer_test.py::test_parse_imports PASSED [ 10%] test/importer_test.py::test_imports_inserted_after_preamble PASSED [ 12%] test/importer_test.py::test_imports_dont_delete_trailing_comments PASSED [ 13%] test/importer_test.py::test_imports_dont_delete_imports_after_middle_comments PASSED [ 15%] test/importer_test.py::test_imports_removes_unused PASSED [ 16%] test/importer_test.py::test_imports_module_assignment PASSED [ 18%] test/importer_test.py::test_import_as_kept PASSED [ 19%] test/importer_test.py::test_from_import_as PASSED [ 21%] test/importer_test.py::test_importer_wrapping_escaped PASSED [ 22%] test/importer_test.py::test_importer_wrapping_escaped_longer PASSED [ 24%] test/importer_test.py::test_importer_wrapping_parentheses PASSED [ 25%] test/importer_test.py::test_importer_wrapping_parentheses_longer PASSED [ 27%] test/importer_test.py::test_importer_wrapping_colums PASSED [ 28%] test/importer_test.py::test_importer_directives_referenced PASSED [ 30%] test/importer_test.py::test_importer_directives_not_referenced PASSED [ 31%] test/importer_test.py::test_imports_partial_file PASSED [ 33%] test/index_test.py::test_index_basic_api PASSED [ 34%] test/index_test.py::test_index_filesystem PASSED [ 36%] test/index_test.py::test_index_file_with_all PASSED [ 37%] test/index_test.py::test_index_if_name_main PASSED [ 39%] test/index_test.py::test_index_symbol_scores PASSED [ 40%] test/index_test.py::test_index_score_deep_unknown_attribute PASSED [ 42%] test/index_test.py::test_index_score_deep_reference PASSED [ 43%] test/index_test.py::test_index_score_missing_symbol PASSED [ 45%] test/index_test.py::test_index_score_sys_path PASSED [ 46%] test/index_test.py::test_encoding_score PASSED [ 48%] test/index_test.py::test_score_boosts_apply_to_scopes PASSED [ 50%] test/symbols_test.py::test_parser_symbol_in_global_function PASSED [ 51%] test/symbols_test.py::test_deep_package_reference_with_function_call PASSED [ 53%] test/symbols_test.py::test_deep_package_reference_with_subscript PASSED [ 54%] test/symbols_test.py::test_parser_class_methods_namespace_correctly PASSED [ 56%] test/symbols_test.py::test_path_from_node_function PASSED [ 57%] test/symbols_test.py::test_symbol_from_assignment PASSED [ 59%] test/symbols_test.py::test_path_from_node_subscript PASSED [ 60%] test/symbols_test.py::test_symbol_series PASSED [ 62%] test/symbols_test.py::test_symbol_in_expression PASSED [ 63%] test/symbols_test.py::test_symbol_from_nested_tuples PASSED [ 65%] test/symbols_test.py::test_symbol_from_argument_defaults PASSED [ 66%] test/symbols_test.py::test_symbol_from_decorator PASSED [ 68%] test/symbols_test.py::test_referenced_symbols_from_decorated_function PASSED [ 69%] test/symbols_test.py::test_find_unresolved_and_unreferenced_symbols PASSED [ 71%] test/symbols_test.py::test_accepts_unicode_strings PASSED [ 72%] test/symbols_test.py::TestSymbolCollection::test_attribute PASSED [ 74%] test/symbols_test.py::TestSymbolCollection::test_tuple PASSED [ 75%] test/symbols_test.py::TestSymbolCollection::test_chained_calls PASSED [ 77%] test/symbols_test.py::TestSymbolCollection::test_chained_subscript PASSED [ 78%] test/symbols_test.py::TestSymbolCollection::test_attribute_then_call PASSED [ 80%] test/symbols_test.py::TestSymbolCollection::test_deep_attributes PASSED [ 81%] test/symbols_test.py::TestSymbolCollection::test_generator PASSED [ 83%] test/symbols_test.py::TestSymbolCollection::test_comprehension PASSED [ 84%] test/symbols_test.py::TestSymbolCollection::test_class_attribute PASSED [ 86%] test/symbols_test.py::TestSymbolCollection::test_with PASSED [ 87%] test/symbols_test.py::TestSymbolCollection::test_with_variables PASSED [ 89%] test/symbols_test.py::TestSymbolCollection::test_assignment_in_for PASSED [ 90%] test/symbols_test.py::TestSymbolCollection::test_assignment_to_subscript PASSED [ 92%] test/symbols_test.py::TestSymbolCollection::test_attribute_calls PASSED [ 93%] test/symbols_test.py::TestSymbolCollection::test_attribute_calls_with_args PASSED [ 95%] test/symbols_test.py::TestSymbolCollection::test_subscript_with_attrs PASSED [ 96%] test/symbols_test.py::TestSymbolCollection::test_multiple_names PASSED [ 98%] test/symbols_test.py::TestSymbolCollection::test_multiple_attributes PASSED [100%] ============================== 66 passed in 0.24s ============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-importmagic-0.1.7-23.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ssAlIO + umask 022 + cd /builddir/build/BUILD + cd importmagic-0.1.7 + DOCDIR=/builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/share/doc/python3-importmagic + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/share/doc/python3-importmagic + cp -pr README.md /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/share/doc/python3-importmagic + cp -pr CHANGES /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64/usr/share/doc/python3-importmagic + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-importmagic = 0.1.7-23.fc38 python3-importmagic = 0.1.7-23.fc38 python3.11-importmagic = 0.1.7-23.fc38 python3.11dist(importmagic) = 0.1.7 python3dist(importmagic) = 0.1.7 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(setuptools) >= 0.6~b1 Obsoletes: python-importmagic < 0.1.7-23.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64 Wrote: /builddir/build/RPMS/python3-importmagic-0.1.7-23.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Aj4mLz + umask 022 + cd /builddir/build/BUILD + cd importmagic-0.1.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-importmagic-0.1.7-23.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.2aan3T + umask 022 + cd /builddir/build/BUILD + rm -rf importmagic-0.1.7 importmagic-0.1.7.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0