Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cups-pdf.spec'], chrootPath='/var/lib/mock/f29-build-8487-2984/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/cups-pdf-3.0.1-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cups-pdf.spec'], chrootPath='/var/lib/mock/f29-build-8487-2984/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hqGuKA + umask 022 CIBLE = cups-pdf-3.0.1-4.fc29 + cd /builddir/build/BUILD + echo CIBLE = cups-pdf-3.0.1-4.fc29 + 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 /builddir/build/SOURCES/INSTALL.fedora.cups-pdf INSTALL.RPM + echo 'Patch #1 (cups-pdf-conf.patch):' 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.E2PzI9 + umask 022 ~/build/BUILD/cups-pdf-3.0.1/src ~/build/BUILD/cups-pdf-3.0.1 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + pushd src + cc -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 BUILDSTDERR: cups-pdf.c: In function 'preparespoolfile.isra.2': BUILDSTDERR: 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=] BUILDSTDERR: snprintf(title, BUFSIZE, "job_%i-%s", job, buffer); BUILDSTDERR: ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from cups-pdf.c:44: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 4112 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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=] BUILDSTDERR: snprintf(title, BUFSIZE, "%s-job_%i", buffer, job); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from cups-pdf.c:44: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 4112 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cups-pdf.c: In function 'main': BUILDSTDERR: 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=] BUILDSTDERR: snprintf(filename, BUFSIZE, "%s/%s%s%s", Conf_Log, "cups-pdf-", getenv("PRINTER"), "_log"); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from cups-pdf.c:44: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 4110) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + popd ~/build/BUILD/cups-pdf-3.0.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IB7mdd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64 + cd cups-pdf-3.0.1 + rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/usr/lib/cups/backend + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/var/spool/cups-pdf/SPOOL + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/var/spool/cups-pdf + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/var/log/cups + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/usr/lib/cups/backend + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/etc/cups + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/usr/share/cups/model/ + install -m644 extra/CUPS-PDF_noopt.ppd extra/CUPS-PDF_opt.ppd /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/usr/share/cups/model/ + install -m644 extra/cups-pdf.conf /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/etc/cups/ + install -m700 src/cups-pdf /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/usr/lib/cups/backend/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.0.1-4.fc29 --unique-debug-suffix -3.0.1-4.fc29.riscv64 --unique-debug-src-base cups-pdf-3.0.1-4.fc29.riscv64 --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-4.fc29.riscv64/usr/lib/cups/backend/cups-pdf /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 80 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/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 /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: cups-pdf-3.0.1-4.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.g5v77k + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + DOCDIR=/builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/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-4.fc29.riscv64/usr/share/doc/cups-pdf + cp -pr ChangeLog /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/usr/share/doc/cups-pdf + cp -pr COPYING /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/usr/share/doc/cups-pdf + cp -pr README /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/usr/share/doc/cups-pdf + cp -pr INSTALL.RPM /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64/usr/share/doc/cups-pdf + exit 0 Provides: config(cups-pdf) = 3.0.1-4.fc29 cups-pdf = 3.0.1-4.fc29 cups-pdf(riscv-64) = 3.0.1-4.fc29 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-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcups.so.2()(64bit) rtld(GNU_HASH) Processing files: cups-pdf-debugsource-3.0.1-4.fc29.riscv64 Provides: cups-pdf-debugsource = 3.0.1-4.fc29 cups-pdf-debugsource(riscv-64) = 3.0.1-4.fc29 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-4.fc29.riscv64 Provides: cups-pdf-debuginfo = 3.0.1-4.fc29 cups-pdf-debuginfo(riscv-64) = 3.0.1-4.fc29 debuginfo(build-id) = b624b5d3963178dbd280ce3862325ba44b7eaf87 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cups-pdf-debugsource(riscv-64) = 3.0.1-4.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64 Wrote: /builddir/build/RPMS/cups-pdf-3.0.1-4.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/cups-pdf-debugsource-3.0.1-4.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/cups-pdf-debuginfo-3.0.1-4.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3wTiWu + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-4.fc29.riscv64 + exit 0 Child return code was: 0