Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/cups-pdf.spec'], chrootPath='/var/lib/mock/epel-8-aarch64-1607297974.576509/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5_g7vcp:/etc/resolv.conf', '--bind=/dev/btrfs-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.b5_g7vcp:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'ea8021b5beb64198b401acc1096f270e', '-D', '/var/lib/mock/epel-8-aarch64-1607297974.576509/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5_g7vcp:/etc/resolv.conf', '--bind=/dev/btrfs-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 aarch64 --nodeps /builddir/build/SPECS/cups-pdf.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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/cups-pdf-3.0.1-10.1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/cups-pdf.spec'], chrootPath='/var/lib/mock/epel-8-aarch64-1607297974.576509/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5_g7vcp:/etc/resolv.conf', '--bind=/dev/btrfs-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.b5_g7vcp:/etc/resolv.conf', '--bind=/dev/btrfs-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', '73a004359d5849e98f375759ead2691f', '-D', '/var/lib/mock/epel-8-aarch64-1607297974.576509/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5_g7vcp:/etc/resolv.conf', '--bind=/dev/btrfs-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 aarch64 --nodeps /builddir/build/SPECS/cups-pdf.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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O3imTc + umask 022 + cd /builddir/build/BUILD CIBLE = cups-pdf-3.0.1-10.1.el8 + echo CIBLE = cups-pdf-3.0.1-10.1.el8 + cd /builddir/build/BUILD + rm -rf cups-pdf-3.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/cups-pdf_3.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cups-pdf-3.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cp /builddir/build/SOURCES/INSTALL.fedora.cups-pdf INSTALL.RPM Patch #1 (cups-pdf-conf.patch): + echo 'Patch #1 (cups-pdf-conf.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .oldconf --fuzz=0 patching file extra/cups-pdf.conf Patch #2 (cups-pdf-desktop.patch): + echo 'Patch #2 (cups-pdf-desktop.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .desktop --fuzz=0 patching file src/cups-pdf.c Patch #3 (cups-pdf-title.patch): + echo 'Patch #3 (cups-pdf-title.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .title --fuzz=0 patching file src/cups-pdf.c Patch #4 (cups-pdf-build.patch): + echo 'Patch #4 (cups-pdf-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .build --fuzz=0 patching file src/cups-pdf.c Patch #5 (cups-pdf-result.patch): + echo 'Patch #5 (cups-pdf-result.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .result --fuzz=0 patching file src/cups-pdf.c Hunk #1 succeeded at 880 (offset 59 lines). Hunk #2 succeeded at 1110 (offset 59 lines). Hunk #3 succeeded at 1147 (offset 59 lines). Hunk #4 succeeded at 1160 (offset 59 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2RHiPh + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/cups-pdf-3.0.1/src ~/build/BUILD/cups-pdf-3.0.1 + cd cups-pdf-3.0.1 + pushd src + gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -lcups -o cups-pdf cups-pdf.c cups-pdf.c: In function 'preparespoolfile.isra.2': cups-pdf.c:867:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4080 and 4090 [-Wformat-truncation=] snprintf(title, BUFSIZE, "job_%i-%s", job, buffer); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from cups-pdf.c:44: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 4112 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cups-pdf.c:865:37: warning: '-job_' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(title, BUFSIZE, "%s-job_%i", buffer, job); ^~~~~ In file included from /usr/include/stdio.h:873, from cups-pdf.c:44: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 4112 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cups-pdf.c: In function 'main': cups-pdf.c:387:37: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(filename, BUFSIZE, "%s/%s%s%s", Conf_Log, "cups-pdf-", getenv("PRINTER"), "_log"); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from cups-pdf.c:44: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 4110) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + popd ~/build/BUILD/cups-pdf-3.0.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Bo4gXp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64 + cd cups-pdf-3.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/lib/cups/backend + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/var/spool/cups-pdf/SPOOL + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/var/spool/cups-pdf + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/var/log/cups + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/lib/cups/backend + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/etc/cups + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/share/cups/model/ + /usr/bin/install -m644 extra/CUPS-PDF_noopt.ppd extra/CUPS-PDF_opt.ppd /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/share/cups/model/ + /usr/bin/install -m644 extra/cups-pdf.conf /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/etc/cups/ + /usr/bin/install -m700 src/cups-pdf /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/lib/cups/backend/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.0.1-10.1.el8 --unique-debug-suffix -3.0.1-10.1.el8.aarch64 --unique-debug-src-base cups-pdf-3.0.1-10.1.el8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cups-pdf-3.0.1 extracting debug info from /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/lib/cups/backend/cups-pdf /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 80 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: cups-pdf-3.0.1-10.1.el8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UifL26 + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + DOCDIR=/builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/share/doc/cups-pdf + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/share/doc/cups-pdf + cp -pr ChangeLog /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/share/doc/cups-pdf + cp -pr README /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/share/doc/cups-pdf + cp -pr INSTALL.RPM /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/share/doc/cups-pdf + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5oynyR + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/share/licenses/cups-pdf + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/share/licenses/cups-pdf + cp -pr COPYING /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64/usr/share/licenses/cups-pdf + exit 0 Provides: config(cups-pdf) = 3.0.1-10.1.el8 cups-pdf = 3.0.1-10.1.el8 cups-pdf(aarch-64) = 3.0.1-10.1.el8 Requires(interp): /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/bin/pgrep Requires(postun): /bin/sh Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcups.so.2()(64bit) rtld(GNU_HASH) Processing files: cups-pdf-debugsource-3.0.1-10.1.el8.aarch64 Provides: cups-pdf-debugsource = 3.0.1-10.1.el8 cups-pdf-debugsource(aarch-64) = 3.0.1-10.1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cups-pdf-debuginfo-3.0.1-10.1.el8.aarch64 Provides: cups-pdf-debuginfo = 3.0.1-10.1.el8 cups-pdf-debuginfo(aarch-64) = 3.0.1-10.1.el8 debuginfo(build-id) = 31f0f62a0e43ea31be70705607965edd354c78fe Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cups-pdf-debugsource(aarch-64) = 3.0.1-10.1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64 Wrote: /builddir/build/RPMS/cups-pdf-3.0.1-10.1.el8.aarch64.rpm Wrote: /builddir/build/RPMS/cups-pdf-debugsource-3.0.1-10.1.el8.aarch64.rpm Wrote: /builddir/build/RPMS/cups-pdf-debuginfo-3.0.1-10.1.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.A7jr0O + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.aarch64 + exit 0 Child return code was: 0