+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/cmockery2.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.PHfIPe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cmockery2-1.3.9 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/cmockery2-1.3.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cmockery2-1.3.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QGR4Em + umask 022 + cd /builddir/build/BUILD + cd cmockery2-1.3.9 + ./autogen.sh Running aclocal ... Running autoheader ... Running libtoolize ... Running autoconf ... Running automake ... configure.ac:19: installing './ar-lib' configure.ac:18: installing './compile' configure.ac:66: installing './config.guess' configure.ac:66: installing './config.sub' configure.ac:17: installing './install-sh' configure.ac:17: installing './missing' Makefile.am:48: warning: source file 'src/cmockery.c' is in a subdirectory, Makefile.am:48: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. Makefile.am:74: warning: source file 'src/example/allocate_module_test.c' is in a subdirectory, Makefile.am:74: but option 'subdir-objects' is disabled Makefile.am:74: warning: source file 'src/example/allocate_module.c' is in a subdirectory, Makefile.am:74: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/example/assert_macro_test.c' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/example/assert_macro.c' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:57: warning: source file 'src/example/calculator.c' is in a subdirectory, Makefile.am:57: but option 'subdir-objects' is disabled Makefile.am:66: warning: source file 'src/example/calculator_test.c' is in a subdirectory, Makefile.am:66: but option 'subdir-objects' is disabled Makefile.am:88: warning: source file 'src/example/customer_database_test.c' is in a subdirectory, Makefile.am:88: but option 'subdir-objects' is disabled Makefile.am:88: warning: source file 'src/example/customer_database.c' is in a subdirectory, Makefile.am:88: but option 'subdir-objects' is disabled Makefile.am:96: warning: source file 'src/example/key_value_test.c' is in a subdirectory, Makefile.am:96: but option 'subdir-objects' is disabled Makefile.am:96: warning: source file 'src/example/key_value.c' is in a subdirectory, Makefile.am:96: but option 'subdir-objects' is disabled Makefile.am:125: warning: source file 'src/example/mem_test.c' is in a subdirectory, Makefile.am:125: but option 'subdir-objects' is disabled Makefile.am:105: warning: source file 'src/example/product_database_test.c' is in a subdirectory, Makefile.am:105: but option 'subdir-objects' is disabled Makefile.am:105: warning: source file 'src/example/product_database.c' is in a subdirectory, Makefile.am:105: but option 'subdir-objects' is disabled Makefile.am:119: warning: source file 'src/example/realloc_test.c' is in a subdirectory, Makefile.am:119: but option 'subdir-objects' is disabled Makefile.am:113: warning: source file 'src/example/run_tests.c' is in a subdirectory, Makefile.am:113: but option 'subdir-objects' is disabled Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' + 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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 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 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking if compiling with clang... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking for setjmp... yes checking for longjmp... yes checking for strcmp... yes checking for strcpy... yes checking for memcpy... yes checking for memset... yes checking for malloc... yes checking for calloc... yes checking for free... yes checking for exit... yes checking for signal... yes checking for printf... yes checking for fprintf... yes checking for snprintf... yes checking for vsnprintf... yes checking for gettimeofday... yes checking for strsignal... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unsigned long long... yes checking for uintmax_t... yes checking for uintptr_t... yes checking for pkg-config... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating cmockery2.pc config.status: creating Makefile config.status: creating src/cmockery/config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -DHAVE_CONFIG_H -Wall -Werror -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 libcmockery_la-cmockery.lo `test -f 'src/cmockery.c' || echo './'`src/cmockery.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -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 calculator-calculator.o `test -f 'src/example/calculator.c' || echo './'`src/example/calculator.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 calculator_test-calculator_test.o `test -f 'src/example/calculator_test.c' || echo './'`src/example/calculator_test.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 calculator_test-calculator.o `test -f 'src/example/calculator.c' || echo './'`src/example/calculator.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -DHAVE_CONFIG_H -Wall -Werror -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 src/cmockery.c -fPIC -DPIC -o .libs/libcmockery_la-cmockery.o gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 allocate_module_test-allocate_module_test.o `test -f 'src/example/allocate_module_test.c' || echo './'`src/example/allocate_module_test.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 allocate_module_test-allocate_module.o `test -f 'src/example/allocate_module.c' || echo './'`src/example/allocate_module.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 assert_macro_test-assert_macro_test.o `test -f 'src/example/assert_macro_test.c' || echo './'`src/example/assert_macro_test.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 assert_macro_test-assert_macro.o `test -f 'src/example/assert_macro.c' || echo './'`src/example/assert_macro.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 customer_database_test-customer_database_test.o `test -f 'src/example/customer_database_test.c' || echo './'`src/example/customer_database_test.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 customer_database_test-customer_database.o `test -f 'src/example/customer_database.c' || echo './'`src/example/customer_database.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 key_value_test-key_value_test.o `test -f 'src/example/key_value_test.c' || echo './'`src/example/key_value_test.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 key_value_test-key_value.o `test -f 'src/example/key_value.c' || echo './'`src/example/key_value.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 product_database_test-product_database_test.o `test -f 'src/example/product_database_test.c' || echo './'`src/example/product_database_test.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 product_database_test-product_database.o `test -f 'src/example/product_database.c' || echo './'`src/example/product_database.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 run_tests-run_tests.o `test -f 'src/example/run_tests.c' || echo './'`src/example/run_tests.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 realloc_test-realloc_test.o `test -f 'src/example/realloc_test.c' || echo './'`src/example/realloc_test.c gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 mem_test-mem_test.o `test -f 'src/example/mem_test.c' || echo './'`src/example/mem_test.c /bin/sh ./libtool --tag=CC --mode=link 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 -o calculator calculator-calculator.o libtool: link: 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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o calculator calculator-calculator.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/cmockery -I./src -I./src/cmockery -I./src/cmockery -DHAVE_CONFIG_H -Wall -Werror -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 src/cmockery.c -o libcmockery_la-cmockery.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=link gcc -I./src/cmockery -DHAVE_CONFIG_H -Wall -Werror -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 -o libcmockery.la -rpath /usr/lib64 libcmockery_la-cmockery.lo libtool: link: gcc -shared -fPIC -DPIC .libs/libcmockery_la-cmockery.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-soname -Wl,libcmockery.so.0 -o .libs/libcmockery.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libcmockery.so.0" && ln -s "libcmockery.so.0.0.0" "libcmockery.so.0") libtool: link: (cd ".libs" && rm -f "libcmockery.so" && ln -s "libcmockery.so.0.0.0" "libcmockery.so") libtool: link: ar cru .libs/libcmockery.a libcmockery_la-cmockery.o libtool: link: ranlib .libs/libcmockery.a libtool: link: ( cd ".libs" && rm -f "libcmockery.la" && ln -s "../libcmockery.la" "libcmockery.la" ) /bin/sh ./libtool --tag=CC --mode=link gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -o calculator_test calculator_test-calculator_test.o calculator_test-calculator.o libcmockery.la /bin/sh ./libtool --tag=CC --mode=link gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -o allocate_module_test allocate_module_test-allocate_module_test.o allocate_module_test-allocate_module.o libcmockery.la /bin/sh ./libtool --tag=CC --mode=link gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -o assert_macro_test assert_macro_test-assert_macro_test.o assert_macro_test-assert_macro.o libcmockery.la /bin/sh ./libtool --tag=CC --mode=link gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -o customer_database_test customer_database_test-customer_database_test.o customer_database_test-customer_database.o libcmockery.la libtool: link: gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/assert_macro_test assert_macro_test-assert_macro_test.o assert_macro_test-assert_macro.o ./.libs/libcmockery.so libtool: link: gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/customer_database_test customer_database_test-customer_database_test.o customer_database_test-customer_database.o ./.libs/libcmockery.so libtool: link: gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/allocate_module_test allocate_module_test-allocate_module_test.o allocate_module_test-allocate_module.o ./.libs/libcmockery.so libtool: link: gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/calculator_test calculator_test-calculator_test.o calculator_test-calculator.o ./.libs/libcmockery.so /bin/sh ./libtool --tag=CC --mode=link gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -o key_value_test key_value_test-key_value_test.o key_value_test-key_value.o libcmockery.la /bin/sh ./libtool --tag=CC --mode=link gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -o product_database_test product_database_test-product_database_test.o product_database_test-product_database.o libcmockery.la /bin/sh ./libtool --tag=CC --mode=link gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -o run_tests run_tests-run_tests.o libcmockery.la /bin/sh ./libtool --tag=CC --mode=link gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -o realloc_test realloc_test-realloc_test.o libcmockery.la libtool: link: gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/key_value_test key_value_test-key_value_test.o key_value_test-key_value.o ./.libs/libcmockery.so libtool: link: gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/product_database_test product_database_test-product_database_test.o product_database_test-product_database.o ./.libs/libcmockery.so libtool: link: gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/run_tests run_tests-run_tests.o ./.libs/libcmockery.so libtool: link: gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/realloc_test realloc_test-realloc_test.o ./.libs/libcmockery.so /bin/sh ./libtool --tag=CC --mode=link gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -o mem_test mem_test-mem_test.o libcmockery.la libtool: link: gcc -I./src/cmockery -I./src/example -DUNIT_TESTING=1 -Wall -Werror -DHAVE_CONFIG_H -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 -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mem_test mem_test-mem_test.o ./.libs/libcmockery.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NIWkcU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64 + cd cmockery2-1.3.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/cmockery2-1.3.9' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -p libcmockery.la '/builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libcmockery.so.0.0.0 /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/lib64/libcmockery.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/lib64 && { ln -s -f libcmockery.so.0.0.0 libcmockery.so.0 || { rm -f libcmockery.so.0 && ln -s libcmockery.so.0.0.0 libcmockery.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/lib64 && { ln -s -f libcmockery.so.0.0.0 libcmockery.so || { rm -f libcmockery.so && ln -s libcmockery.so.0.0.0 libcmockery.so; }; }) libtool: install: /usr/bin/install -p .libs/libcmockery.lai /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/lib64/libcmockery.la libtool: install: /usr/bin/install -p .libs/libcmockery.a /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/lib64/libcmockery.a libtool: install: chmod 644 /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/lib64/libcmockery.a libtool: install: ranlib /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/lib64/libcmockery.a libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/include/cmockery' /usr/bin/install -p -m 644 src/cmockery/cmockery_override.h src/cmockery/cmockery.h src/cmockery/pbc.h '/builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/include/cmockery' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/share/doc/cmockery2-1.3.9' /usr/bin/install -p -m 644 AUTHORS COPYING ChangeLog doc/index.html doc/usage.md doc/coverage.md '/builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/share/doc/cmockery2-1.3.9' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 cmockery2.pc '/builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64/usr/lib64/pkgconfig' make[1]: Leaving directory '/builddir/build/BUILD/cmockery2-1.3.9' + /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 *** WARNING: ./usr/lib64/libcmockery.la is executable but has empty or no shebang, removing executable bit Processing files: cmockery2-1.3.9-6.fc28.riscv64 Provides: cmockery2 = 1.3.9-6.fc28 cmockery2(riscv-64) = 1.3.9-6.fc28 libcmockery.so.0()(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: cmockery2-devel-1.3.9-6.fc28.riscv64 Provides: cmockery2-devel = 1.3.9-6.fc28 cmockery2-devel(riscv-64) = 1.3.9-6.fc28 pkgconfig(cmockery2) = 1.3.9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libcmockery.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/cmockery2-1.3.9-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/cmockery2-1.3.9-6.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/cmockery2-devel-1.3.9-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qSaZK0 + umask 022 + cd /builddir/build/BUILD + cd cmockery2-1.3.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cmockery2-1.3.9-6.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff