+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/wmacpi.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.769TUg
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf wmacpi-2.2rc5
+ /usr/bin/bzip2 -dc /builddir/build/SOURCES/wmacpi-2.2rc5.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd wmacpi-2.2rc5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p7qQfH
+ umask 022
+ cd /builddir/build/BUILD
+ cd wmacpi-2.2rc5
+ 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  -ansi' 'LDFLAGS=-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  -lX11 -ldockapp' -j4
gcc -MM -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  -ansi libacpi.c > libacpi.d
gcc -MM -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  -ansi acpi.c > acpi.d
gcc -MM -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  -ansi wmacpi.c > wmacpi.d
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  -ansi   -c -o wmacpi.o wmacpi.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  -ansi   -c -o libacpi.o libacpi.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  -ansi   -c -o acpi.o acpi.c
libacpi.c: In function 'procfs_get_battery_info':
libacpi.c:582:9: warning: variable 'buflen' set but not used [-Wunused-but-set-variable]
     int buflen;
         ^~~~~~
libacpi.c: In function 'power_init':
libacpi.c:339:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
     fread(buf, 4096, 1, acpi);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
libacpi.c: In function 'procfs_get_power_status':
libacpi.c:434:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
     fgets(buf, 1024, file);
     ^~~~~~~~~~~~~~~~~~~~~~
gcc -o wmacpi wmacpi.o libacpi.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  -lX11 -ldockapp
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  -lX11 -ldockapp -o acpi acpi.o libacpi.o
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cStkuq
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64
+ cd wmacpi-2.2rc5
+ rm -rf /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64/usr/bin
+ /usr/bin/install /builddir/build/BUILD/wmacpi-2.2rc5/wmacpi /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64/usr/bin
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64/usr/share/man/man1
+ /usr/bin/install -m644 -p wmacpi.1 /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.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: /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: wmacpi-2.2-0.19.rc5.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7RAuzi
+ umask 022
+ cd /builddir/build/BUILD
+ cd wmacpi-2.2rc5
+ DOCDIR=/builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64/usr/share/doc/wmacpi
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64/usr/share/doc/wmacpi
+ cp -pr AUTHORS /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64/usr/share/doc/wmacpi
+ cp -pr COPYING /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64/usr/share/doc/wmacpi
+ cp -pr README /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64/usr/share/doc/wmacpi
+ cp -pr ChangeLog /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64/usr/share/doc/wmacpi
+ exit 0
Provides: wmacpi = 2.2-0.19.rc5.fc28 wmacpi(riscv-64) = 2.2-0.19.rc5.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) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdockapp.so.2()(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.fc28.riscv64
Wrote: /builddir/build/SRPMS/wmacpi-2.2-0.19.rc5.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/wmacpi-2.2-0.19.rc5.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.x1UUsG
+ umask 022
+ cd /builddir/build/BUILD
+ cd wmacpi-2.2rc5
+ rm -rf /builddir/build/BUILDROOT/wmacpi-2.2-0.19.rc5.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