Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pbzip2.spec'], chrootPath='/var/lib/mock/f32-build-120832-37052/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pbzip2.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 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/pbzip2-1.1.12-9.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pbzip2.spec'], chrootPath='/var/lib/mock/f32-build-120832-37052/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pbzip2.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 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aY9gm3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pbzip2-1.1.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/pbzip2-1.1.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pbzip2-1.1.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (pbzip2-1.1.12-buildflags.patch): + echo 'Patch #0 (pbzip2-1.1.12-buildflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + f=AUTHORS + iconv -f iso-8859-1 -t utf-8 AUTHORS + mv AUTHORS.utf8 AUTHORS + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Q1XOW3 + umask 022 + cd /builddir/build/BUILD + cd pbzip2-1.1.12 + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/make -O -j4 V=1 VERBOSE=1 g++ -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 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_STACKSIZE_CUSTOMIZATION -pthread -D_POSIX_PTHREAD_SEMANTICS -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld pbzip2.cpp BZ2StreamScanner.cpp ErrorContext.cpp -o pbzip2 -lbz2 -lpthread BUILDSTDERR: pbzip2.cpp:1226:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 1226 | fprintf(stderr, "pbzip2: *WARNING: Compressed block size is large [%"PRIuMAX" bytes].\n", BUILDSTDERR: | ^ BUILDSTDERR: pbzip2.cpp:1836:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 1836 | fprintf(stderr, " Output Size: %"PRIuMAX" bytes\n", (uintmax_t)CompressedSize); BUILDSTDERR: | ^ BUILDSTDERR: pbzip2.cpp:2079:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 2079 | fprintf(stderr, " Output Size: %"PRIuMAX" bytes\n", (uintmax_t)CompressedSize); BUILDSTDERR: | ^ BUILDSTDERR: pbzip2.cpp:2814:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 2814 | fprintf(stderr, "pbzip2: *ERROR: Could not initialize (OutputBuffer); size=%"PRIuMAX"! Aborting...\n", (uintmax_t)size); BUILDSTDERR: | ^ BUILDSTDERR: pbzip2.cpp:4120:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 4120 | fprintf(stderr, " Input Size: %"PRIuMAX" bytes\n", (uintmax_t)InFileSize); BUILDSTDERR: | ^ BUILDSTDERR: pbzip2.cpp:4242:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] BUILDSTDERR: 4242 | fprintf(stderr, "*Warning* Max memory limit increased to %"PRIuMAX" MB to support %d CPUs\n", (uintmax_t)((NumBufferedBlocksMax + (numCPU * 2)) * blockSize)/1000000, numCPU); BUILDSTDERR: | ^ BUILDSTDERR: pbzip2.cpp: In function 'int testCompressedData(char*)': BUILDSTDERR: pbzip2.cpp:3015:13: warning: variable 'nread' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3015 | int bzerr, nread, streamNo; BUILDSTDERR: | ^~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ta7hD4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64 + cd pbzip2-1.1.12 + install -D -m755 pbzip2 /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/bin/pbzip2 + install -D -m644 pbzip2.1 /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/share/man/man1/pbzip2.1 + ln -sf ./pbzip2 /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/bin/pbunzip2 + ln -sf ./pbzip2 /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/bin/pbzcat + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.12-9.fc32 --unique-debug-suffix -1.1.12-9.fc32.riscv64 --unique-debug-src-base pbzip2-1.1.12-9.fc32.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pbzip2-1.1.12 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/bin/pbzip2 extracting debug info from /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/bin/pbzip2 original debug info size: 580kB, size after compression: 544kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 290 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pbzip2-1.1.12-9.fc32.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qNZ904 + umask 022 + cd /builddir/build/BUILD + cd pbzip2-1.1.12 + DOCDIR=/builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/share/doc/pbzip2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/share/doc/pbzip2 + cp -pr AUTHORS /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/share/doc/pbzip2 + cp -pr ChangeLog /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/share/doc/pbzip2 + cp -pr COPYING /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/share/doc/pbzip2 + cp -pr README /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64/usr/share/doc/pbzip2 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: pbzip2 = 1.1.12-9.fc32 pbzip2(riscv-64) = 1.1.12-9.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) rtld(GNU_HASH) Processing files: pbzip2-debugsource-1.1.12-9.fc32.riscv64 Provides: pbzip2-debugsource = 1.1.12-9.fc32 pbzip2-debugsource(riscv-64) = 1.1.12-9.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pbzip2-debuginfo-1.1.12-9.fc32.riscv64 Provides: debuginfo(build-id) = 5ebf54d3c17dca5faeab200567822e115bba7347 pbzip2-debuginfo = 1.1.12-9.fc32 pbzip2-debuginfo(riscv-64) = 1.1.12-9.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pbzip2-debugsource(riscv-64) = 1.1.12-9.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64 Wrote: /builddir/build/RPMS/pbzip2-1.1.12-9.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/pbzip2-debugsource-1.1.12-9.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/pbzip2-debuginfo-1.1.12-9.fc32.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OANWN3 + umask 022 + cd /builddir/build/BUILD + cd pbzip2-1.1.12 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pbzip2-1.1.12-9.fc32.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0