+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/uperf.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.e8tmGA
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf uperf-1.0.5
+ /usr/bin/gzip -dc /builddir/build/SOURCES/uperf-1.0.5.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd uperf-1.0.5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ find src -type f -print0
+ xargs --null chmod 0644
+ find workloads -type f -print0
+ xargs --null chmod 0644
+ chmod 0644 AUTHORS ChangeLog COPYING README
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0vAYdb
+ umask 022
+ cd /builddir/build/BUILD
+ cd uperf-1.0.5
+ 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-cpc --enable-netstat --enable-udp --enable-sctp --enable-ssl
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for riscv64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for gcc option to accept ISO C99... none needed
checking for riscv64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking whether make sets $(MAKE)... (cached) yes
configure: *** Setting flags for gcc ***
configure: *** Linux Machine ***
checking for hrtime_t... no
checking for uint64_t... yes
checking for uint32_t... yes
checking if we can use getrusage... yes
checking BSWAP_ macros... no
checking sendfilev... no
checking if we can have working PTHREAD_PROCESS_SHARED... yes
checking whether to enable cpu performance counters support?... yes
checking for cpc_open in -lcpc... no
checking for cpc_version in -lcpc... no
checking for kstat_open in -lkstat... no
checking whether to enable netstat support... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking atomic.h usability... no
checking atomic.h presence... no
checking for atomic.h... no
checking siginfo.h usability... no
checking siginfo.h presence... no
checking for siginfo.h... no
checking sys/int_limits.h usability... no
checking sys/int_limits.h presence... no
checking for sys/int_limits.h... no
checking sys/lwp.h usability... no
checking sys/lwp.h presence... no
checking for sys/lwp.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/varargs.h usability... no
checking sys/varargs.h presence... no
checking for sys/varargs.h... no
checking for stdint.h... (cached) yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/ttycom.h usability... no
checking sys/ttycom.h presence... no
checking for sys/ttycom.h... no
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking for sys/types.h... (cached) yes
checking linux/unistd.h usability... yes
checking linux/unistd.h presence... yes
checking for linux/unistd.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for nanosleep... yes
checking for pthread_self... yes
checking for _lwp_self... no
checking for strncpy... yes
checking for strncat... yes
checking for strlcpy... no
checking for strlcat... no
checking for gethrvtime... no
checking for gethrtime... no
checking for clock_gettime... yes
checking whether to enable debug mode... no
checking whether to enable udp support... yes
checking whether to enable rds support... no
checking whether to enable sctp support... yes
checking for sctp_sendv... no
checking for sctp_sendv in -lsctp... no
checking for sctp_sendmsg... no
checking for sctp_sendmsg in -lsctp... yes
checking whether to enable ssl support... yes
checking for SSL_CTX_new in -lssl... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating workloads/Makefile
config.status: creating config.h
config.status: executing depfiles commands
CC=gcc
 
 
+------------------------------------------------+
| Will build combined binary (master + slave)    |
+------------------------------------------------+
| Supported Protocols:                           |
|                 TCP:  yes                      |
|                 UDP:  yes                      |
|                 RDS:   no                      |
|                 SSL:  yes                      |
|                SCTP:  yes                      |
+------------------------------------------------+
|Network stats collection enabled?:           yes|
|        CPU Performance counters?: Not supported|
+------------------------------------------------+
+ make -j4
make  all-recursive
make[1]: Entering directory '/builddir/build/BUILD/uperf-1.0.5'
Making all in workloads
make[2]: Entering directory '/builddir/build/BUILD/uperf-1.0.5/workloads'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5/workloads'
Making all in src
make[2]: Entering directory '/builddir/build/BUILD/uperf-1.0.5/src'
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o workorder.o workorder.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o strand.o strand.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o execute.o execute.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o flowops_library.o flowops_library.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o flowops.o flowops.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o common.o common.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o main.o main.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o slave.o slave.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o stats.o stats.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o handshake.o handshake.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o parse.o parse.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o shm.o shm.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o master.o master.c
parse.c:333:1: warning: 'print_workorder_t' defined but not used [-Wunused-function]
 print_workorder_t(workorder_t *w) {
 ^~~~~~~~~~~~~~~~~
parse.c:280:1: warning: 'print_symbols' defined but not used [-Wunused-function]
 print_symbols(struct symbol *list) {
 ^~~~~~~~~~~~~
handshake.c: In function 'slave_handshake':
handshake.c:453:56: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 75 [-Wformat-truncation=]
   "Version %s is incompatible with master data version %s",
                                                        ^~
     UPERF_DATA_VERSION, hsp1.version);
                         ~~~~                            
In file included from /usr/include/stdio.h:862:0,
                 from handshake.c:28:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 54 and 181 bytes into a destination of size 128
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
master.c: In function 'send_command_to_slaves':
master.c:211:38: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 90 and 100 [-Wformat-truncation=]
        "Could not send command %d to %s:%d ",
                                      ^~
In file included from /usr/include/stdio.h:862:0,
                 from master.c:33:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 32 and 307 bytes into a destination of size 128
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o print.o print.c
master.c: In function 'say_goodbye':
master.c:90:14: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 254 and 509 [-Wformat-truncation=]
        "[%s] %s", p->host, g.message);
              ^~            ~
