Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/colorgcc.spec'], chrootPath='/var/lib/mock/rhel-9-x86_64-1678095766.010890/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.omnhaeb6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.omnhaeb6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'bf050671edac4d3d87af2d8f7eccc3d4', '-D', '/var/lib/mock/rhel-9-x86_64-1678095766.010890/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.omnhaeb6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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/colorgcc.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 warning: bogus date in %changelog: Wed Nov 26 2020 Martin Cermak 1.4.5-13 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/colorgcc-1.4.5-18.el9.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/colorgcc.spec'], chrootPath='/var/lib/mock/rhel-9-x86_64-1678095766.010890/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.omnhaeb6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.omnhaeb6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '9ceb699148564471ad75d439d3b96b17', '-D', '/var/lib/mock/rhel-9-x86_64-1678095766.010890/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.omnhaeb6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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/colorgcc.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 warning: bogus date in %changelog: Wed Nov 26 2020 Martin Cermak 1.4.5-13 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xd1ELb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf colorgcc-1.4.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.4.5.tar.gz + /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2017-11-24 16:10 colorgcc-1.4.5/ -rw-rw-r-- root/root 1423 2017-11-24 16:10 colorgcc-1.4.5/README -rwxrwxr-x root/root 11269 2017-11-24 16:10 colorgcc-1.4.5/colorgcc.pl -rw-rw-r-- root/root 1895 2017-11-24 16:10 colorgcc-1.4.5/colorgccrc.txt + STATUS=0 + '[' 0 -ne 0 ']' + cd colorgcc-1.4.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv ./colorgccrc.txt ./colorgccrc.sample Patch #0 (colorgcc-invocation.patch): + echo 'Patch #0 (colorgcc-invocation.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file colorgcc.pl Hunk #1 succeeded at 123 (offset -26 lines). Patch #1 (readme-fedora.patch): + echo 'Patch #1 (readme-fedora.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file README + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mvROOP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64 + cd colorgcc-1.4.5 + mkdir -p /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64//usr/bin + install -p -m 755 colorgcc.pl /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64//usr/bin/color-gcc + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64//usr/bin/color-g++ + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64//usr/bin/color-cc + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64//usr/bin/color-c++ + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64//usr/bin/color-ccache + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64//usr/bin/colorgcc + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64//usr/bin/colorg++ + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64//usr/bin/colorcc + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64//usr/bin/colorc++ + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64//usr/bin/colorccache + install -dm 755 /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64/usr/lib64/colorgcc + for n in cc gcc g++ c++ + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64/usr/lib64/colorgcc/cc + for n in cc gcc g++ c++ + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64/usr/lib64/colorgcc/gcc + for n in cc gcc g++ c++ + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64/usr/lib64/colorgcc/g++ + for n in cc gcc g++ c++ + ln -s /usr/bin/color-gcc /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64/usr/lib64/colorgcc/c++ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: colorgcc-1.4.5-18.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3KhR7O + umask 022 + cd /builddir/build/BUILD + cd colorgcc-1.4.5 + DOCDIR=/builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64/usr/share/doc/colorgcc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64/usr/share/doc/colorgcc + cp -pr README /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64/usr/share/doc/colorgcc + cp -pr colorgccrc.sample /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64/usr/share/doc/colorgcc + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/bin/color-c++ -> /usr/bin/color-gcc warning: absolute symlink: /usr/bin/color-cc -> /usr/bin/color-gcc warning: absolute symlink: /usr/bin/color-ccache -> /usr/bin/color-gcc warning: absolute symlink: /usr/bin/color-g++ -> /usr/bin/color-gcc warning: absolute symlink: /usr/bin/colorc++ -> /usr/bin/color-gcc warning: absolute symlink: /usr/bin/colorcc -> /usr/bin/color-gcc warning: absolute symlink: /usr/bin/colorccache -> /usr/bin/color-gcc warning: absolute symlink: /usr/bin/colorg++ -> /usr/bin/color-gcc warning: absolute symlink: /usr/bin/colorgcc -> /usr/bin/color-gcc warning: absolute symlink: /usr/lib64/colorgcc/c++ -> /usr/bin/color-gcc warning: absolute symlink: /usr/lib64/colorgcc/cc -> /usr/bin/color-gcc warning: absolute symlink: /usr/lib64/colorgcc/g++ -> /usr/bin/color-gcc warning: absolute symlink: /usr/lib64/colorgcc/gcc -> /usr/bin/color-gcc Provides: colorgcc = 1.4.5-18.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl perl(Cwd) perl(File::Basename) perl(File::Spec) perl(IPC::Open3) perl(List::Util) perl(Term::ANSIColor) perl(strict) perl(warnings) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64 Wrote: /builddir/build/RPMS/colorgcc-1.4.5-18.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YZh7ge + umask 022 + cd /builddir/build/BUILD + cd colorgcc-1.4.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/colorgcc-1.4.5-18.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0