+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/most.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.KdChkw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf most-5.0.0a + /usr/bin/bzip2 -dc /builddir/build/SOURCES/most-5.0.0a.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd most-5.0.0a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (bz1230278.patch):' Patch #0 (bz1230278.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/keyparse.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BBLlZY + umask 022 + cd /builddir/build/BUILD + cd most-5.0.0a + sed -i 's!s\%@RPATH@\%.*!s\%@RPATH@\%\%g!' configure + sed -i 's|/usr/lib|/usr/lib64|g' configure + chmod +x configure + 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 ./autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autoconf/config.sub ++ basename ./autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autoconf/config.guess ++ basename ./autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './autoconf/config.guess' + '[' 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 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for library containing strerror... none required checking for AIX... no checking C compiler that understands ANSI prototypes... gcc looks ok. Good. checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlopen in -ldl... yes checking for X... no checking if you want to use mmap if available... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for memory.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for mode_t... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for float... yes checking size of float... 4 checking for double... yes checking size of double... 8 checking for long long... yes checking for long long... (cached) yes checking size of long long... 8 checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for off_t... yes checking for off_t... (cached) yes checking size of off_t... 8 checking for memset... yes checking for memcpy... yes checking for putenv... yes checking for getcwd... yes checking for mmap... yes checking for snprintf... yes checking for getpgrp... yes checking for tcgetpgrp... yes checking for Terminfo... yes checking for the slang library and header files ... yes: /usr/lib64 and /usr/include configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/sysconf.h + make -j4 cd src; make all make[1]: Entering directory '/builddir/build/BUILD/most-5.0.0a/src' mkdir /builddir/build/BUILD/most-5.0.0a/src/objs /bin/cp /builddir/build/BUILD/most-5.0.0a/src/sysconf.h config.h cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/chkslang.c cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/buffer.c cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/cmd.c cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/display.c cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/edit.c cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/file.c cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/help.c cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/keym.c /builddir/build/BUILD/most-5.0.0a/src/file.c: In function 'expand_path': /builddir/build/BUILD/most-5.0.0a/src/file.c:741:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(Most_C_Dir); ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/most-5.0.0a/src/file.c: In function 'most_get_cdir': /builddir/build/BUILD/most-5.0.0a/src/file.c:833:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(dir, MAX_PATHLEN); ^~~~~~~~~~~~~~~~~~~~~~~~ cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/keyparse.c cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/line.c cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/main.c if [ -x /builddir/bin/update_changes_version ]; then \ /builddir/bin/update_changes_version /builddir/build/BUILD/most-5.0.0a/src/../changes.txt /builddir/build/BUILD/most-5.0.0a/src/version.h; \ fi cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/search.c cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/sysdep.c cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/window.c gcc /builddir/build/BUILD/most-5.0.0a/src/objs/chkslang.o -o /builddir/build/BUILD/most-5.0.0a/src/objs/chkslang cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc -c -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 -Dunix -DMOST_SYSTEM_INITFILE='"/etc/most.conf"' /builddir/build/BUILD/most-5.0.0a/src/most.c /builddir/build/BUILD/most-5.0.0a/src/window.c: In function 'most_split_window': /builddir/build/BUILD/most-5.0.0a/src/window.c:701:28: warning: variable 'old' set but not used [-Wunused-but-set-variable] Most_Window_Type *new, *old; ^~~ /builddir/build/BUILD/most-5.0.0a/src/window.c: In function 'delete_as_top_window': /builddir/build/BUILD/most-5.0.0a/src/window.c:877:17: warning: variable 'b2' set but not used [-Wunused-but-set-variable] int t1,t2,b1,b2; ^~ /builddir/build/BUILD/most-5.0.0a/src/window.c:877:14: warning: variable 'b1' set but not used [-Wunused-but-set-variable] int t1,t2,b1,b2; ^~ /builddir/build/BUILD/most-5.0.0a/src/window.c:877:11: warning: variable 't2' set but not used [-Wunused-but-set-variable] int t1,t2,b1,b2; ^~ /builddir/build/BUILD/most-5.0.0a/src/window.c: In function 'most_delete_window': /builddir/build/BUILD/most-5.0.0a/src/window.c:938:15: warning: variable 'old_b' set but not used [-Wunused-but-set-variable] int new_b, old_b; ^~~~~ /builddir/build/BUILD/most-5.0.0a/src/objs/chkslang most 20000 /builddir/build/BUILD/most-5.0.0a/src/most.c: In function 'do_most': /builddir/build/BUILD/most-5.0.0a/src/most.c:352:8: warning: variable 'piped' set but not used [-Wunused-but-set-variable] int piped; ^~~~~ /builddir/build/BUILD/most-5.0.0a/src/most.c: In function 'most': /builddir/build/BUILD/most-5.0.0a/src/most.c:425:18: warning: variable 'context' set but not used [-Wunused-but-set-variable] unsigned long context; ^~~~~~~ /builddir/build/BUILD/most-5.0.0a/src/most.c:424:33: warning: variable 'a_opt' set but not used [-Wunused-but-set-variable] int file_i = 0, quit,i,piped,a_opt; ^~~~~ cd /builddir/build/BUILD/most-5.0.0a/src/objs; gcc buffer.o cmd.o display.o edit.o file.o help.o keym.o keyparse.o line.o main.o most.o search.o sysdep.o window.o -o most -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lslang -lm most created in /builddir/build/BUILD/most-5.0.0a/src/objs make[1]: Leaving directory '/builddir/build/BUILD/most-5.0.0a/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gKKi8e + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64 + cd most-5.0.0a + install -D -m0755 src/objs/most /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/bin/most + install -D -m0644 most.1 /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/man/man1/most.1 + /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: most-5.0.0-16.a.1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FAdJr9 + umask 022 + cd /builddir/build/BUILD + cd most-5.0.0a + DOCDIR=/builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/doc/most + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/doc/most + cp -pr README /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/doc/most + cp -pr changes.txt /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/doc/most + cp -pr most.doc /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/doc/most + cp -pr most-fun.txt /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/doc/most + cp -pr lesskeys.rc /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/doc/most + cp -pr most.rc /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/doc/most + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.puih8K + umask 022 + cd /builddir/build/BUILD + cd most-5.0.0a + LICENSEDIR=/builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/licenses/most + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/licenses/most + cp -pr COPYRIGHT /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64/usr/share/licenses/most + exit 0 Provides: most = 5.0.0-16.a.1.fc28 most(riscv-64) = 5.0.0-16.a.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) libm.so.6()(64bit) libslang.so.2()(64bit) libslang.so.2(SLANG2)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/most-5.0.0-16.a.1.fc28.riscv64 Wrote: /builddir/build/SRPMS/most-5.0.0-16.a.1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/most-5.0.0-16.a.1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.idYcKt + umask 022 + cd /builddir/build/BUILD + cd most-5.0.0a + /usr/bin/rm -rf /builddir/build/BUILDROOT/most-5.0.0-16.a.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