Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gcc-toolset-12.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64/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=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gcc-toolset-12.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1656460800 Wrote: /builddir/build/SRPMS/gcc-toolset-12-12.0-5.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/gcc-toolset-12.spec"], chrootPath='/var/lib/mock/rocky-9-x86_64/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=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/gcc-toolset-12.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1656460800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.46xBJO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcc-toolset-12-12.0 + /usr/bin/mkdir -p gcc-toolset-12-12.0 + cd gcc-toolset-12-12.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cat + tee README Package gcc-toolset-12 is the main package for Red Hat GCC Toolset 12. By installing the gcc-toolset-12 package, you will get the working set of packages that are included in Red Hat GCC Toolset 12, which includes development and debugging tools. Usage: scl enable gcc-toolset-12 Red Hat GCC Toolset allows you to build and execute applications which are not located in the filesystem root hierarchy, but are stored in an alternative location, which is /opt/rh/gcc-toolset-12/root in case of the gcc-toolset-12 collection. Examples: scl enable gcc-toolset-12 'command --arg' Run a specific command with the argument --arg within the gcc-toolset-12 Red Hat GCC Toolset environment. scl enable gcc-toolset-12 'gcc' Run GCC from the gcc-toolset-12 Red Hat GCC Toolset. scl enable gcc-toolset-12 'bash' Run an interactive shell wherein the gcc-toolset-12 software collection is enabled. scl enable gcc-toolset-12 'man gcc' Show man pages for the gcc command, which is a part of the gcc-toolset-12 Red Hat GCC Toolset. Report bugs to . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kLGZfm + umask 022 + cd /builddir/build/BUILD + cd gcc-toolset-12-12.0 + cat + tee h2m_helper #!/bin/sh if [ "$1" = "--version" ]; then printf '%s' "gcc-toolset-12 12.0 Software Collection" else cat README fi + chmod a+x h2m_helper + help2man -N --section 7 ./h2m_helper -o gcc-toolset-12.7 + cat + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hMKs6l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64 + cd gcc-toolset-12-12.0 + mkdir -p /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/etc/rpm /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/etc/scl/prefixes /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/etc/scl/modulefiles + cat + cat + test -e /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/gcc-toolset-12 + set +x ~/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/var ~/build/BUILD/gcc-toolset-12-12.0 ~/build/BUILD/gcc-toolset-12-12.0 ~/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/etc ~/build/BUILD/gcc-toolset-12-12.0 ~/build/BUILD/gcc-toolset-12-12.0 ~/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root ~/build/BUILD/gcc-toolset-12-12.0 ~/build/BUILD/gcc-toolset-12-12.0 + popd + cat + mkdir -p /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/etc/alternatives /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/var/lib/alternatives + install -d -m 755 /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12 + install -p -m 755 enable /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/ + install -d -m 755 /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12 + install -p -m 755 sudo /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/usr/bin/ + install -d -m 755 /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/usr/share/appdata + install -d -m 755 /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/usr/lib64/perl5 + install -d -m 755 /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/usr/lib64/perl5/vendor_perl + install -d -m 755 /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/usr/lib64/perl5/vendor_perl/auto + install -d -m 755 /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/usr/share/man/man7 + install -p -m 644 gcc-toolset-12.7 /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/usr/share/man/man7/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 12.0-5.el9 --unique-debug-suffix -12.0-5.el9.x86_64 --unique-debug-src-base gcc-toolset-12-12.0-5.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/gcc-toolset-12-12.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/gcc-toolset-12/root + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python3 1 /opt/rh/gcc-toolset-12/root + /usr/lib/rpm/brp-python-hardlink Processing files: gcc-toolset-12-12.0-5.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VSw7ay + umask 022 + cd /builddir/build/BUILD + cd gcc-toolset-12-12.0 + DOCDIR=/builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/usr/share/doc/gcc-toolset-12 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/usr/share/doc/gcc-toolset-12 + cp -pr README /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64/opt/rh/gcc-toolset-12/root/usr/share/doc/gcc-toolset-12 + RPM_EC=0 ++ jobs -p + exit 0 Provides: gcc-toolset-12 = 12.0-5.el9 gcc-toolset-12(x86-64) = 12.0-5.el9 scl-package(gcc-toolset-12) scl-package(gcc-toolset-12) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: gcc-toolset-12-runtime Obsoletes: gcc-toolset-12 < 12.0-5.el9 gcc-toolset-12-dockerfiles < 12.0-5.el9 Processing files: gcc-toolset-12-runtime-12.0-5.el9.x86_64 warning: absolute symlink: /opt/rh/gcc-toolset-12/root/usr/tmp -> /opt/rh/gcc-toolset-12/root/var/tmp Provides: config(gcc-toolset-12-runtime) = 12.0-5.el9 gcc-toolset-12-runtime = 12.0-5.el9 gcc-toolset-12-runtime(x86-64) = 12.0-5.el9 scl-package(gcc-toolset-12) Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /usr/sbin/restorecon /usr/sbin/semanage Requires(preun): /bin/sh Requires(postun): /bin/sh /usr/sbin/restorecon /usr/sbin/semanage Requires: /bin/bash gcc-toolset-12-runtime Obsoletes: gcc-toolset-12-runtime < 12.0-5.el9 Processing files: gcc-toolset-12-build-12.0-5.el9.x86_64 Provides: gcc-toolset-12-build = 12.0-5.el9 gcc-toolset-12-build(x86-64) = 12.0-5.el9 scl-package(gcc-toolset-12) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: gcc-toolset-12-runtime scl-utils-build Obsoletes: gcc-toolset-12-build < 12.0-5.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64 Wrote: /builddir/build/RPMS/gcc-toolset-12-12.0-5.el9.x86_64.rpm Wrote: /builddir/build/RPMS/gcc-toolset-12-build-12.0-5.el9.x86_64.rpm Wrote: /builddir/build/RPMS/gcc-toolset-12-runtime-12.0-5.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fn5IKU + umask 022 + cd /builddir/build/BUILD + cd gcc-toolset-12-12.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gcc-toolset-12-12.0-5.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0