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/mongoose.spec'], chrootPath='/var/lib/mock/f31-build-111824-34197/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/mongoose.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=1564012800 Wrote: /builddir/build/SRPMS/mongoose-3.1-15.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mongoose.spec'], chrootPath='/var/lib/mock/f31-build-111824-34197/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/mongoose.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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0Cugrm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mongoose + /usr/bin/gzip -dc /builddir/build/SOURCES/mongoose-3.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mongoose + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (mongoose-fix-libmongoose-so-build.patch): + echo 'Patch #0 (mongoose-fix-libmongoose-so-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .solib-build --fuzz=0 patching file Makefile + echo 'Patch #1 (mongoose-fix-no-ssl-dl-build-error.patch):' Patch #1 (mongoose-fix-no-ssl-dl-build-error.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nossldl-build --fuzz=0 patching file mongoose.c + /usr/bin/install -p -m 0644 /builddir/build/SOURCES/mongoose.conf . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1SLGrl + umask 022 + cd /builddir/build/BUILD + cd mongoose + export VERSION=3.1 + VERSION=3.1 + /usr/bin/make -j4 VER=3.1 SOVER=3 '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 -lssl -lcrypto -DNO_SSL_DL' linux g++ mongoose.c -shared -fPIC -fpic -Wl,-soname,libmongoose.so.3 \ -o libmongoose.so.3.1 -ldl -pthread -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 -lssl -lcrypto -DNO_SSL_DL BUILDSTDERR: mongoose.c: In function 'int should_keep_alive(const mg_connection*)': BUILDSTDERR: mongoose.c:809:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] BUILDSTDERR: 809 | !conn->request_info.status_code != 401 && BUILDSTDERR: | ^~ BUILDSTDERR: mongoose.c:809:11: note: add parentheses around left hand side expression to silence this warning BUILDSTDERR: 809 | !conn->request_info.status_code != 401 && BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ( ) BUILDSTDERR: mongoose.c:809:43: warning: comparison of constant '401' with boolean expression is always true [-Wbool-compare] BUILDSTDERR: 809 | !conn->request_info.status_code != 401 && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: mongoose.c: In function 'void discard_current_request_from_buffer(mg_connection*)': BUILDSTDERR: mongoose.c:3827:9: warning: variable 'buffered' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3827 | char *buffered; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: mongoose.c: At global scope: BUILDSTDERR: mongoose.c:3642:22: warning: 'long unsigned int ssl_id_callback()' defined but not used [-Wunused-function] BUILDSTDERR: 3642 | static unsigned long ssl_id_callback(void) { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: mongoose.c:3630:13: warning: 'void ssl_locking_callback(int, int, const char*, int)' defined but not used [-Wunused-function] BUILDSTDERR: 3630 | static void ssl_locking_callback(int mode, int mutex_num, const char *file, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ g++ mongoose.c main.c -o mongoose -ldl -pthread -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 -lssl -lcrypto -DNO_SSL_DL BUILDSTDERR: mongoose.c: In function 'int should_keep_alive(const mg_connection*)': BUILDSTDERR: mongoose.c:809:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] BUILDSTDERR: 809 | !conn->request_info.status_code != 401 && BUILDSTDERR: | ^~ BUILDSTDERR: mongoose.c:809:11: note: add parentheses around left hand side expression to silence this warning BUILDSTDERR: 809 | !conn->request_info.status_code != 401 && BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ( ) BUILDSTDERR: mongoose.c:809:43: warning: comparison of constant '401' with boolean expression is always true [-Wbool-compare] BUILDSTDERR: 809 | !conn->request_info.status_code != 401 && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: mongoose.c: In function 'void discard_current_request_from_buffer(mg_connection*)': BUILDSTDERR: mongoose.c:3827:9: warning: variable 'buffered' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3827 | char *buffered; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: mongoose.c: At global scope: BUILDSTDERR: mongoose.c:3642:22: warning: 'long unsigned int ssl_id_callback()' defined but not used [-Wunused-function] BUILDSTDERR: 3642 | static unsigned long ssl_id_callback(void) { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: mongoose.c:3630:13: warning: 'void ssl_locking_callback(int, int, const char*, int)' defined but not used [-Wunused-function] BUILDSTDERR: 3630 | static void ssl_locking_callback(int mode, int mutex_num, const char *file, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3sUCpl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64 + cd mongoose + /usr/bin/rm -rf /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64 + /usr/bin/install -D -p -m 0755 mongoose /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64//usr/bin/mongoose + /usr/bin/install -D -p -m 0644 mongoose.1 /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64//usr/share/man/man1/mongoose.1 + export VERSION=3.1 + VERSION=3.1 + /usr/bin/install -D -p -m 0755 libmongoose.so.3.1 /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64//usr/lib64/libmongoose.so.3.1 + ln -s /usr/lib64/libmongoose.so.3.1 /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64//usr/lib64/libmongoose.so.3 + /usr/bin/install -D -p -m 0644 mongoose.h /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64//usr/include/mongoose.h + ln -s /usr/lib64/libmongoose.so.3.1 /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64//usr/lib64/libmongoose.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.1-15.fc31 --unique-debug-suffix -3.1-15.fc31.riscv64 --unique-debug-src-base mongoose-3.1-15.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mongoose explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64/usr/bin/mongoose explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64/usr/lib64/libmongoose.so.3.1 extracting debug info from /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64/usr/bin/mongoose extracting debug info from /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64/usr/lib64/libmongoose.so.3.1 original debug info size: 512kB, size after compression: 484kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 313 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: mongoose-3.1-15.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JQPv6l + umask 022 + cd /builddir/build/BUILD + cd mongoose + DOCDIR=/builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64/usr/share/doc/mongoose + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64/usr/share/doc/mongoose + cp -pr mongoose.conf /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64/usr/share/doc/mongoose + cp -pr LICENSE /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64/usr/share/doc/mongoose + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: mongoose = 3.1-15.fc31 mongoose(riscv-64) = 3.1-15.fc31 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libdl.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: mongoose-lib-3.1-15.fc31.riscv64 BUILDSTDERR: warning: absolute symlink: /usr/lib64/libmongoose.so.3 -> /usr/lib64/libmongoose.so.3.1 Provides: libmongoose.so.3()(64bit) mongoose-lib = 3.1-15.fc31 mongoose-lib(riscv-64) = 3.1-15.fc31 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libdl.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: mongoose-devel-3.1-15.fc31.riscv64 BUILDSTDERR: warning: absolute symlink: /usr/lib64/libmongoose.so -> /usr/lib64/libmongoose.so.3.1 Provides: mongoose-devel = 3.1-15.fc31 mongoose-devel(riscv-64) = 3.1-15.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mongoose-debugsource-3.1-15.fc31.riscv64 Provides: mongoose-debugsource = 3.1-15.fc31 mongoose-debugsource(riscv-64) = 3.1-15.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mongoose-debuginfo-3.1-15.fc31.riscv64 Provides: debuginfo(build-id) = 53ba6be587ca7b8caaa93e2f4f8fd3d4ca450b10 mongoose-debuginfo = 3.1-15.fc31 mongoose-debuginfo(riscv-64) = 3.1-15.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mongoose-debugsource(riscv-64) = 3.1-15.fc31 Processing files: mongoose-lib-debuginfo-3.1-15.fc31.riscv64 Provides: debuginfo(build-id) = 92a13d37a7c742d87492dbbd69fa584021634a99 mongoose-lib-debuginfo = 3.1-15.fc31 mongoose-lib-debuginfo(riscv-64) = 3.1-15.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mongoose-debugsource(riscv-64) = 3.1-15.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64 Wrote: /builddir/build/RPMS/mongoose-devel-3.1-15.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mongoose-3.1-15.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mongoose-lib-3.1-15.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mongoose-debugsource-3.1-15.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mongoose-debuginfo-3.1-15.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mongoose-lib-debuginfo-3.1-15.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MUMNDn + umask 022 + cd /builddir/build/BUILD + cd mongoose + /usr/bin/rm -rf /builddir/build/BUILDROOT/mongoose-3.1-15.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0