Mock Version: 3.1 Mock Version: 3.1 Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/cups-pdf.spec'], chrootPath='/var/lib/mock/epel9-build-39481285-4897262/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/cups-pdf-3.0.1-17.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/cups-pdf.spec'], chrootPath='/var/lib/mock/epel9-build-39481285-4897262/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NgMmOL + umask 022 + cd /builddir/build/BUILD + echo CIBLE = cups-pdf-3.0.1-17.el9 CIBLE = cups-pdf-3.0.1-17.el9 + 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 . + cp -p /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). Patch #6 (cups-pdf-setpdfwrite.patch): + echo 'Patch #6 (cups-pdf-setpdfwrite.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .setpdfwrite --fuzz=0 patching file extra/cups-pdf.conf Hunk #1 succeeded at 252 (offset 2 lines). patching file src/cups-pdf.h Patch #7 (cups-pdf-fix-null-chars.patch): + echo 'Patch #7 (cups-pdf-fix-null-chars.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nullchars --fuzz=0 patching file src/cups-pdf.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TksGqz + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 ~/build/BUILD/cups-pdf-3.0.1/src ~/build/BUILD/cups-pdf-3.0.1 + pushd src + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -D_GNU_SOURCE -o cups-pdf cups-pdf.c -lcups cups-pdf.c: In function 'read_config_ppd': cups-pdf.c:281:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 281 | ppd_file = ppdOpenFile(ppd_name); | ^~~~~~~~ In file included from cups-pdf.c:60: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ cups-pdf.c:286:3: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 286 | ppdMarkDefaults(ppd_file); | ^~~~~~~~~~~~~~~ In file included from cups-pdf.c:60: /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ cups-pdf.c:288:3: warning: 'ppdFirstOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 288 | option = ppdFirstOption(ppd_file); | ^~~~~~ In file included from cups-pdf.c:60: /usr/include/cups/ppd.h:431:26: note: declared here 431 | extern ppd_option_t *ppdFirstOption(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~ cups-pdf.c:291:5: warning: 'ppdNextOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 291 | option = ppdNextOption(ppd_file); | ^~~~~~ In file included from cups-pdf.c:60: /usr/include/cups/ppd.h:433:26: note: declared here 433 | extern ppd_option_t *ppdNextOption(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~ cups-pdf.c:293:3: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 293 | ppdClose(ppd_file); | ^~~~~~~~ In file included from cups-pdf.c:60: /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ In file included from /usr/include/string.h:519, from cups-pdf.c:47: In function 'strncpy', inlined from 'create_dir' at cups-pdf.c:110:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'preparespoolfile' at cups-pdf.c:855:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 387 | snprintf(filename, BUFSIZE, "%s/%s%s%s", Conf_Log, "cups-pdf-", getenv("PRINTER"), "_log"); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from cups-pdf.c:44: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output 15 or more bytes (assuming 4110) into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cups-pdf.c:502:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 502 | snprintf(bufout, BUFSIZE, "%s%s%s", bufin, getdesktopdir(passwd), cptr); | ^~ In file included from /usr/include/stdio.h:888, from cups-pdf.c:44: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output 1 or more bytes (assuming 8191) into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ~/build/BUILD/cups-pdf-3.0.1 + popd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Q4qd2X + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le + cd cups-pdf-3.0.1 + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/usr/lib/cups/backend + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/var/spool/cups-pdf/SPOOL + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/var/spool/cups-pdf + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/var/log/cups + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/usr/lib/cups/backend + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/etc/cups + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/usr/share/cups/model/ + install -p -m644 extra/CUPS-PDF_noopt.ppd extra/CUPS-PDF_opt.ppd /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/usr/share/cups/model/ + install -p -m644 extra/cups-pdf.conf /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/etc/cups/ + install -p -m700 src/cups-pdf /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/usr/lib/cups/backend/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 3.0.1-17.el9 --unique-debug-suffix -3.0.1-17.el9.ppc64le --unique-debug-src-base cups-pdf-3.0.1-17.el9.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/cups-pdf-3.0.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/usr/lib/cups/backend/cups-pdf extracting debug info from /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/usr/lib/cups/backend/cups-pdf original debug info size: 128kB, size after compression: 128kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 81 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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: cups-pdf-3.0.1-17.el9.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JZVdCq + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + DOCDIR=/builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/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-17.el9.ppc64le/usr/share/doc/cups-pdf + cp -pr ChangeLog /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/usr/share/doc/cups-pdf + cp -pr README /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/usr/share/doc/cups-pdf + cp -pr INSTALL.RPM /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/usr/share/doc/cups-pdf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6UERiK + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/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-17.el9.ppc64le/usr/share/licenses/cups-pdf + cp -pr COPYING /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le/usr/share/licenses/cups-pdf + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(cups-pdf) = 3.0.1-17.el9 cups-pdf = 3.0.1-17.el9 cups-pdf(ppc-64) = 3.0.1-17.el9 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.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcups.so.2()(64bit) rtld(GNU_HASH) Processing files: cups-pdf-debugsource-3.0.1-17.el9.ppc64le Provides: cups-pdf-debugsource = 3.0.1-17.el9 cups-pdf-debugsource(ppc-64) = 3.0.1-17.el9 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-17.el9.ppc64le Provides: cups-pdf-debuginfo = 3.0.1-17.el9 cups-pdf-debuginfo(ppc-64) = 3.0.1-17.el9 debuginfo(build-id) = 54e66ce824a87b4966101eb0fd4b50ce8afe87d3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cups-pdf-debugsource(ppc-64) = 3.0.1-17.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cups-pdf-3.0.1-17.el9.ppc64le Wrote: /builddir/build/RPMS/cups-pdf-debugsource-3.0.1-17.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/cups-pdf-3.0.1-17.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/cups-pdf-debuginfo-3.0.1-17.el9.ppc64le.rpm Child return code was: 0