Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/novacom-client.spec'], chrootPath='/var/lib/mock/f30-build-38282-22104/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/novacom-client.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 Wrote: /builddir/build/SRPMS/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/novacom-client.spec'], chrootPath='/var/lib/mock/f30-build-38282-22104/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/novacom-client.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.doOBmK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf novacom-git-ff7641193a + /usr/bin/gzip -dc /builddir/build/SOURCES/novacom-git-ff7641193a.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd novacom-git-ff7641193a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (novacom-makefile-fixes.patch):' Patch #0 (novacom-makefile-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file makefile + echo 'Patch #1 (novacom-remove-base64.patch):' Patch #1 (novacom-remove-base64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file makefile Hunk #1 succeeded at 57 (offset 1 line). patching file src/main.c + rm -f src/base64.c src/base64.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O2Vyep + umask 022 + cd /builddir/build/BUILD + cd novacom-git-ff7641193a + make 'LDFLAGS=-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' '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 compiling -Wall -W -Wno-multichar -Wno-unused-parameter -Wno-unused-function -g -DBUILDVERSION="..local..mockbuild@..20181206..21:34:13" -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 src/packet.c compiling -Wall -W -Wno-multichar -Wno-unused-parameter -Wno-unused-function -g -DBUILDVERSION="..local..mockbuild@..20181206..21:34:13" -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 src/main.c compiling -Wall -W -Wno-multichar -Wno-unused-parameter -Wno-unused-function -g -DBUILDVERSION="..local..mockbuild@..20181206..21:34:13" -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 src/tcprelay.c compiling -Wall -W -Wno-multichar -Wno-unused-parameter -Wno-unused-function -g -DBUILDVERSION="..local..mockbuild@..20181206..21:34:13" -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 src/socket.c BUILDSTDERR: src/main.c: In function 'prepare_cmd': BUILDSTDERR: src/main.c:503:48: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: len = snprintf(command, sizeof(command), "%.*s%s", BUILDSTDERR: ~~^~ BUILDSTDERR: sizeof(ctx.Message_Digest_Str), ctx.Message_Digest_Str, devsnid); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.c:516:42: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: snprintf(command, sizeof(command), "%.*s dev://%s %s", cmdsize, cmd, devnduid, hash); BUILDSTDERR: ~~^~ ~~~~~~~ BUILDSTDERR: src/main.c:484:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int rc; BUILDSTDERR: ^~ BUILDSTDERR: src/main.c: In function 'signal_to_pipe': BUILDSTDERR: src/main.c:216:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(signalpipe[PIPE_WRITE], &signals, sizeof(sigset_t)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.c: In function 'data_xfer': BUILDSTDERR: src/main.c:614:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDOUT_FILENO, rbuf, rsize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.c:618:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDERR_FILENO, rbuf, rsize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.c:676:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(signalpipe[PIPE_WRITE], &signals, sizeof(sigset_t)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.c: In function 'getpsw': BUILDSTDERR: src/main.c:458:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: scanf("%64s", pwd); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ compiling -Wall -W -Wno-multichar -Wno-unused-parameter -Wno-unused-function -g -DBUILDVERSION="..local..mockbuild@..20181206..21:34:13" -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 src/sha1.c BUILDSTDERR: src/main.c: In function 'data_xfer': BUILDSTDERR: src/main.c:646:7: warning: 'wsize' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (written == wsize) { BUILDSTDERR: ^ linking build-novacom/novacom + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xDR5aQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 + cd novacom-git-ff7641193a + mkdir -p /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64//usr/bin + install -m 755 build-novacom/novacom /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64//usr/bin + install -m 755 /builddir/build/SOURCES/novaterm /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64//usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.0-0.18.rc1.git.ff7641193a.fc30 --unique-debug-suffix -1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 --unique-debug-src-base novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/novacom-git-ff7641193a explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64/usr/bin/novacom extracting debug info from /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64/usr/bin/novacom /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 114 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/novaterm from /bin/sh to #!/usr/bin/sh Processing files: novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MNVkGo + umask 022 + cd /builddir/build/BUILD + cd novacom-git-ff7641193a + DOCDIR=/builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64/usr/share/doc/novacom-client + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64/usr/share/doc/novacom-client + cp -pr README.md /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64/usr/share/doc/novacom-client + exit 0 Provides: novacom-client = 1.1.0-0.18.rc1.git.ff7641193a.fc30 novacom-client(riscv-64) = 1.1.0-0.18.rc1.git.ff7641193a.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh 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) rtld(GNU_HASH) Processing files: novacom-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JjqY2e + umask 022 + cd /builddir/build/BUILD + cd novacom-git-ff7641193a + DOCDIR=/builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64/usr/share/doc/novacom + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64/usr/share/doc/novacom + cp -pr README.md /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64/usr/share/doc/novacom + exit 0 Provides: novacom = 1.1.0-0.18.rc1.git.ff7641193a.fc30 novacom(riscv-64) = 1.1.0-0.18.rc1.git.ff7641193a.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: novacom-client-debugsource-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 Provides: novacom-client-debugsource = 1.1.0-0.18.rc1.git.ff7641193a.fc30 novacom-client-debugsource(riscv-64) = 1.1.0-0.18.rc1.git.ff7641193a.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: novacom-client-debuginfo-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 Provides: debuginfo(build-id) = 3d7165b8406953c3e2159a05ce07655ee9bafaff novacom-client-debuginfo = 1.1.0-0.18.rc1.git.ff7641193a.fc30 novacom-client-debuginfo(riscv-64) = 1.1.0-0.18.rc1.git.ff7641193a.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: novacom-client-debugsource(riscv-64) = 1.1.0-0.18.rc1.git.ff7641193a.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 Wrote: /builddir/build/RPMS/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/novacom-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/novacom-client-debugsource-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/novacom-client-debuginfo-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HUYzdo + umask 022 + cd /builddir/build/BUILD + cd novacom-git-ff7641193a + /usr/bin/rm -rf /builddir/build/BUILDROOT/novacom-client-1.1.0-0.18.rc1.git.ff7641193a.fc30.riscv64 + exit 0 Child return code was: 0