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/sslscan.spec'], chrootPath='/var/lib/mock/f29-build-15883-7604/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sslscan.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 BUILDSTDERR: warning: Macro expanded in comment on line 11: %{name}-%{version}.tgz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/sslscan-1.11.11-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sslscan.spec'], chrootPath='/var/lib/mock/f29-build-15883-7604/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sslscan.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 BUILDSTDERR: warning: Macro expanded in comment on line 11: %{name}-%{version}.tgz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mDwZ2K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sslscan-1.11.11-rbsec + /usr/bin/gzip -dc /builddir/build/SOURCES/sslscan-1.11.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sslscan-1.11.11-rbsec + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4wM2ho + umask 022 + cd /builddir/build/BUILD + cd sslscan-1.11.11-rbsec + make -j4 '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' BUILDSTDERR: make: git: Command not found gcc -o sslscan -Wall -Wformat=2 -Wformat-security -pie -z relro -z now -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/opt/openssl/lib -L/opt/local/lib -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 -DVERSION=\"1.11.11\" sslscan.c -lssl -lcrypto -ldl BUILDSTDERR: sslscan.c: In function 'main': BUILDSTDERR: sslscan.c:3728:62: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] BUILDSTDERR: strncpy(options.sniname, options.host, sizeof(options.host)); BUILDSTDERR: ^ BUILDSTDERR: sslscan.c: In function 'readLine': BUILDSTDERR: sslscan.c:195:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(lineFromFile, maxSize, input); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sslscan.c: In function 'testFallback': BUILDSTDERR: sslscan.c:1086:9: warning: 'secondMethod' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: testFallback(options, secondMethod); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sslscan.c: In function 'testCipher': BUILDSTDERR: sslscan.c:1509:82: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 156 [-Wformat-truncation=] BUILDSTDERR: snprintf(requestBuffer, 199, "GET / HTTP/1.0\r\nUser-Agent: SSLScan\r\nHost: %s\r\n\r\n", options->host); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/openssl/err.h:118, BUILDSTDERR: from sslscan.c:87: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 48 and 559 bytes into a destination of size 199 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sslscan.c: In function 'showCertificate': BUILDSTDERR: sslscan.c:2614:57: warning: 'xml_bp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (BIO_printf(xml_bp,"%02x",bs->data[i]) <= 0) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =========== | WARNING | =========== Building against system OpenSSL. Legacy protocol checks may not be possible. It is recommended that you statically build sslscan with `make static`. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vCmzCe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64 + cd sslscan-1.11.11-rbsec + make install DESTDIR=/builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64 BINPATH=/usr/bin/ MANPATH=/usr/share/man/ BUILDSTDERR: make: git: Command not found install -D sslscan /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64/usr/bin/sslscan; install -D sslscan.1 /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64/usr/share/man/man1/sslscan.1; + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.11.11-1.fc29 --unique-debug-suffix -1.11.11-1.fc29.riscv64 --unique-debug-src-base sslscan-1.11.11-1.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sslscan-1.11.11-rbsec extracting debug info from /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64/usr/bin/sslscan /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 334 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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sslscan-1.11.11-1.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hA5cox + umask 022 + cd /builddir/build/BUILD + cd sslscan-1.11.11-rbsec + DOCDIR=/builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64/usr/share/doc/sslscan + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64/usr/share/doc/sslscan + cp -pr Changelog /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64/usr/share/doc/sslscan + cp -pr README.md /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64/usr/share/doc/sslscan + cp -pr TODO /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64/usr/share/doc/sslscan + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XgX6DT + umask 022 + cd /builddir/build/BUILD + cd sslscan-1.11.11-rbsec + LICENSEDIR=/builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64/usr/share/licenses/sslscan + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64/usr/share/licenses/sslscan + cp -pr LICENSE /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64/usr/share/licenses/sslscan + exit 0 Provides: sslscan = 1.11.11-1.fc29 sslscan(riscv-64) = 1.11.11-1.fc29 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.10()(64bit) libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) libcrypto.so.10(OPENSSL_1.0.2)(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libdl.so.2()(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) rtld(GNU_HASH) Processing files: sslscan-debugsource-1.11.11-1.fc29.riscv64 Provides: sslscan-debugsource = 1.11.11-1.fc29 sslscan-debugsource(riscv-64) = 1.11.11-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sslscan-debuginfo-1.11.11-1.fc29.riscv64 Provides: debuginfo(build-id) = 9f3545f48ad15ad2862ffd25154270e67747cc22 sslscan-debuginfo = 1.11.11-1.fc29 sslscan-debuginfo(riscv-64) = 1.11.11-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sslscan-debugsource(riscv-64) = 1.11.11-1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64 Wrote: /builddir/build/RPMS/sslscan-1.11.11-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/sslscan-debugsource-1.11.11-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/sslscan-debuginfo-1.11.11-1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.coyDxr + umask 022 + cd /builddir/build/BUILD + cd sslscan-1.11.11-rbsec + /usr/bin/rm -rf /builddir/build/BUILDROOT/sslscan-1.11.11-1.fc29.riscv64 + exit 0 Child return code was: 0