Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-notebook.spec'], chrootPath='/var/lib/mock/dist-an27-pre-build-567298-90672/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-notebook.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=1786924800 Wrote: /builddir/build/SRPMS/python-notebook-7.5.7-1.an27.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-notebook.spec'], chrootPath='/var/lib/mock/dist-an27-pre-build-567298-90672/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-notebook.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=1786924800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.3raWk5 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G0L3IQ + umask 022 + cd /builddir/build/BUILD/python-notebook-7.5.7-build + cd /builddir/build/BUILD/python-notebook-7.5.7-build + rm -rf notebook-7.5.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/notebook-7.5.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd notebook-7.5.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for pkg in nbval "selenium==.*" coverage pytest-cov pytest-tornasync + sed -Ei '/"nbval",?/d' pyproject.toml + for pkg in nbval "selenium==.*" coverage pytest-cov pytest-tornasync + sed -Ei '/"selenium==.*",?/d' pyproject.toml + for pkg in nbval "selenium==.*" coverage pytest-cov pytest-tornasync + sed -Ei '/"coverage",?/d' pyproject.toml + for pkg in nbval "selenium==.*" coverage pytest-cov pytest-tornasync + sed -Ei '/"pytest-cov",?/d' pyproject.toml + for pkg in nbval "selenium==.*" coverage pytest-cov pytest-tornasync + sed -Ei '/"pytest-tornasync",?/d' pyproject.toml + python3 -c ' import re with open("pyproject.toml", "r") as f: content = f.read() # Replace entire [build-system] section (multi-line requires array) content = re.sub( r"\[build-system\].*?(?=\n\[)", "[build-system]\nrequires = [\"setuptools>=61.0\", \"wheel\"]\nbuild-backend = \"setuptools.build_meta\"\n", content, count=1, flags=re.DOTALL) # Inject static version (dynamic = ["version"] relied on hatch, not available with setuptools) content = content.replace("dynamic = [\"version\"]", "version = \"7.5.7\"") with open("pyproject.toml", "w") as f: f.write(content) ' + sed -i '/Programming Language :: Python :: 3\.13/d' pyproject.toml + rm -rf node_modules + sed -i 's/^license = {text = "\([^"]*\)"}/license = "\1"/' pyproject.toml + sed -i 's/^license = {file = "\([^"]*\)"}/license = "BSD"/' pyproject.toml + find ./ -name '*.json.orig' -delete + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZoFxLe + umask 022 + cd /builddir/build/BUILD/python-notebook-7.5.7-build + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-hardened-ld-errors -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-7.5.7 + pip3 wheel --no-build-isolation --no-deps -w dist . Processing /builddir/build/BUILD/python-notebook-7.5.7-build/notebook-7.5.7 Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: notebook Building wheel for notebook (pyproject.toml): started Building wheel for notebook (pyproject.toml): finished with status 'done' Created wheel for notebook: filename=notebook-7.5.7-py3-none-any.whl size=11225 sha256=0e1e08eafd836a6167c08cb0477bdbf8145540ec861c40cf55aff951ed896f40 Stored in directory: /builddir/.cache/pip/wheels/e6/9b/77/0172a86dc338b1e4a8663bd76656815a8ddb8d970cbb9f8eed Successfully built notebook + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KgB5vd + umask 022 + cd /builddir/build/BUILD/python-notebook-7.5.7-build + '[' /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-notebook-7.5.7-build + mkdir /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-hardened-ld-errors -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-7.5.7 + pip3 install --no-build-isolation --no-deps --root /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT dist/notebook-7.5.7-py3-none-any.whl Processing ./dist/notebook-7.5.7-py3-none-any.whl Installing collected packages: notebook WARNING: The script jupyter-notebook is installed in '/builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed notebook-7.5.7 + rm -f /builddir/build/BUILD/python-notebook-7.5.7-build/python-notebook-7.5.7-1.an27.noarch-pyproject-record + for distinfo in /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/lib/python3.12/site-packages/*.dist-info + '[' -f /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/lib/python3.12/site-packages/notebook-7.5.7.dist-info/RECORD ']' + PYTHONPATH=/usr/lib/rpm/anolis + /usr/bin/python3 -B /usr/lib/rpm/anolis/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT --record /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/lib/python3.12/site-packages/notebook-7.5.7.dist-info/RECORD --output /builddir/build/BUILD/python-notebook-7.5.7-build/python-notebook-7.5.7-1.an27.noarch-pyproject-record + rm -f /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/lib/python3.12/site-packages/notebook-7.5.7.dist-info/RECORD /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/lib/python3.12/site-packages/notebook-7.5.7.dist-info/REQUESTED + /usr/bin/python3 /usr/lib/rpm/anolis/pyproject_save_files.py --output-files /builddir/build/BUILD/python-notebook-7.5.7-build/python-notebook-7.5.7-1.an27.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-notebook-7.5.7-build/python-notebook-7.5.7-1.an27.noarch-pyproject-modules --buildroot /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-notebook-7.5.7-build/python-notebook-7.5.7-1.an27.noarch-pyproject-record --prefix /usr notebook + install -m 0755 -p -d /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/etc/jupyter/jupyter_server_config.d + install -m 0644 -p jupyter-config/jupyter_server_config.d/notebook.json /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/etc/jupyter/jupyter_server_config.d/notebook.json + install -m 0755 -p -d /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/jupyter/labextensions/@jupyter-notebook/lab-extension + cp -a notebook/labextension/package.json notebook/labextension/schemas notebook/labextension/static /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/jupyter/labextensions/@jupyter-notebook/lab-extension/ + install -m 0755 -p -d /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/jupyter/lab/schemas/@jupyter-notebook + cp -a notebook/schemas/@jupyter-notebook/application-extension notebook/schemas/@jupyter-notebook/documentsearch-extension notebook/schemas/@jupyter-notebook/help-extension notebook/schemas/@jupyter-notebook/notebook-extension notebook/schemas/@jupyter-notebook/tree-extension /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/jupyter/lab/schemas/@jupyter-notebook/ + install -m 0755 -p -d /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/applications + install -m 0644 -p jupyter-notebook.desktop /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/applications/ + install -m 0755 -p -d /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/icons/hicolor/scalable/apps + install -m 0644 -p notebook.svg /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/icons/hicolor/scalable/apps/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/brp-python-rpm-in-distinfo + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 -j80 Bytecompiling .py files below /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: python3-notebook-7.5.7-1.an27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.y8WLmy + umask 022 + cd /builddir/build/BUILD/python-notebook-7.5.7-build + cd notebook-7.5.7 + DOCDIR=/builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/doc/python-notebook + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/doc/python-notebook + cp -pr /builddir/build/BUILD/python-notebook-7.5.7-build/notebook-7.5.7/README.md /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/doc/python-notebook + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.OjCF86 + umask 022 + cd /builddir/build/BUILD/python-notebook-7.5.7-build + cd notebook-7.5.7 + LICENSEDIR=/builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/licenses/python-notebook + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/licenses/python-notebook + cp -pr /builddir/build/BUILD/python-notebook-7.5.7-build/notebook-7.5.7/LICENSE /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT/usr/share/licenses/python-notebook + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(jupyter-notebook.desktop) config(python3-notebook) = 7.5.7-1.an27 jupyter-notebook = 7.5.7-1.an27 mimehandler(application/x-ipynb+json) notebook = 7.5.7-1.an27 python3-ipython-notebook = 7.5.7-1.an27 python3-jupyter-notebook = 7.5.7-1.an27 python3-notebook = 7.5.7-1.an27 python3.12dist(notebook) = 7.5.7 python3dist(notebook) = 7.5.7 python3dist(notebook) = 7.5.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: (python3.12dist(jupyter-server) < 3~~ with python3.12dist(jupyter-server) >= 2.4) (python3.12dist(jupyterlab) < 4.6~~ with python3.12dist(jupyterlab) >= 4.5.8) (python3.12dist(jupyterlab-server) < 3~~ with python3.12dist(jupyterlab-server) >= 2.28) (python3.12dist(notebook-shim) < 0.3~~ with python3.12dist(notebook-shim) >= 0.2) /usr/bin/python3.12 python(abi) = 3.12 python3.12dist(tornado) >= 6.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-notebook-7.5.7-build/BUILDROOT Wrote: /builddir/build/RPMS/python3-notebook-7.5.7-1.an27.noarch.rpm Child return code was: 0