+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/liblockfile.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.OyryjD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf liblockfile-1.09 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/liblockfile_1.09.orig.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd liblockfile-1.09 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/install -g root -m 755 dotlockfile $(ROOT)$(bindir);/install -m 755 dotlockfile $(ROOT)$(bindir);/' Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f5xaI2 + umask 022 + cd /builddir/build/BUILD + cd liblockfile-1.09 + 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 ' + export CFLAGS + CXXFLAGS='-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 ' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking build shared libs... yes checking build libnfslock... no checking for ldconfig... /usr/sbin/ldconfig checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for getopt.h... yes checking for paths.h... yes checking for sys/param.h... yes checking for utime... yes checking for utimes... yes updating cache ./config.cache creating ./config.status creating ./Makefile creating ./maillock.h creating autoconf.h + make -j4 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 -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLIB -DLOCKPROG=\"/usr/bin/dotlockfile\" \ -c lockfile.c 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 -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -c -o dotlockfile.o dotlockfile.c 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 -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -c lockfile.c -o xlockfile.o lockfile.c: In function 'lockfile_create_save_tmplock': lockfile.c:304:3: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] (void)link(tmplock, lockfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lockfile.c: In function 'lockfile_create_save_tmplock': lockfile.c:304:3: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] (void)link(tmplock, lockfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dotlockfile.c: In function 'main': dotlockfile.c:315:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(gid); ^~~~~~~~~~~ ar rv liblockfile.a lockfile.o ar: creating liblockfile.a a - lockfile.o gcc -fPIC -shared -Wl,-soname,liblockfile.so.1 \ -o liblockfile.so lockfile.o -lc gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dotlockfile dotlockfile.o xlockfile.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tMxeK6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64 + cd liblockfile-1.09 + rm -rf /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64//usr/include + mkdir -p /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64//usr/bin + mkdir -p /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64//usr/lib64 + mkdir -p /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64//usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64//usr/share/man/man3 + make ROOT=/builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64 install install -m 644 lockfile.h maillock.h /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/include if [ "" != "" ]; then\ install -g -m 2755 dotlockfile /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/bin;\ else \ install -m 755 dotlockfile /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/bin; \ fi install -m 644 *.1 /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/share/man/man1 install -m 644 *.3 /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/share/man/man3 install -m 755 liblockfile.so \ /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/lib64/liblockfile.so.1.0 ln -s liblockfile.so.1.0 /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/lib64/liblockfile.so if test "/builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64" = ""; then /usr/sbin/ldconfig; fi + ldconfig -N -n /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64//usr/lib64 + /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: liblockfile-1.09-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Xj6pRc + umask 022 + cd /builddir/build/BUILD + cd liblockfile-1.09 + DOCDIR=/builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/share/doc/liblockfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/share/doc/liblockfile + cp -pr README /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/share/doc/liblockfile + cp -pr COPYRIGHT /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/share/doc/liblockfile + cp -pr Changelog /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64/usr/share/doc/liblockfile + exit 0 Provides: liblockfile = 1.09-7.fc28 liblockfile(riscv-64) = 1.09-7.fc28 liblockfile.so.1()(64bit) 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) rtld(GNU_HASH) Processing files: liblockfile-devel-1.09-7.fc28.riscv64 Provides: liblockfile-devel = 1.09-7.fc28 liblockfile-devel(riscv-64) = 1.09-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: liblockfile.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/liblockfile-1.09-7.fc28.riscv64 Wrote: /builddir/build/SRPMS/liblockfile-1.09-7.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/liblockfile-1.09-7.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/liblockfile-devel-1.09-7.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UqkW3O + umask 022 + cd /builddir/build/BUILD + cd liblockfile-1.09 + /usr/bin/rm -rf /builddir/build/BUILDROOT/liblockfile-1.09-7.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