Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/novacom-server.spec'], chrootPath='/var/lib/mock/f29-build-9951-4477/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/novacom-server-1.1.0-0.21.rc1.fc29.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/f29-build-9951-4477/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gk8QIe + 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):' Patch #0 (0001-Use-usb_bulk_-read-write-instead-of-homemade-handler.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/host/usb-linux.c + echo 'Patch #1 (novacomd_add_cflags.patch):' Patch #1 (novacomd_add_cflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file makefile + echo 'Patch #2 (novacomd-quiet-logging.patch):' Patch #2 (novacomd-quiet-logging.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/host/usb-linux.c + echo 'Patch #3 (novacomd-makefile-remove-adler32.patch):' Patch #3 (novacomd-makefile-remove-adler32.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file makefile patching file src/lib/cksum/adler32.c patching file src/lib/cksum/zlib.h + rm -f src/lib/cksum/adler32.c + rm -f src/lib/cksum/zlib.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nv48gh + umask 022 + cd /builddir/build/BUILD + cd openwebos-novacomd-e77d336 + make host 'LDFLAGS=-Wl,-z,relro -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 HOST compiling src/main.c HOST compiling src/log.c HOST compiling src/socket.c HOST compiling src/transport.c HOST compiling src/transport_inet.c 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: int err; BUILDSTDERR: ^~~ HOST compiling src/transport_usb.c HOST compiling src/novacom/lib.c HOST compiling src/novacom/mux.c HOST compiling src/novacom/packet.c 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: #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: TRACEF("unexpected incoming stderr data"); BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/novacom/packet.c:258:4: note: here BUILDSTDERR: default: BUILDSTDERR: ^~~~~~~ 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sDroCe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64 + cd openwebos-novacomd-e77d336 + mkdir -p /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64//usr/bin + install -pm 755 build-novacomd-host/novacomd /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64//usr/bin + mkdir -p /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64//usr/lib/systemd/system + install -pm 644 /builddir/build/SOURCES/novacomd.service /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64//usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64//etc/default + install -pm 644 /builddir/build/SOURCES/config-novacomd /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64//etc/default/novacomd + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.0-0.21.rc1.fc29 --unique-debug-suffix -1.1.0-0.21.rc1.fc29.riscv64 --unique-debug-src-base novacom-server-1.1.0-0.21.rc1.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/openwebos-novacomd-e77d336 extracting debug info from /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64/usr/bin/novacomd /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 563 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/novacom-server-1.1.0-0.21.rc1.fc29.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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: novacom-server-1.1.0-0.21.rc1.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9YsZDh + umask 022 + cd /builddir/build/BUILD + cd openwebos-novacomd-e77d336 + DOCDIR=/builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.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.21.rc1.fc29.riscv64/usr/share/doc/novacom-server + cp -pr README.md /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64/usr/share/doc/novacom-server + exit 0 Provides: config(novacom-server) = 1.1.0-0.21.rc1.fc29 novacom-server = 1.1.0-0.21.rc1.fc29 novacom-server(riscv-64) = 1.1.0-0.21.rc1.fc29 novacomd = 1.1.0-0.21.rc1.fc29 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.21.rc1.fc29.riscv64 Provides: novacom-server-debugsource = 1.1.0-0.21.rc1.fc29 novacom-server-debugsource(riscv-64) = 1.1.0-0.21.rc1.fc29 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.21.rc1.fc29.riscv64 Provides: debuginfo(build-id) = 4630711bec3ec96b80a5c186f8364d5980a559ed novacom-server-debuginfo = 1.1.0-0.21.rc1.fc29 novacom-server-debuginfo(riscv-64) = 1.1.0-0.21.rc1.fc29 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.21.rc1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64 Wrote: /builddir/build/RPMS/novacom-server-1.1.0-0.21.rc1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/novacom-server-debugsource-1.1.0-0.21.rc1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/novacom-server-debuginfo-1.1.0-0.21.rc1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ysmVHm + umask 022 + cd /builddir/build/BUILD + cd openwebos-novacomd-e77d336 + /usr/bin/rm -rf /builddir/build/BUILDROOT/novacom-server-1.1.0-0.21.rc1.fc29.riscv64 + exit 0 Child return code was: 0