In file included from /usr/include/stdio.h:862:0,
                 from master.c:33:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 4 and 770 bytes into a destination of size 512
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
master.c:97:14: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 254 and 509 [-Wformat-truncation=]
        "[%s] %s", p->host, g.message);
              ^~            ~
In file included from /usr/include/stdio.h:862:0,
                 from master.c:33:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 4 and 770 bytes into a destination of size 512
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
master.c:102:14: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 254 and 509 [-Wformat-truncation=]
        "[%s] %s\n", p->host, g.message);
              ^~              ~
In file included from /usr/include/stdio.h:862:0,
                 from master.c:33:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 771 bytes into a destination of size 512
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o signals.o signals.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o goodbye.o goodbye.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o delay.o delay.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o rate.o rate.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o sendfilev.o sendfilev.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o logging.o logging.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o netstat.o netstat.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o numbers.o numbers.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o sync.o sync.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o protocol.o protocol.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o tcp.o tcp.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o generic.o generic.c
numbers.c: In function 'adaptive_print_time':
numbers.c:223:53: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
   (void) snprintf(format, sizeof(format), "%%%d.%dfs", acutal_width, 2);
                                                     ^
In file included from /usr/include/stdio.h:862:0,
                 from numbers.c:23:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 17 bytes into a destination of size 16
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
numbers.c:227:54: warning: 'cs' directive output may be truncated writing 2 bytes into a region of size between 0 and 10 [-Wformat-truncation=]
   (void) snprintf(format, sizeof(format), "%%%d.%df%%cs", acutal_width, 2);
                                                      ^~
In file included from /usr/include/stdio.h:862:0,
                 from numbers.c:23:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 9 and 19 bytes into a destination of size 16
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o sctp.o sctp.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o ssl.o ssl.c
gcc -DHAVE_CONFIG_H -I. -I..     -D_GNU_SOURCE -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  -O2 -D_REENTRANT -c -o udp.o udp.c
udp.c: In function 'protocol_udp_listen':
udp.c:234:7: warning: unused variable 'hostname' [-Wunused-variable]
  char hostname[NI_MAXHOST];
       ^~~~~~~~
ssl.c: In function 'file_present':
ssl.c:132:32: warning: implicit declaration of function 'strerror'; did you mean 'hstrerror'? [-Wimplicit-function-declaration]
   printf("stat:%s:%s\n", file, strerror(errno));
                                ^~~~~~~~
                                hstrerror
ssl.c:132:20: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=]
   printf("stat:%s:%s\n", file, strerror(errno));
                   ~^           ~~~~~~~~~~~~~~~
                   %d
ssl.c:130:6: warning: unused variable 'err' [-Wunused-variable]
  int err;
      ^~~
In file included from workorder.h:23:0,
                 from ssl.c:44:
ssl.c: In function 'protocol_ssl_accept':
uperf.h:147:18: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration]
 #define strlcpy  strncpy
                  ^
ssl.c:242:3: note: in expansion of macro 'strlcpy'
   strlcpy(newp->host, hostname, sizeof (newp->host));
   ^~~~~~~
uperf.h:147:18: warning: incompatible implicit declaration of built-in function 'strncpy'
 #define strlcpy  strncpy
                  ^
ssl.c:242:3: note: in expansion of macro 'strlcpy'
   strlcpy(newp->host, hostname, sizeof (newp->host));
   ^~~~~~~
uperf.h:147:18: note: include '<string.h>' or provide a declaration of 'strncpy'
 #define strlcpy  strncpy
                  ^
ssl.c:242:3: note: in expansion of macro 'strlcpy'
   strlcpy(newp->host, hostname, sizeof (newp->host));
   ^~~~~~~
ssl.c:223:18: warning: unused variable 'name' [-Wunused-variable]
  struct sockaddr name;
                  ^~~~
