Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/qpdf.spec'], chrootPath='/var/lib/mock/dist-an8-build-76884-40228/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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/qpdf.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/qpdf-7.1.1-10.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/qpdf.spec'], chrootPath='/var/lib/mock/dist-an8-build-76884-40228/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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/qpdf.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p4I0sB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qpdf-7.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/qpdf-7.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd qpdf-7.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (qpdf-doc.patch):' Patch #0 (qpdf-doc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .doc --fuzz=0 patching file manual/fix-qdf.1.in patching file manual/qpdf.1.in patching file manual/zlib-flate.1.in Patch #1 (qpdf-CVE-2018-9918.patch): + echo 'Patch #1 (qpdf-CVE-2018-9918.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .CVE-2018-9918 --fuzz=0 patching file libqpdf/QPDFObjectHandle.cc patching file qpdf/qpdf.testcov patching file qpdf/qtest/qpdf/issue-146.out Patch #2 (qpdf-gnutls-crypto.patch): + echo 'Patch #2 (qpdf-gnutls-crypto.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gnutls-crypto --fuzz=0 patching file configure.ac patching file libqpdf/MD5-gnutls.cc patching file libqpdf/MD5.cc patching file libqpdf/Pl_AES_PDF-gnutls.cc patching file libqpdf/Pl_AES_PDF.cc patching file libqpdf/Pl_SHA2.cc patching file libqpdf/RC4-gnutls.cc patching file libqpdf/RC4.cc patching file libqpdf/SecureRandomDataProvider.cc patching file libqpdf/qpdf/MD5.hh patching file libqpdf/qpdf/Pl_AES_PDF.hh patching file libqpdf/qpdf/RC4.hh patching file libqpdf/qpdf/rijndael-gnutls.h patching file libqpdf/qpdf/rijndael.h patching file libqpdf/rijndael-gnutls.cc patching file libqpdf/rijndael.cc patching file libqpdf/sha2-gnutls.c patching file libqpdf/sha2.c patching file libqpdf/sha2big-gnutls.c patching file libqpdf/sha2big.c patching file libqpdf/sph/sph_sha2.h patching file libqpdf/sph/sph_sha2_gnutls.h patching file libqpdf/sph/sph_types.h Patch #3 (qpdf-relax.patch): + echo 'Patch #3 (qpdf-relax.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .relax --fuzz=0 patching file libqpdf/QPDF.cc patching file libqpdf/QPDFWriter.cc patching file libqpdf/QPDF_encryption.cc Patch #1001 (1001-qpdf-erase-tests-with-generated-object-stream.patch): + echo 'Patch #1001 (1001-qpdf-erase-tests-with-generated-object-stream.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file examples/qtest/invert-images.test patching file libqpdf/qpdf-c.cc Hunk #1 succeeded at 285 (offset -17 lines). Hunk #2 succeeded at 497 (offset -17 lines). patching file libqpdf/QPDFWriter.cc Hunk #1 succeeded at 3195 (offset -26 lines). Hunk #2 succeeded at 3347 (offset -77 lines). patching file qpdf/qpdf.testcov Hunk #1 succeeded at 127 (offset 1 line). Hunk #2 succeeded at 180 (offset 1 line). Hunk #3 succeeded at 264 (offset 2 lines). patching file qpdf/qtest/qpdf.test Hunk #1 succeeded at 1301 (offset -412 lines). Hunk #2 succeeded at 1344 (offset -412 lines). + echo 'Patch #1002 (1002-mark-some-qpdf-testcase-as-expected-failed-because-o.patch):' Patch #1002 (1002-mark-some-qpdf-testcase-as-expected-failed-because-o.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file qpdf/qtest/qpdf.test Hunk #9 succeeded at 1277 (offset -1 lines). Hunk #10 succeeded at 1287 (offset -1 lines). Hunk #11 FAILED at 1314. Hunk #12 succeeded at 1326 (offset -1 lines). Hunk #13 succeeded at 1609 (offset -1 lines). Hunk #14 succeeded at 1684 (offset -1 lines). Hunk #15 succeeded at 1951 (offset -1 lines). Hunk #16 succeeded at 1964 (offset -1 lines). Hunk #17 succeeded at 2099 (offset -1 lines). Hunk #18 succeeded at 2110 (offset -1 lines). 1 out of 18 hunks FAILED -- saving rejects to file qpdf/qtest/qpdf.test.rej error: Bad exit status from /var/tmp/rpm-tmp.p4I0sB (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.p4I0sB (%prep) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target aarch64 --nodeps /builddir/build/SPECS/qpdf.spec