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/novacom-server.spec'], chrootPath='/var/lib/mock/f31-build-63530-29359/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/novacom-server.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/novacom-server-1.1.0-0.25.rc1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/novacom-server.spec'], chrootPath='/var/lib/mock/f31-build-63530-29359/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/novacom-server.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.GTKH8L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openwebos-novacomd-e77d336 + /usr/bin/gzip -dc /builddir/build/SOURCES/openwebos-novacomd-submissions-119.1-0-ge77d336.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd openwebos-novacomd-e77d336 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Use-usb_bulk_-read-write-instead-of-homemade-handler.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (novacomd_add_cflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (novacomd-quiet-logging.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (novacomd-makefile-remove-adler32.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + rm -f src/lib/cksum/adler32.c + rm -f src/lib/cksum/zlib.h + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (0001-Use-usb_bulk_-read-write-instead-of-homemade-handler.patch): patching file src/host/usb-linux.c Patch #1 (novacomd_add_cflags.patch): patching file makefile Patch #2 (novacomd-quiet-logging.patch): patching file src/host/usb-linux.c Patch #3 (novacomd-makefile-remove-adler32.patch): patching file makefile patching file src/lib/cksum/adler32.c patching file src/lib/cksum/zlib.h Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cyltzN + umask 022 + cd /builddir/build/BUILD + cd openwebos-novacomd-e77d336 + make host 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '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' -j4 BUILDSTDERR: make: hostname: Command not found BUILDSTDERR: src/main.c: In function 'main_loop': BUILDSTDERR: src/main.c:736:9: warning: variable 'err' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 736 | int err; BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from src/novacom/packet.c:30: BUILDSTDERR: src/novacom/packet.c: In function 'packet_thread': BUILDSTDERR: include/debug.h:34:29: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 34 | #define TRACEF(format, ...) log_printf(LOG_TRACE, "%s:%d: "format, __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/novacom/packet.c:257:5: note: in expansion of macro 'TRACEF' BUILDSTDERR: 257 | TRACEF("unexpected incoming stderr data"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: src/novacom/packet.c:258:4: note: here BUILDSTDERR: 258 | default: BUILDSTDERR: | ^~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 HOST compiling src/log.c HOST compiling src/main.c HOST compiling src/socket.c HOST compiling src/transport.c HOST compiling src/transport_inet.c HOST compiling src/transport_usb.c HOST compiling src/novacom/lib.c HOST compiling src/novacom/mux.c HOST compiling src/novacom/packet.c HOST compiling src/novacom/buf_queue.c HOST compiling src/novacom/commands.c HOST compiling src/novacom/commands_device.c HOST compiling src/lib/cksum/sha1.c HOST compiling src/lib/buffer.c HOST compiling src/host/device_list.c HOST compiling src/host/usb-linux.c HOST compiling src/host/tokenstorage.c HOST compiling src/host/commands_service.c HOST compiling src/host/recovery.c HOST compiling src/platform_pthreads.c HOST linking build-novacomd-host/novacomd Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.p6FRsN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64 + cd openwebos-novacomd-e77d336 + mkdir -p /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64//usr/bin + install -pm 755 build-novacomd-host/novacomd /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64//usr/bin + mkdir -p /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64//usr/lib/systemd/system + install -pm 644 /builddir/build/SOURCES/novacomd.service /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64//usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64//etc/default + install -pm 644 /builddir/build/SOURCES/config-novacomd /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64//etc/default/novacomd + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.0-0.25.rc1.fc31 --unique-debug-suffix -1.1.0-0.25.rc1.fc31.riscv64 --unique-debug-src-base novacom-server-1.1.0-0.25.rc1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/openwebos-novacomd-e77d336 BUILDSTDERR: 563 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/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64/usr/bin/novacomd extracting debug info from /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64/usr/bin/novacomd original debug info size: 448kB, size after compression: 408kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: novacom-server-1.1.0-0.25.rc1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QaX8EM + umask 022 + cd /builddir/build/BUILD + cd openwebos-novacomd-e77d336 + DOCDIR=/builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64/usr/share/doc/novacom-server + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64/usr/share/doc/novacom-server + cp -pr README.md /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64/usr/share/doc/novacom-server + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(novacom-server) = 1.1.0-0.25.rc1.fc31 novacom-server = 1.1.0-0.25.rc1.fc31 novacom-server(riscv-64) = 1.1.0-0.25.rc1.fc31 novacomd = 1.1.0-0.25.rc1.fc31 Requires(interp): /bin/sh /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 systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libusb-0.1.so.4()(64bit) rtld(GNU_HASH) Processing files: novacom-server-debugsource-1.1.0-0.25.rc1.fc31.riscv64 Provides: novacom-server-debugsource = 1.1.0-0.25.rc1.fc31 novacom-server-debugsource(riscv-64) = 1.1.0-0.25.rc1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: novacom-server-debuginfo-1.1.0-0.25.rc1.fc31.riscv64 Provides: debuginfo(build-id) = 0ad06b221ff2b5e7bcc94dea288d2c799e390e4d novacom-server-debuginfo = 1.1.0-0.25.rc1.fc31 novacom-server-debuginfo(riscv-64) = 1.1.0-0.25.rc1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: novacom-server-debugsource(riscv-64) = 1.1.0-0.25.rc1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64 Wrote: /builddir/build/RPMS/novacom-server-1.1.0-0.25.rc1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/novacom-server-debugsource-1.1.0-0.25.rc1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/novacom-server-debuginfo-1.1.0-0.25.rc1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zqqg5L + umask 022 + cd /builddir/build/BUILD + cd openwebos-novacomd-e77d336 + /usr/bin/rm -rf /builddir/build/BUILDROOT/novacom-server-1.1.0-0.25.rc1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0