Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/novacom-server.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-154505-10098/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': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/novacom-server-1.1.0-0.33.rc1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/novacom-server.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-154505-10098/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': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p5NuVw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openwebos-novacomd-e77d336 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openwebos-novacomd-submissions-119.1-0-ge77d336.tar.gz + 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 -f -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 -f -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 -f -p1 --fuzz=0 patching file src/host/usb-linux.c + echo 'Patch #3 (novacomd-makefile-remove-adler32.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 Patch #3 (novacomd-makefile-remove-adler32.patch): 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rs0UYP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd openwebos-novacomd-e77d336 + make host 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection' -j8 make: hostname: No such file or directory 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 HOST compiling src/transport_usb.c HOST compiling src/novacom/lib.c HOST compiling src/novacom/mux.c src/main.c: In function 'main_loop': src/main.c:736:37: warning: variable 'err' set but not used [-Wunused-but-set-variable] 736 | int err; | ^~~ 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 In file included from src/novacom/packet.c:30: src/novacom/packet.c: In function 'packet_thread': include/debug.h:34:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 34 | #define TRACEF(format, ...) log_printf(LOG_TRACE, "%s:%d: "format, __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/novacom/packet.c:257:33: note: in expansion of macro 'TRACEF' 257 | TRACEF("unexpected incoming stderr data"); | ^~~~~~ src/novacom/packet.c:258:25: note: here 258 | default: | ^~~~~~~ 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KgWuM7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd openwebos-novacomd-e77d336 + mkdir -p /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64//usr/bin + install -pm 755 build-novacomd-host/novacomd /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64//usr/bin + mkdir -p /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64//usr/lib/systemd/system + install -pm 644 /builddir/build/SOURCES/novacomd.service /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64//usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64//etc/default + install -pm 644 /builddir/build/SOURCES/config-novacomd /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64//etc/default/novacomd + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.1.0-0.33.rc1.fc37 --unique-debug-suffix -1.1.0-0.33.rc1.fc37.riscv64 --unique-debug-src-base novacom-server-1.1.0-0.33.rc1.fc37.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.33.rc1.fc37.riscv64/usr/bin/novacomd original debug info size: 1016kB, size after compression: 992kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 563 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: novacom-server-1.1.0-0.33.rc1.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.euq7I3 + umask 022 + cd /builddir/build/BUILD + cd openwebos-novacomd-e77d336 + DOCDIR=/builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.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.33.rc1.fc37.riscv64/usr/share/doc/novacom-server + cp -pr README.md /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64/usr/share/doc/novacom-server + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(novacom-server) = 1.1.0-0.33.rc1.fc37 novacom-server = 1.1.0-0.33.rc1.fc37 novacom-server(riscv-64) = 1.1.0-0.33.rc1.fc37 novacomd = 1.1.0-0.33.rc1.fc37 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libusb-0.1.so.4()(64bit) rtld(GNU_HASH) Processing files: novacom-server-debugsource-1.1.0-0.33.rc1.fc37.riscv64 Provides: novacom-server-debugsource = 1.1.0-0.33.rc1.fc37 novacom-server-debugsource(riscv-64) = 1.1.0-0.33.rc1.fc37 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.33.rc1.fc37.riscv64 Provides: debuginfo(build-id) = 6d3de3ee0f7260c50ba4394461d0bc7ecb4cce5a novacom-server-debuginfo = 1.1.0-0.33.rc1.fc37 novacom-server-debuginfo(riscv-64) = 1.1.0-0.33.rc1.fc37 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.33.rc1.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64 Wrote: /builddir/build/RPMS/novacom-server-1.1.0-0.33.rc1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/novacom-server-debuginfo-1.1.0-0.33.rc1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/novacom-server-debugsource-1.1.0-0.33.rc1.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zUYCrs + umask 022 + cd /builddir/build/BUILD + cd openwebos-novacomd-e77d336 + /usr/bin/rm -rf /builddir/build/BUILDROOT/novacom-server-1.1.0-0.33.rc1.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.45Pyky + umask 022 + cd /builddir/build/BUILD + rm -rf openwebos-novacomd-e77d336 openwebos-novacomd-e77d336.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0