Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-nibabel.spec'], chrootPath='/var/lib/mock/f39-build-1879448-42749/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-nibabel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1701388800 Wrote: /builddir/build/SRPMS/python-nibabel-5.1.0-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-nibabel.spec'], chrootPath='/var/lib/mock/f39-build-1879448-42749/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-nibabel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1701388800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lULxlK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nibabel-5.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nibabel-5.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nibabel-5.1.0 + rm -rf /builddir/build/BUILD/nibabel-5.1.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/nibabel-5.1.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/distutils.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find nibabel/cmdline/ -name '*.py' -execdir sed -i '/^#!python/ d' '{}' ';' + find . -name '*.py' -execdir sed -i 's|^#!python|#!/usr/bin/python3|' '{}' ';' + rm -fv nibabel/tests/data/.gitignore nibabel/.gitignore removed 'nibabel/tests/data/.gitignore' removed 'nibabel/.gitignore' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.rRNkLR + umask 022 + cd /builddir/build/BUILD + cd nibabel-5.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/nibabel-5.1.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/nibabel-5.1.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/nibabel-5.1.0/pyproject-wheeldir --output /builddir/build/BUILD/python-nibabel-5.1.0-1.fc39.noarch-pyproject-buildrequires -x dicom,minc2,spm Handling hatchling from build-system.requires Requirement not satisfied: hatchling Handling hatch-vcs from build-system.requires Requirement not satisfied: hatch-vcs Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-nibabel-5.1.0-1.fc39.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-nibabel-5.1.0-1.fc39.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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-nibabel.spec'], chrootPath='/var/lib/mock/f39-build-1879448-42749/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-nibabel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1701388800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uCNOXl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nibabel-5.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nibabel-5.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nibabel-5.1.0 + rm -rf /builddir/build/BUILD/nibabel-5.1.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/nibabel-5.1.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/distutils.patch + find nibabel/cmdline/ -name '*.py' -execdir sed -i '/^#!python/ d' '{}' ';' + find . -name '*.py' -execdir sed -i 's|^#!python|#!/usr/bin/python3|' '{}' ';' + rm -fv nibabel/tests/data/.gitignore nibabel/.gitignore removed 'nibabel/tests/data/.gitignore' removed 'nibabel/.gitignore' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.QD0DVB + umask 022 + cd /builddir/build/BUILD + cd nibabel-5.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/nibabel-5.1.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/nibabel-5.1.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/nibabel-5.1.0/pyproject-wheeldir --output /builddir/build/BUILD/python-nibabel-5.1.0-1.fc39.noarch-pyproject-buildrequires -x dicom,minc2,spm Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.18.0) Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.4.0) Handling importlib-resources>=1.3; python_version < '3.9' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: importlib-resources>=1.3; python_version < '3.9' Handling numpy>=1.19 from hook generated metadata: Requires-Dist (nibabel) Requirement not satisfied: numpy>=1.19 Handling packaging>=17 from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: packaging>=17 (installed: packaging 23.1) Handling nibabel[dev,dicomfs,doc,minc2,spm,style,test,zstd]; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: nibabel[dev,dicomfs,doc,minc2,spm,style,test,zstd]; extra == 'all' Handling gitpython; extra == 'dev' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: gitpython; extra == 'dev' Handling nibabel[style]; extra == 'dev' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: nibabel[style]; extra == 'dev' Handling twine; extra == 'dev' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: twine; extra == 'dev' Handling pydicom>=1.0.0; extra == 'dicom' from hook generated metadata: Requires-Dist (nibabel) Requirement not satisfied: pydicom>=1.0.0; extra == 'dicom' Handling nibabel[dicom]; extra == 'dicomfs' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: nibabel[dicom]; extra == 'dicomfs' Handling pillow; extra == 'dicomfs' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pillow; extra == 'dicomfs' Handling matplotlib>=1.5.3; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: matplotlib>=1.5.3; extra == 'doc' Handling numpydoc; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: numpydoc; extra == 'doc' Handling sphinx~=5.3; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: sphinx~=5.3; extra == 'doc' Handling texext; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: texext; extra == 'doc' Handling tomli; python_version < '3.11' and extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tomli; python_version < '3.11' and extra == 'doc' Handling nibabel[doc,test]; extra == 'doctest' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: nibabel[doc,test]; extra == 'doctest' Handling h5py; extra == 'minc2' from hook generated metadata: Requires-Dist (nibabel) Requirement not satisfied: h5py; extra == 'minc2' Handling scipy; extra == 'spm' from hook generated metadata: Requires-Dist (nibabel) Requirement not satisfied: scipy; extra == 'spm' Handling blue; extra == 'style' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: blue; extra == 'style' Handling flake8; extra == 'style' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: flake8; extra == 'style' Handling isort; extra == 'style' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: isort; extra == 'style' Handling coverage; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: coverage; extra == 'test' Handling pytest!=5.3.4; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest!=5.3.4; extra == 'test' Handling pytest-cov; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-cov; extra == 'test' Handling pytest-doctestplus; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-doctestplus; extra == 'test' Handling pytest-httpserver; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-httpserver; extra == 'test' Handling pytest-xdist; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-xdist; extra == 'test' Handling importlib-resources; extra == 'typing' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: importlib-resources; extra == 'typing' Handling mypy; extra == 'typing' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: mypy; extra == 'typing' Handling pydicom; extra == 'typing' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pydicom; extra == 'typing' Handling pytest; extra == 'typing' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest; extra == 'typing' Handling pyzstd; extra == 'typing' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pyzstd; extra == 'typing' Handling types-pillow; extra == 'typing' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: types-pillow; extra == 'typing' Handling types-setuptools; extra == 'typing' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: types-setuptools; extra == 'typing' Handling pyzstd>=0.14.3; extra == 'zstd' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pyzstd>=0.14.3; extra == 'zstd' + cat /builddir/build/BUILD/python-nibabel-5.1.0-1.fc39.noarch-pyproject-buildrequires + rm -rfv nibabel-5.1.0.dist-info/ removed 'nibabel-5.1.0.dist-info/METADATA' removed directory 'nibabel-5.1.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-nibabel-5.1.0-1.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details.