ssl.c:221:17: warning: unused variable 'ssl_p' [-Wunused-variable]
  ssl_private_t *ssl_p = (ssl_private_t *) p->_protocol_p;
                 ^~~~~
ssl.c: In function 'protocol_ssl_connect':
ssl.c:282:25: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  if (flowop_options && (strcmp(flowop_options->engine, ""))) {
                         ^~~~~~
ssl.c: In function 'protocol_ssl_read':
ssl.c:350:20: warning: unused variable 'flowop_options' [-Wunused-variable]
  flowop_options_t *flowop_options = (flowop_options_t *) options;
                    ^~~~~~~~~~~~~~
ssl.c:349:8: warning: unused variable 'host' [-Wunused-variable]
  char *host = p->host[0] == '\0' ? p->host : "Unknown";
        ^~~~
ssl.c:347:6: warning: unused variable 'status' [-Wunused-variable]
  int status = 1;
      ^~~~~~
ssl.c:346:6: warning: unused variable 'bufsize' [-Wunused-variable]
  int bufsize = size * 10;
      ^~~~~~~
ssl.c:345:6: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
ssl.c: In function 'protocol_ssl_write':
ssl.c:366:20: warning: unused variable 'flowop_options' [-Wunused-variable]
  flowop_options_t *flowop_options = (flowop_options_t *) options;
                    ^~~~~~~~~~~~~~
ssl.c:365:6: warning: unused variable 'bufsize' [-Wunused-variable]
  int bufsize = size * 10;
      ^~~~~~~
ssl.c:364:6: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
ssl.c:363:6: warning: unused variable 'status' [-Wunused-variable]
  int status = 1;
      ^~~~~~
ssl.c:362:8: warning: unused variable 'host' [-Wunused-variable]
  char *host = p->host[0] == '\0' ? p->host : "Unknown";
        ^~~~
ssl.c: In function 'initialize_ctx':
ssl.c:393:24: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]
  if (method != NULL && strcasecmp(method, "tls") == 0) {
                        ^~~~~~~~~~
ssl.c:394:3: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations]
   meth = TLSv1_method();
   ^~~~
In file included from /usr/include/openssl/ct.h:13:0,
                 from /usr/include/openssl/ssl.h:61,
                 from ssl.c:38:
/usr/include/openssl/ssl.h:1629:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
 ^
