+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/sha2.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CvnExm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sha2-1.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/sha2-1.0.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sha2-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/sha2-Makefile Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ra99ON + umask 022 + cd /builddir/build/BUILD + cd sha2-1.0.1 + make -j4 'OPTFLAGS=-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 -Wall -fPIC -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 -c -o sha2.o sha2.c gcc -Wall -fPIC -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 -c -o sha2prog.o sha2prog.c gcc -Wall -fPIC -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 -c -o sha2speed.o sha2speed.c sha2prog.c: In function 'main': sha2prog.c:71:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(av, "q")) { ^~~~~~ sha2prog.c:112:23: warning: pointer targets in passing argument 2 of 'SHA256_End' differ in signedness [-Wpointer-sign] SHA256_End(&ctx256, buf); ^~~ In file included from sha2prog.c:41:0: sha2.h:153:7: note: expected 'char *' but argument is of type 'unsigned char *' char* SHA256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]); ^~~~~~~~~~ sha2prog.c:118:23: warning: pointer targets in passing argument 2 of 'SHA384_End' differ in signedness [-Wpointer-sign] SHA384_End(&ctx384, buf); ^~~ In file included from sha2prog.c:41:0: sha2.h:159:7: note: expected 'char *' but argument is of type 'unsigned char *' char* SHA384_End(SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]); ^~~~~~~~~~ sha2prog.c:124:23: warning: pointer targets in passing argument 2 of 'SHA512_End' differ in signedness [-Wpointer-sign] SHA512_End(&ctx512, buf); ^~~ In file included from sha2prog.c:41:0: sha2.h:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char* SHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]); ^~~~~~~~~~ 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 -shared -fPIC -Wl,-soname,libsha2.so.1 -o libsha2.so.1.0.1 sha2.o ln -sf libsha2.so.1.0.1 libsha2.so.1 ln -sf libsha2.so.1 libsha2.so gcc sha2prog.o -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 sha2 -L. -lsha2 gcc sha2speed.o -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 sha2speed -L. -lsha2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.46vTNU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64 + cd sha2-1.0.1 + make install DESTDIR=/builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64 LIBDIR=/usr/lib64 INCLUDEDIR=/usr/include BINDIR=/usr/bin 'OPTFLAGS=-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 -shared -fPIC -Wl,-soname,libsha2.so.1 -o libsha2.so.1.0.1 sha2.o ln -sf libsha2.so.1.0.1 libsha2.so.1 ln -sf libsha2.so.1 libsha2.so gcc sha2prog.o -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 sha2 -L. -lsha2 gcc sha2speed.o -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 sha2speed -L. -lsha2 install -d /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64/usr/bin install sha2 sha2speed /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64/usr/bin install -d /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64/usr/include install -pm 644 sha2.h /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64/usr/include install -d /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64/usr/lib64 install libsha2.so.1.0.1 libsha2.so libsha2.so.1 /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64/usr/lib64 ln -sf libsha2.so.1.0.1 /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64/usr/lib64/libsha2.so.1 ln -sf libsha2.so.1 /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64/usr/lib64/libsha2.so + /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: sha2-1.0.1-12.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JAlmHK + umask 022 + cd /builddir/build/BUILD + cd sha2-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64/usr/share/doc/sha2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64/usr/share/doc/sha2 + cp -pr README /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64/usr/share/doc/sha2 + exit 0 Provides: libsha2.so.1()(64bit) sha2 = 1.0.1-12.fc28 sha2(riscv-64) = 1.0.1-12.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) libsha2.so.1()(64bit) rtld(GNU_HASH) Processing files: sha2-devel-1.0.1-12.fc28.riscv64 Provides: sha2-devel = 1.0.1-12.fc28 sha2-devel(riscv-64) = 1.0.1-12.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libsha2.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sha2-1.0.1-12.fc28.riscv64 Wrote: /builddir/build/SRPMS/sha2-1.0.1-12.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/sha2-1.0.1-12.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/sha2-devel-1.0.1-12.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aTlcGs + umask 022 + cd /builddir/build/BUILD + cd sha2-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sha2-1.0.1-12.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