Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cups-pdf.spec'], chrootPath='/var/lib/mock/f30-build-39210-22495/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'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/cups-pdf-3.0.1-6.fc30.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/f30-build-39210-22495/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'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hkbAzK + umask 022 + cd /builddir/build/BUILD CIBLE = cups-pdf-3.0.1-6.fc30 + echo CIBLE = cups-pdf-3.0.1-6.fc30 + 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 + echo 'Patch #2 (cups-pdf-desktop.patch):' 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 + echo 'Patch #4 (cups-pdf-build.patch):' 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 + echo 'Patch #5 (cups-pdf-result.patch):' 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.71zhz7 + 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:873, 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:873, 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:873, 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.Mhwb7a + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64 + cd cups-pdf-3.0.1 + rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/usr/lib/cups/backend + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/var/spool/cups-pdf/SPOOL + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/var/spool/cups-pdf + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/var/log/cups + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/usr/lib/cups/backend + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/etc/cups + mkdir -p /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.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-6.fc30.riscv64/usr/share/cups/model/ + install -m644 extra/cups-pdf.conf /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/etc/cups/ + install -m700 src/cups-pdf /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/usr/lib/cups/backend/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.0.1-6.fc30 --unique-debug-suffix -3.0.1-6.fc30.riscv64 --unique-debug-src-base cups-pdf-3.0.1-6.fc30.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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/usr/lib/cups/backend/cups-pdf extracting debug info from /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.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-6.fc30.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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: cups-pdf-3.0.1-6.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nkOTSO + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + DOCDIR=/builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.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-6.fc30.riscv64/usr/share/doc/cups-pdf + cp -pr ChangeLog /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/usr/share/doc/cups-pdf + cp -pr COPYING /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/usr/share/doc/cups-pdf + cp -pr README /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/usr/share/doc/cups-pdf + cp -pr INSTALL.RPM /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64/usr/share/doc/cups-pdf + exit 0 Provides: config(cups-pdf) = 3.0.1-6.fc30 cups-pdf = 3.0.1-6.fc30 cups-pdf(riscv-64) = 3.0.1-6.fc30 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-6.fc30.riscv64 Provides: cups-pdf-debugsource = 3.0.1-6.fc30 cups-pdf-debugsource(riscv-64) = 3.0.1-6.fc30 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-6.fc30.riscv64 Provides: cups-pdf-debuginfo = 3.0.1-6.fc30 cups-pdf-debuginfo(riscv-64) = 3.0.1-6.fc30 debuginfo(build-id) = 4445a1e88eca0e2084520167f98433e31b7cbdbe 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-6.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64 Wrote: /builddir/build/RPMS/cups-pdf-3.0.1-6.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/cups-pdf-debugsource-3.0.1-6.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/cups-pdf-debuginfo-3.0.1-6.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lh891l + umask 022 + cd /builddir/build/BUILD + cd cups-pdf-3.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cups-pdf-3.0.1-6.fc30.riscv64 + exit 0 Child return code was: 0