ssl.c: In function 'pwd_cb':
ssl.c:425:12: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  if (num < strlen(pass) + 1) {
            ^~~~~~
ssl.c:425:12: warning: incompatible implicit declaration of built-in function 'strlen'
ssl.c:425:12: note: include '<string.h>' or provide a declaration of 'strlen'
ssl.c:428:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
  strcpy(buf, pass);
  ^~~~~~
ssl.c:428:2: warning: incompatible implicit declaration of built-in function 'strcpy'
ssl.c:428:2: note: include '<string.h>' or provide a declaration of 'strcpy'
ssl.c:429:10: warning: incompatible implicit declaration of built-in function 'strlen'
  return (strlen(pass));
          ^~~~~~
ssl.c:429:10: note: include '<string.h>' or provide a declaration of 'strlen'
ssl.c: In function 'protocol_ssl_create':
ssl.c:482:6: warning: incompatible implicit declaration of built-in function 'strlen'
  if (strlen(host) == 0) {
      ^~~~~~
ssl.c:482:6: note: include '<string.h>' or provide a declaration of 'strlen'
In file included from workorder.h:23:0,
                 from ssl.c:44:
uperf.h:147:18: warning: incompatible implicit declaration of built-in function 'strncpy'
 #define strlcpy  strncpy
                  ^
ssl.c:483:10: note: in expansion of macro 'strlcpy'
   (void) strlcpy(newp->host, "lOcAlHoSt", MAXHOSTNAME);
          ^~~~~~~
uperf.h:147:18: note: include '<string.h>' or provide a declaration of 'strncpy'
 #define strlcpy  strncpy
                  ^
ssl.c:483:10: note: in expansion of macro 'strlcpy'
   (void) strlcpy(newp->host, "lOcAlHoSt", MAXHOSTNAME);
          ^~~~~~~
uperf.h:147:18: warning: incompatible implicit declaration of built-in function 'strncpy'
 #define strlcpy  strncpy
                  ^
ssl.c:485:10: note: in expansion of macro 'strlcpy'
   (void) strlcpy(newp->host, host, MAXHOSTNAME);
          ^~~~~~~
uperf.h:147:18: note: include '<string.h>' or provide a declaration of 'strncpy'
 #define strlcpy  strncpy
                  ^
ssl.c:485:10: note: in expansion of macro 'strlcpy'
   (void) strlcpy(newp->host, host, MAXHOSTNAME);
          ^~~~~~~
ssl.c: In function 'ssl_fini':
ssl.c:495:17: warning: unused variable 'ssl_p' [-Wunused-variable]
  ssl_private_t *ssl_p = (ssl_private_t *) p->_protocol_p;
                 ^~~~~
At top level:
ssl.c:91:1: warning: 'id_function' defined but not used [-Wunused-function]
 id_function(void)
 ^~~~~~~~~~~
ssl.c:81:1: warning: 'locking_function' defined but not used [-Wunused-function]
 locking_function(int mode, int n, char *file, int line)
 ^~~~~~~~~~~~~~~~
gcc  -D_GNU_SOURCE -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  -O2 -D_REENTRANT  -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o uperf workorder.o strand.o execute.o flowops_library.o flowops.o common.o main.o slave.o stats.o handshake.o parse.o shm.o master.o print.o signals.o goodbye.o delay.o rate.o sendfilev.o logging.o netstat.o numbers.o sync.o protocol.o tcp.o generic.o  sctp.o ssl.o udp.o  -lrt -lm -lpthread -lsctp -lcrypto -lssl -lssl  -lrt -lm -lpthread
make[2]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5/src'
Making all in tests
make[2]: Entering directory '/builddir/build/BUILD/uperf-1.0.5/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5/tests'
make[2]: Entering directory '/builddir/build/BUILD/uperf-1.0.5'
make[2]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5'
make[1]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WCkcTJ
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64
+ cd uperf-1.0.5
+ make install DESTDIR=/builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64
Making install in workloads
make[1]: Entering directory '/builddir/build/BUILD/uperf-1.0.5/workloads'
make[2]: Entering directory '/builddir/build/BUILD/uperf-1.0.5/workloads'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share'
 /usr/bin/install -c -m 644 connect.xml iperf.xml ldap.xml netperf.xml oltpnet.xml oraclerac.xml sctp.xml specweb.xml ssl.xml telnet.xml two-hosts.xml '/builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share'
make[2]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5/workloads'
make[1]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5/workloads'
Making install in src
make[1]: Entering directory '/builddir/build/BUILD/uperf-1.0.5/src'
make[2]: Entering directory '/builddir/build/BUILD/uperf-1.0.5/src'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/bin'
  /usr/bin/install -c uperf '/builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5/src'
make[1]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5/src'
Making install in tests
make[1]: Entering directory '/builddir/build/BUILD/uperf-1.0.5/tests'
make[2]: Entering directory '/builddir/build/BUILD/uperf-1.0.5/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5/tests'
make[1]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5/tests'
make[1]: Entering directory '/builddir/build/BUILD/uperf-1.0.5'
make[2]: Entering directory '/builddir/build/BUILD/uperf-1.0.5'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5'
make[1]: Leaving directory '/builddir/build/BUILD/uperf-1.0.5'
+ install -d -m 0755 /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/uperf
+ install -p -m 0644 /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/connect.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/iperf.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/ldap.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/netperf.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/oltpnet.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/oraclerac.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/sctp.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/specweb.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/ssl.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/telnet.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/two-hosts.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/uperf
+ rm -rf /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/connect.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/iperf.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/ldap.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/netperf.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/oltpnet.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/oraclerac.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/sctp.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/specweb.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/ssl.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/telnet.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/two-hosts.xml /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/doc
+ /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: uperf-1.0.5-1.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3JwXF6
+ umask 022
+ cd /builddir/build/BUILD
+ cd uperf-1.0.5
+ DOCDIR=/builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/doc/uperf
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/doc/uperf
+ cp -pr AUTHORS /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/doc/uperf
+ cp -pr ChangeLog /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/doc/uperf
+ cp -pr README /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/doc/uperf
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.AUzo76
+ umask 022
+ cd /builddir/build/BUILD
+ cd uperf-1.0.5
+ LICENSEDIR=/builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/licenses/uperf
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/licenses/uperf
+ cp -pr COPYING /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64/usr/share/licenses/uperf
+ exit 0
Provides: uperf = 1.0.5-1.fc28 uperf(riscv-64) = 1.0.5-1.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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) librt.so.1()(64bit) libsctp.so.1()(64bit) libsctp.so.1(VERS_1)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/uperf-1.0.5-1.fc28.riscv64
Wrote: /builddir/build/SRPMS/uperf-1.0.5-1.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/uperf-1.0.5-1.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.X86mk8
+ umask 022
+ cd /builddir/build/BUILD
+ cd uperf-1.0.5
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/uperf-1.0.5-1.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