Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mongoose.spec'], chrootPath='/var/lib/mock/f33-build-141196-42555/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=987gid=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=1580256000 Wrote: /builddir/build/SRPMS/mongoose-3.1-16.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mongoose.spec'], chrootPath='/var/lib/mock/f33-build-141196-42555/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=987gid=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=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vZrwH8 + 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 . + echo 'Patch #0 (mongoose-fix-libmongoose-so-build.patch):' 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 Patch #1 (mongoose-fix-no-ssl-dl-build-error.patch): + echo '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 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.D1XlT6 + 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 mongoose.c: In function 'int should_keep_alive(const mg_connection*)': mongoose.c:809:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 809 | !conn->request_info.status_code != 401 && | ^~ mongoose.c:809:11: note: add parentheses around left hand side expression to silence this warning 809 | !conn->request_info.status_code != 401 && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) mongoose.c:809:43: warning: comparison of constant '401' with boolean expression is always true [-Wbool-compare] 809 | !conn->request_info.status_code != 401 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mongoose.c: In function 'void discard_current_request_from_buffer(mg_connection*)': mongoose.c:3827:9: warning: variable 'buffered' set but not used [-Wunused-but-set-variable] 3827 | char *buffered; | ^~~~~~~~ mongoose.c: At global scope: mongoose.c:3642:22: warning: 'long unsigned int ssl_id_callback()' defined but not used [-Wunused-function] 3642 | static unsigned long ssl_id_callback(void) { | ^~~~~~~~~~~~~~~ mongoose.c:3630:13: warning: 'void ssl_locking_callback(int, int, const char*, int)' defined but not used [-Wunused-function] 3630 | static void ssl_locking_callback(int mode, int mutex_num, const char *file, | ^~~~~~~~~~~~~~~~~~~~ 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 mongoose.c: In function 'int should_keep_alive(const mg_connection*)': mongoose.c:809:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 809 | !conn->request_info.status_code != 401 && | ^~ mongoose.c:809:11: note: add parentheses around left hand side expression to silence this warning 809 | !conn->request_info.status_code != 401 && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) mongoose.c:809:43: warning: comparison of constant '401' with boolean expression is always true [-Wbool-compare] 809 | !conn->request_info.status_code != 401 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mongoose.c: In function 'void discard_current_request_from_buffer(mg_connection*)': mongoose.c:3827:9: warning: variable 'buffered' set but not used [-Wunused-but-set-variable] 3827 | char *buffered; | ^~~~~~~~ mongoose.c: At global scope: mongoose.c:3642:22: warning: 'long unsigned int ssl_id_callback()' defined but not used [-Wunused-function] 3642 | static unsigned long ssl_id_callback(void) { | ^~~~~~~~~~~~~~~ mongoose.c:3630:13: warning: 'void ssl_locking_callback(int, int, const char*, int)' defined but not used [-Wunused-function] 3630 | static void ssl_locking_callback(int mode, int mutex_num, const char *file, | ^~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.i9At66 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64 + cd mongoose + /usr/bin/rm -rf /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64 + /usr/bin/install -D -p -m 0755 mongoose /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64//usr/bin/mongoose + /usr/bin/install -D -p -m 0644 mongoose.1 /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.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-16.fc33.riscv64//usr/lib64/libmongoose.so.3.1 + ln -s /usr/lib64/libmongoose.so.3.1 /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64//usr/lib64/libmongoose.so.3 + /usr/bin/install -D -p -m 0644 mongoose.h /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64//usr/include/mongoose.h + ln -s /usr/lib64/libmongoose.so.3.1 /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64//usr/lib64/libmongoose.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.1-16.fc33 --unique-debug-suffix -3.1-16.fc33.riscv64 --unique-debug-src-base mongoose-3.1-16.fc33.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-16.fc33.riscv64/usr/bin/mongoose explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64/usr/lib64/libmongoose.so.3.1 extracting debug info from /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64/usr/bin/mongoose extracting debug info from /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64/usr/lib64/libmongoose.so.3.1 original debug info size: 508kB, size after compression: 476kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 313 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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mongoose-3.1-16.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2iiMD8 + umask 022 + cd /builddir/build/BUILD + cd mongoose + DOCDIR=/builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64/usr/share/doc/mongoose + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64/usr/share/doc/mongoose + cp -pr mongoose.conf /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64/usr/share/doc/mongoose + cp -pr LICENSE /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64/usr/share/doc/mongoose + RPM_EC=0 ++ jobs -p + exit 0 Provides: mongoose = 3.1-16.fc33 mongoose(riscv-64) = 3.1-16.fc33 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-16.fc33.riscv64 warning: absolute symlink: /usr/lib64/libmongoose.so.3 -> /usr/lib64/libmongoose.so.3.1 Provides: libmongoose.so.3()(64bit) mongoose-lib = 3.1-16.fc33 mongoose-lib(riscv-64) = 3.1-16.fc33 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-16.fc33.riscv64 warning: absolute symlink: /usr/lib64/libmongoose.so -> /usr/lib64/libmongoose.so.3.1 Provides: mongoose-devel = 3.1-16.fc33 mongoose-devel(riscv-64) = 3.1-16.fc33 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-16.fc33.riscv64 Provides: mongoose-debugsource = 3.1-16.fc33 mongoose-debugsource(riscv-64) = 3.1-16.fc33 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-16.fc33.riscv64 Provides: debuginfo(build-id) = c238ea1627c06d0e279931c3bd99f84111c70c42 mongoose-debuginfo = 3.1-16.fc33 mongoose-debuginfo(riscv-64) = 3.1-16.fc33 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-16.fc33 Processing files: mongoose-lib-debuginfo-3.1-16.fc33.riscv64 Provides: debuginfo(build-id) = 4cf2fb8170ced0ab6b1fd7dd9f4fe9f39aec154c mongoose-lib-debuginfo = 3.1-16.fc33 mongoose-lib-debuginfo(riscv-64) = 3.1-16.fc33 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-16.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64 Wrote: /builddir/build/RPMS/mongoose-devel-3.1-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/mongoose-3.1-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/mongoose-lib-3.1-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/mongoose-debugsource-3.1-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/mongoose-debuginfo-3.1-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/mongoose-lib-debuginfo-3.1-16.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DENnl7 + umask 022 + cd /builddir/build/BUILD + cd mongoose + /usr/bin/rm -rf /builddir/build/BUILDROOT/mongoose-3.1-16.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0