+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/lpsk31.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.Ml3gOf
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf lpsk31
+ /usr/bin/tar -xof -
+ /usr/bin/gzip -dc /builddir/build/SOURCES/lpsk31-1.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd lpsk31
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (lpsk31-1.1-makefile.patch):'
Patch #0 (lpsk31-1.1-makefile.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file Makefile
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1S9b9h
+ umask 022
+ cd /builddir/build/BUILD
+ cd lpsk31
+ make 'CC=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 ' -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     -c -o cat.o cat.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     -c -o lpsk31.o lpsk31.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     -c -o phase.o phase.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     -c -o pskcodec.o pskcodec.c
cat.c: In function 'Read_Rx_Status':
cat.c:100:27: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
    snprintf( freq, 4, "%3d", temp/10 );
                           ^
In file included from /usr/include/stdio.h:861:0,
                 from lpsk31.h:36,
                 from cat.c:25:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 5 bytes into a destination of size 4
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cat.c:106:24: warning: '%3d' directive output may be truncated writing between 3 and 5 bytes into a region of size 4 [-Wformat-truncation=]
    snprintf( freq, 4, "%3d", temp );
                        ^~~
cat.c:106:23: note: directive argument in the range [0, 16665]
    snprintf( freq, 4, "%3d", temp );
                       ^~~~~
In file included from /usr/include/stdio.h:861:0,
                 from lpsk31.h:36,
                 from cat.c:25:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 6 bytes into a destination of size 4
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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     -c -o screen.o screen.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     -c -o sound.o sound.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  -lform -lncurses -o lpsk31 cat.o lpsk31.o phase.o pskcodec.o screen.o sound.o
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fj54rI
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64
+ cd lpsk31
+ rm -rf /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64
+ install lpsk31 -D -p /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64/usr/libexec/lpsk31-bin
+ install -m 0755 -D -p /builddir/build/SOURCES/lpsk31-1.1-wrapper.in /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64/usr/bin/lpsk31
+ install -D -p -m 0644 default/lpsk31rc /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64/usr/share/lpsk31/lpsk31rc
+ /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: lpsk31-1.1-18.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AjpXrM
+ umask 022
+ cd /builddir/build/BUILD
+ cd lpsk31
+ DOCDIR=/builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64/usr/share/doc/lpsk31
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64/usr/share/doc/lpsk31
+ cp -pr AUTHORS /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64/usr/share/doc/lpsk31
+ cp -pr README /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64/usr/share/doc/lpsk31
+ cp -pr doc/lpsk31.html doc/p31g3plx.pdf /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64/usr/share/doc/lpsk31
+ exit 0
Provides: lpsk31 = 1.1-18.fc28 lpsk31(riscv-64) = 1.1-18.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/sh 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) libform.so.6()(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64
Wrote: /builddir/build/SRPMS/lpsk31-1.1-18.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/lpsk31-1.1-18.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mpGmUO
+ umask 022
+ cd /builddir/build/BUILD
+ cd lpsk31
+ rm -rf /builddir/build/BUILDROOT/lpsk31-1.1-18.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
++ sleep 5
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff