+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/sslscan.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: Macro expanded in comment on line 16: %{name}-%{version}.tgz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wtsMMT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sslscan-89dceb6856e69ac92d24ef787029df109168ce61 + /usr/bin/gzip -dc /builddir/build/SOURCES/sslscan-1.10.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sslscan-89dceb6856e69ac92d24ef787029df109168ce61 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BcX1yt + umask 022 + cd /builddir/build/BUILD + cd sslscan-89dceb6856e69ac92d24ef787029df109168ce61 + 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 ' gcc -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 -o sslscan sslscan.c -L/usr/local/ssl/lib -lssl -lcrypto sslscan.c:1193:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int defaultCipher(struct sslCheckOptions *options, const const SSL_METHOD *sslMethod) ^~~~~ sslscan.c: In function 'readLine': sslscan.c:270:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(lineFromFile, maxSize, input); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslscan.c: In function 'testCipher': sslscan.c:960:82: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 156 [-Wformat-truncation=] snprintf(requestBuffer, 199, "GET / HTTP/1.0\r\nUser-Agent: SSLScan\r\nHost: %s\r\n\r\n", options->host); ^~ In file included from /usr/include/stdio.h:861:0, from /usr/include/openssl/err.h:118, from sslscan.c:72: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 48 and 559 bytes into a destination of size 199 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslscan.c: In function 'getCertificate': sslscan.c:1529:57: warning: 'xml_bp' may be used uninitialized in this function [-Wmaybe-uninitialized] if (BIO_printf(xml_bp,"%02x",bs->data[i]) <= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sS1DTs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64 + cd sslscan-89dceb6856e69ac92d24ef787029df109168ce61 + rm -rf /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64 BINPATH=/usr/bin/ MANPATH=/usr/share/man/ install -D -m 755 sslscan /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64/usr/bin//sslscan install -D -m 644 sslscan.1 /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64/usr/share/man//man1/sslscan.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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.10.2-10.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6s87ax + umask 022 + cd /builddir/build/BUILD + cd sslscan-89dceb6856e69ac92d24ef787029df109168ce61 + DOCDIR=/builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64/usr/share/doc/sslscan + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64/usr/share/doc/sslscan + cp -pr Changelog /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64/usr/share/doc/sslscan + cp -pr README.md /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64/usr/share/doc/sslscan + cp -pr LICENSE /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64/usr/share/doc/sslscan + cp -pr TODO /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64/usr/share/doc/sslscan + exit 0 Provides: sslscan = 1.10.2-10.fc28 sslscan(riscv-64) = 1.10.2-10.fc28 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) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64 Wrote: /builddir/build/SRPMS/sslscan-1.10.2-10.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/sslscan-1.10.2-10.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vayVRc + umask 022 + cd /builddir/build/BUILD + cd sslscan-89dceb6856e69ac92d24ef787029df109168ce61 + rm -rf /builddir/build/BUILDROOT/sslscan-1.10.2-10.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff