+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/beanstalkd.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.0SQVxV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf beanstalkd-1.10 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd beanstalkd-1.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (beanstalkd-1.10-warnings.patch):' Patch #1 (beanstalkd-1.10-warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ct/ct.c + echo 'Patch #2 (beanstalkd-1.10-mkdtemp.patch):' Patch #2 (beanstalkd-1.10-mkdtemp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ct/ct.c Hunk #1 succeeded at 184 (offset 2 lines). Hunk #2 succeeded at 287 (offset 2 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bmKiML + umask 022 + cd /builddir/build/BUILD + cd beanstalkd-1.10 + make 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '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 ' -j4 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 -c -o linux.o linux.c 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 -c -o conn.o conn.c 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 -c -o file.o file.c 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 -c -o heap.o heap.c file.c: In function 'filewclose': file.c:536:9: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] (void)ftruncate(f->fd, f->w->filesize - f->free); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -c -o job.o job.c 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 -c -o ms.o ms.c 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 -c -o net.o net.c 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 -c -o primes.o primes.c 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 -c -o prot.o prot.c 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 -c -o sd-daemon.o sd-daemon.c 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 -c -o serv.o serv.c 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 -c -o time.o time.c 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 -c -o tube.o tube.c 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 -c -o util.o util.c ./verc.sh >vers.c 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 -c -o walg.o walg.c 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 -c -o main.o main.c 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 -c -o vers.o vers.c cc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o beanstalkd linux.o conn.o file.o heap.o job.o ms.o net.o primes.o prot.o sd-daemon.o serv.o time.o tube.o util.o vers.o walg.o main.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.biPAF3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64 + cd beanstalkd-1.10 + rm -rf /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64 + make install PREFIX=/builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/usr install -d /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/usr/bin install beanstalkd /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/usr/bin/beanstalkd + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/beanstalkd.service /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/usr/lib/systemd/system/beanstalkd.service + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/beanstalkd.sysconfig /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/etc/sysconfig/beanstalkd + /usr/bin/install -d -m 0755 /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/var/lib/beanstalkd + /usr/bin/install -d -m 0755 /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/var/lib/beanstalkd/binlog + /usr/bin/install -d -m 00755 /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/usr/share/man/man1 + /usr/bin/gzip doc/beanstalkd.1 + /usr/bin/install -p -m 0644 doc/beanstalkd.1.gz /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/usr/share/man/man1/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/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: beanstalkd-1.10-5.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QHXAwd + umask 022 + cd /builddir/build/BUILD + cd beanstalkd-1.10 + DOCDIR=/builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/usr/share/doc/beanstalkd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/usr/share/doc/beanstalkd + cp -pr README /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/usr/share/doc/beanstalkd + cp -pr LICENSE /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/usr/share/doc/beanstalkd + cp -pr doc/protocol.txt /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64/usr/share/doc/beanstalkd + exit 0 Provides: beanstalkd = 1.10-5.fc28 beanstalkd(riscv-64) = 1.10-5.fc28 config(beanstalkd) = 1.10-5.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh 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): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/beanstalkd-1.10-5.fc28.riscv64 Wrote: /builddir/build/SRPMS/beanstalkd-1.10-5.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/beanstalkd-1.10-5.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GY64CI + umask 022 + cd /builddir/build/BUILD + cd beanstalkd-1.10 + rm -rf /builddir/build/BUILDROOT/beanstalkd-1.10-5.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