Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cups-pdf.spec'], chrootPath='/var/lib/mock/centos-stream-x86_64-1607297983.021182/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.a9d7edat:/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.a9d7edat:/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', '0a0316b4cb5f483ca21369c7987bdf4f', '-D', '/var/lib/mock/centos-stream-x86_64-1607297983.021182/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a9d7edat:/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 x86_64 --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: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/cups-pdf.spec'], chrootPath='/var/lib/mock/centos-stream-x86_64-1607297983.021182/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.a9d7edat:/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.a9d7edat:/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', 'cbb9bfb040c14244b29110b395e0c954', '-D', '/var/lib/mock/centos-stream-x86_64-1607297983.021182/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a9d7edat:/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 x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4jwnwQ + 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 + echo 'Patch #3 (cups-pdf-title.patch):' 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.9DevDc + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.hIEK6z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64 + cd cups-pdf-3.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/usr/lib/cups/backend + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/var/spool/cups-pdf/SPOOL + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/var/spool/cups-pdf + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/var/log/cups + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/usr/lib/cups/backend + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/etc/cups + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/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.x86_64/usr/share/cups/model/ + /usr/bin/install -m644 extra/cups-pdf.conf /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/etc/cups/ + /usr/bin/install -m700 src/cups-pdf /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/usr/lib/cups/backend/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.0.1-10.1.el8 --unique-debug-suffix -3.0.1-10.1.el8.x86_64 --unique-debug-src-base cups-pdf-3.0.1-10.1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -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.x86_64/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.x86_64/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.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Rcj7lY + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + DOCDIR=/builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/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.x86_64/usr/share/doc/cups-pdf + cp -pr ChangeLog /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/usr/share/doc/cups-pdf + cp -pr README /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/usr/share/doc/cups-pdf + cp -pr INSTALL.RPM /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/usr/share/doc/cups-pdf + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.O0CgDm + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/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.x86_64/usr/share/licenses/cups-pdf + cp -pr COPYING /builddir/build/BUILDROOT/cups-pdf-3.0.1-10.1.el8.x86_64/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(x86-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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcups.so.2()(64bit) rtld(GNU_HASH) Processing files: cups-pdf-debugsource-3.0.1-10.1.el8.x86_64 Provides: cups-pdf-debugsource = 3.0.1-10.1.el8 cups-pdf-debugsource(x86-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.x86_64 Provides: cups-pdf-debuginfo = 3.0.1-10.1.el8 cups-pdf-debuginfo(x86-64) = 3.0.1-10.1.el8 debuginfo(build-id) = aabcecb3c85196f1a281154190c1d44f52a647ad Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cups-pdf-debugsource(x86-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.x86_64 Wrote: /builddir/build/RPMS/cups-pdf-3.0.1-10.1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/cups-pdf-debugsource-3.0.1-10.1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/cups-pdf-debuginfo-3.0.1-10.1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HLxgfL + 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.x86_64 + exit 0 Child return code was: 0