+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libutempter.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 74: %{_sbindir}/utempter Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GTKvrc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libutempter-1.1.6 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/libutempter-1.1.6.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libutempter-1.1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libutempter-pierelro.patch):' Patch #0 (libutempter-pierelro.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pierelro --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PxP4Ec + umask 022 + cd /builddir/build/BUILD + cd libutempter-1.1.6 + make '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 ' libdir=/usr/lib64 libexecdir=/usr/libexec cc -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 -std=gnu99 -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -DLIBEXECDIR=\"/usr/libexec\" -pie -fPIE -Wl,-z,relro,-z,now,-stats \ utempter.c -o utempter utempter.c: In function 'write_uwtmp_record': utempter.c:144:20: warning: conversion to 'int32_t {aka int}' from '__time_t {aka long int}' may alter its value [-Wconversion] ut.ut_tv.tv_sec = tv.tv_sec; ^~ utempter.c:145:21: warning: conversion to 'int32_t {aka int}' from '__suseconds_t {aka long int}' may alter its value [-Wconversion] ut.ut_tv.tv_usec = tv.tv_usec; ^~ /usr/bin/ld: total time in link: 0.928000 cc -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 -std=gnu99 -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -DLIBEXECDIR=\"/usr/libexec\" -c -fPIC iface.c -o iface.os cc -shared \ -Wl,-soname,libutempter.so.0,--version-script=libutempter.map,-z,relro,-z,defs,-stats \ -lc iface.os -o libutempter.so /usr/bin/ld: total time in link: 0.568000 cc -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 -std=gnu99 -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -DLIBEXECDIR=\"/usr/libexec\" -c -o iface.o iface.c ar rv libutempter.a iface.o ar: creating libutempter.a a - iface.o ranlib libutempter.a + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nffw9l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64 + cd libutempter-1.1.6 + make install DESTDIR=/builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64 libdir=/usr/lib64 libexecdir=/usr/libexec mkdir -p /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/lib64 /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/libexec/utempter \ /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/include /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/share/man/man3 install -p -m2711 utempter /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/libexec/utempter/ install -p -m644 utempter.h /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/include/ install -p -m755 libutempter.so /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/lib64/libutempter.so.1.1.6 install -p -m644 libutempter.a /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/lib64/ ln -s libutempter.so.1.1.6 /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/lib64/libutempter.so.0 ln -s libutempter.so.0 /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/lib64/libutempter.so install -p -m644 utempter.3 /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/share/man/man3/ for n in libutempter utempter_add_record utempter_remove_record \ utempter_remove_added_record utempter_set_helper; do \ ln -s utempter.3 /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/share/man/man3/$n.3; \ done + rm -f /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/lib64/libutempter.a + /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: libutempter-1.1.6-11.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jmqlmV + umask 022 + cd /builddir/build/BUILD + cd libutempter-1.1.6 + DOCDIR=/builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/share/doc/libutempter + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/share/doc/libutempter + cp -pr README /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/share/doc/libutempter + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.V6QlnQ + umask 022 + cd /builddir/build/BUILD + cd libutempter-1.1.6 + LICENSEDIR=/builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/share/licenses/libutempter + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/share/licenses/libutempter + cp -pr COPYING /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64/usr/share/licenses/libutempter + exit 0 Provides: libutempter = 1.1.6-11.fc28 libutempter(riscv-64) = 1.1.6-11.fc28 libutempter.so.0()(64bit) libutempter.so.0(UTEMPTER_1.1)(64bit) utempter = 0.5.2 Requires(interp): /bin/sh /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /sbin/ldconfig /sbin/ldconfig Requires(postun): /sbin/ldconfig /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) rtld(GNU_HASH) Processing files: libutempter-devel-1.1.6-11.fc28.riscv64 Provides: libutempter-devel = 1.1.6-11.fc28 libutempter-devel(riscv-64) = 1.1.6-11.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libutempter.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libutempter-1.1.6-11.fc28.riscv64 Wrote: /builddir/build/SRPMS/libutempter-1.1.6-11.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libutempter-1.1.6-11.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libutempter-devel-1.1.6-11.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UvEZeF + umask 022 + cd /builddir/build/BUILD + cd libutempter-1.1.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libutempter-1.1.6-11.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