Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/cdparanoia.spec'], chrootPath='/var/lib/mock/dist-oc9-build-40810-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/cdparanoia.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 Wrote: /builddir/build/SRPMS/cdparanoia-10.2-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/cdparanoia.spec'], chrootPath='/var/lib/mock/dist-oc9-build-40810-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/cdparanoia.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Yz76c0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cdparanoia-III-10.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/cdparanoia-III-10.2.src.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cdparanoia-III-10.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #3000 (cdparanoia-10.2-#463009.patch): + echo 'Patch #3000 (cdparanoia-10.2-#463009.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p3 --fuzz=0 (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/test_interface.c (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/cdda_interface.h (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/interface.c (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/scsi_interface.c Hunk #39 succeeded at 1626 (offset 4 lines). Hunk #40 succeeded at 1674 (offset 4 lines). Hunk #41 succeeded at 1743 (offset 17 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/cooked_interface.c (Stripping trailing CRs from patch; use --binary to disable.) patching file interface/scan_devices.c + /usr/bin/cat /builddir/build/SOURCES/cdparanoia-10.2-endian.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/cdparanoia-10.2-install.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/cdparanoia-10.2-format-security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/cdparanoia-use-proper-gnu-config-files.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/cdparanoia-10.2-ldflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/cdparanoia-10.2-add-pkgconfig.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp '/usr/lib/rpm/TencentOS/config.*' . cp: cannot stat '/usr/lib/rpm/TencentOS/config.*': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.Yz76c0 (%prep) Bad exit status from /var/tmp/rpm-tmp.Yz76c0 (%prep) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/cdparanoia.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/cdparanoia.spec