Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-notebook-shim.spec'], chrootPath='/var/lib/mock/dist-an23-build-265030-63986/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=86400uid=982gid=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-notebook-shim.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=1684368000 Wrote: /builddir/build/SRPMS/python-notebook-shim-0.2.3-1.an23.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-notebook-shim.spec'], chrootPath='/var/lib/mock/dist-an23-build-265030-63986/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=86400uid=982gid=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-notebook-shim.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=1684368000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.38Uqir + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf notebook_shim-0.2.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/notebook_shim-0.2.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd notebook_shim-0.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i /pytest-tornasync/d pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.AkOn1F + umask 022 + cd /builddir/build/BUILD + cd notebook_shim-0.2.3 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-notebook-shim-0.2.3-1.an23.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-notebook-shim.spec'], chrootPath='/var/lib/mock/dist-an23-build-265030-63986/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=86400uid=982gid=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-notebook-shim.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=1684368000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KtQatc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf notebook_shim-0.2.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/notebook_shim-0.2.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd notebook_shim-0.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i /pytest-tornasync/d pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.hSXdOt + umask 022 + cd /builddir/build/BUILD + cd notebook_shim-0.2.3 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Handling hatchling >=1.0 from build-system.requires Requirement not satisfied: hatchling >=1.0 Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-notebook-shim-0.2.3-1.an23.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-notebook-shim.spec'], chrootPath='/var/lib/mock/dist-an23-build-265030-63986/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=86400uid=982gid=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-notebook-shim.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=1684368000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Trxdc9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf notebook_shim-0.2.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/notebook_shim-0.2.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd notebook_shim-0.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i /pytest-tornasync/d pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.fWYwoN + umask 022 + cd /builddir/build/BUILD + cd notebook_shim-0.2.3 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Handling hatchling >=1.0 from build-system.requires Requirement satisfied: hatchling >=1.0 (installed: hatchling 1.14.1) Handling jupyter-server<3,>=1.8 from wheel metadata: Requires-Dist Requirement not satisfied: jupyter-server<3,>=1.8 Handling pytest; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest; extra == 'test' (installed: pytest 7.3.1) Handling pytest-console-scripts; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: pytest-console-scripts; extra == 'test' Handling pytest-jupyter; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest-jupyter; extra == 'test' (installed: pytest-jupyter 0.7.0) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-notebook-shim-0.2.3-1.an23.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-notebook-shim.spec'], chrootPath='/var/lib/mock/dist-an23-build-265030-63986/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=86400uid=982gid=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-notebook-shim.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=1684368000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ijwCha + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf notebook_shim-0.2.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/notebook_shim-0.2.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd notebook_shim-0.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i /pytest-tornasync/d pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.7O3SaB + umask 022 + cd /builddir/build/BUILD + cd notebook_shim-0.2.3 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Handling hatchling >=1.0 from build-system.requires Requirement satisfied: hatchling >=1.0 (installed: hatchling 1.14.1) Handling jupyter-server<3,>=1.8 from wheel metadata: Requires-Dist Requirement satisfied: jupyter-server<3,>=1.8 (installed: jupyter-server 2.5.0) Handling pytest; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest; extra == 'test' (installed: pytest 7.3.1) Handling pytest-console-scripts; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest-console-scripts; extra == 'test' (installed: pytest-console-scripts 1.3.1) Handling pytest-jupyter; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest-jupyter; extra == 'test' (installed: pytest-jupyter 0.7.0) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-notebook-shim-0.2.3-1.an23.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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-notebook-shim.spec'], chrootPath='/var/lib/mock/dist-an23-build-265030-63986/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-notebook-shim.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=1684368000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.WJyewy + umask 022 + cd /builddir/build/BUILD + cd notebook_shim-0.2.3 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv notebook_shim-0.2.3.dist-info/ removed 'notebook_shim-0.2.3.dist-info/METADATA' removed directory 'notebook_shim-0.2.3.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Handling hatchling >=1.0 from build-system.requires Requirement satisfied: hatchling >=1.0 (installed: hatchling 1.14.1) Handling jupyter-server<3,>=1.8 from wheel metadata: Requires-Dist Requirement satisfied: jupyter-server<3,>=1.8 (installed: jupyter-server 2.5.0) Handling pytest; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest; extra == 'test' (installed: pytest 7.3.1) Handling pytest-console-scripts; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest-console-scripts; extra == 'test' (installed: pytest-console-scripts 1.3.1) Handling pytest-jupyter; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest-jupyter; extra == 'test' (installed: pytest-jupyter 0.7.0) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GEYsGs + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd notebook_shim-0.2.3 + mkdir -p /builddir/build/BUILD/notebook_shim-0.2.3/.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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/notebook_shim-0.2.3/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/notebook_shim-0.2.3/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Processing /builddir/build/BUILD/notebook_shim-0.2.3 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: notebook_shim Building wheel for notebook_shim (pyproject.toml): started Running command Building wheel for notebook_shim (pyproject.toml) Building wheel for notebook_shim (pyproject.toml): finished with status 'done' Created wheel for notebook_shim: filename=notebook_shim-0.2.3-py3-none-any.whl size=13295 sha256=7d73dbedf16d912bd8b0d45eb8e93f0e4ed0427af434fc5019ca969773068541 Stored in directory: /builddir/.cache/pip/wheels/3b/d4/d0/911320f6433727072d3be376b13411b00924fd12ef420d4ba6 Successfully built notebook_shim + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lE4yb9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd notebook_shim-0.2.3 ++ ls /builddir/build/BUILD/notebook_shim-0.2.3/pyproject-wheeldir/notebook_shim-0.2.3-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=notebook_shim==0.2.3 + TMPDIR=/builddir/build/BUILD/notebook_shim-0.2.3/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch --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/notebook_shim-0.2.3/pyproject-wheeldir notebook_shim==0.2.3 Using pip 23.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/notebook_shim-0.2.3/pyproject-wheeldir Processing ./pyproject-wheeldir/notebook_shim-0.2.3-py3-none-any.whl Installing collected packages: notebook_shim Successfully installed notebook_shim-0.2.3 + '[' -d /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/notebook_shim-0.2.3.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib/python3.10/site-packages/notebook_shim-0.2.3.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/anolis + /usr/bin/python3 -B /usr/lib/rpm/anolis/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch --record /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib/python3.10/site-packages/notebook_shim-0.2.3.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib/python3.10/site-packages/notebook_shim-0.2.3.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib/python3.10/site-packages/notebook_shim-0.2.3.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib/python3.10/site-packages/notebook_shim-0.2.3.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib/python3.10/site-packages/notebook_shim-0.2.3.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/anolis/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch --sitelib /usr/lib/python3.10/site-packages --sitearch /usr/lib64/python3.10/site-packages --python-version 3.10 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr notebook_shim + install -m 0755 -p -d /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/etc/jupyter/jupyter_server_config.d + mv -v /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/etc/jupyter/jupyter_server_config.d/notebook_shim.json /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/etc/jupyter/jupyter_server_config.d/notebook_shim.json renamed '/builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/etc/jupyter/jupyter_server_config.d/notebook_shim.json' -> '/builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/etc/jupyter/jupyter_server_config.d/notebook_shim.json' + echo '%{python3_sitelib}/notebook_shim-0.2.3.dist-info/licenses/LICENSE' + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 0.2.3-1.an23 --unique-debug-suffix -0.2.3-1.an23.noarch --unique-debug-src-base python-notebook-shim-0.2.3-1.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/notebook_shim-0.2.3 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Vv1Qwu + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd notebook_shim-0.2.3 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/notebook_shim-0.2.3/.pyproject-builddir' + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.10.11, pytest-7.3.1, pluggy-1.0.0 rootdir: /builddir/build/BUILD/notebook_shim-0.2.3 configfile: pyproject.toml testpaths: notebook_shim/tests plugins: anyio-3.5.0, console-scripts-1.3.1 collected 10 items notebook_shim/tests/test_extension.py .......... [100%] =============================== warnings summary =============================== ../../../../usr/lib/python3.10/site-packages/jupyter_server/services/contents/filemanager.py:19 /usr/lib/python3.10/site-packages/jupyter_server/services/contents/filemanager.py:19: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs given by the platformdirs library. To remove this warning and see the appropriate new directories, set the environment variable `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`. The use of platformdirs will be the default in `jupyter_core` v6 from jupyter_core.paths import exists, is_file_hidden, is_hidden notebook_shim/tests/test_extension.py: 10 warnings /usr/lib/python3.10/site-packages/traitlets/traitlets.py:1872: DeprecationWarning: ServerApp.token config is deprecated in jupyter-server 2.0. Use IdentityProvider.token return self._get_trait_default_generator(names[0])(self) notebook_shim/tests/test_extension.py::test_NOT_EXTAPP_NBAPP_AND_SVAPP_SHIM_MSG[jp_argv0-jinja_environment_options-trait_value0] /usr/lib/python3.10/site-packages/traitlets/traitlets.py:3437: FutureWarning: --jinja_environment_options={} for dict-traits is deprecated in traitlets 5.0. You can pass --jinja_environment_options ... multiple times to add items to a dict. warn( notebook_shim/tests/test_extension.py::test_NOT_EXTAPP_NBAPP_AND_SVAPP_SHIM_MSG[jp_argv1-jinja_template_vars-trait_value1] /usr/lib/python3.10/site-packages/traitlets/traitlets.py:3437: FutureWarning: --jinja_template_vars={} for dict-traits is deprecated in traitlets 5.0. You can pass --jinja_template_vars ... multiple times to add items to a dict. warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================= 10 passed, 13 warnings in 0.40s ======================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-notebook-shim-0.2.3-1.an23.noarch Provides: config(python3-notebook-shim) = 0.2.3-1.an23 python-notebook-shim = 0.2.3-1.an23 python3-notebook-shim = 0.2.3-1.an23 python3.10-notebook-shim = 0.2.3-1.an23 python3.10dist(notebook-shim) = 0.2.3 python3dist(notebook-shim) = 0.2.3 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: (python3.10dist(jupyter-server) < 3~~ with python3.10dist(jupyter-server) >= 1.8) python(abi) = 3.10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-notebook-shim-0.2.3-1.an23.noarch Wrote: /builddir/build/SRPMS/python-notebook-shim-0.2.3-1.an23.src.rpm Wrote: /builddir/build/RPMS/python3-notebook-shim-0.2.3-1.an23.noarch.rpm Child return code was: 0