+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/gmrun.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 warning: bogus date in %changelog: Tue Nov 16 2011 Gilboa Davara - 0.9.2-25 warning: bogus date in %changelog: Thu Mar 04 2008 Gilboa Davara - 0.9.2-15 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0HoBRl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gmrun-0.9.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/gmrun-0.9.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gmrun-0.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gmrun-gmrunrc.patch):' Patch #0 (gmrun-gmrunrc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gmrunrc --fuzz=0 patching file config/gmrunrc + echo 'Patch #1 (gmrun-0.9.2-gcc43.patch):' Patch #1 (gmrun-0.9.2-gcc43.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc43 --fuzz=0 patching file src/ci_string.h patching file src/gtkcompletionline.cc patching file src/main.cc patching file src/prefs.cc + echo 'Patch #2 (gmrun-0.9.2-mousewheel.patch):' Patch #2 (gmrun-0.9.2-mousewheel.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mousewheel --fuzz=0 patching file src/gtkcompletionline.cc + echo 'Patch #3 (gmrun-0.9.2-f12.patch):' Patch #3 (gmrun-0.9.2-f12.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .f12_support --fuzz=0 patching file src/gtkcompletionline.cc patching file src/gtkcompletionline.h + echo 'Patch #4 (gmrun-0.9.2-multihead.patch):' Patch #4 (gmrun-0.9.2-multihead.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .multihead --fuzz=0 patching file src/main.cc patching file config/gmrunrc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NJfo8m + umask 022 + cd /builddir/build/BUILD + cd gmrun-0.9.2 + 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 creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for strerror in -lcposix... no checking for gcc... gcc checking whether the C compiler (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) works... yes checking whether the C compiler (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) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for c++... c++ checking whether the C++ compiler (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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C++ compiler (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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for stlport libraries... no checking for stlport headers... no checking for poptGetContext... no checking for poptGetContext in -lpopt... yes checking for pkg-config... /usr/bin/pkg-config checking for glib-2.0 >= 2.0.4 gobject-2.0 >= 2.0.4 gthread-2.0 >= 2.0.4... yes checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread checking GLIB_LIBS... -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 checking for gtk+-2.0 >= 2.0.5... yes checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating config/Makefile creating gmrun.spec creating config.h + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/gmrun-0.9.2' Making all in src make[2]: Entering directory '/builddir/build/BUILD/gmrun-0.9.2/src' c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 gtkcompletionline.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 history.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 main.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 prefs.cc history.cc: In member function 'const char* HistoryFile::next()': history.cc:133:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_current >= history.size()) m_current = -1; ~~~~~~~~~~^~~~~~~~~~~~~~~~~ history.cc: In member function 'const char* HistoryFile::next_to_last()': history.cc:150:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_current < history.size()) { ~~~~~~~~~~^~~~~~~~~~~~~~~~ gtkcompletionline.cc: In function 'GtkType gtk_completion_line_get_type()': gtkcompletionline.cc:96:5: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] }; ^ gtkcompletionline.cc: In function 'int complete_common(GtkCompletionLine*)': gtkcompletionline.cc:455:10: warning: variable 'l' set but not used [-Wunused-but-set-variable] GList *l; ^ gtkcompletionline.cc: In function 'int parse_tilda(GtkCompletionLine*)': gtkcompletionline.cc:556:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (where != string::npos) { ~~~~~~^~~~~~~~~ gtkcompletionline.cc:559:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (where < text.size() - 1 && text[where + 1] != '/') { ~~~~~~^~~~~~~~~~~~~~~~~ main.cc: In function 'int main(int, char**)': main.cc:630:12: warning: variable 'geo_parsed' set but not used [-Wunused-but-set-variable] gboolean geo_parsed; ^~~~~~~~~~ main.cc:634:7: warning: variable 'option' set but not used [-Wunused-but-set-variable] int option; ^~~~~~ 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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gmrun gtkcompletionline.o history.o main.o prefs.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lpopt make[2]: Leaving directory '/builddir/build/BUILD/gmrun-0.9.2/src' Making all in config make[2]: Entering directory '/builddir/build/BUILD/gmrun-0.9.2/config' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/gmrun-0.9.2/config' make[2]: Entering directory '/builddir/build/BUILD/gmrun-0.9.2' make[2]: Leaving directory '/builddir/build/BUILD/gmrun-0.9.2' make[1]: Leaving directory '/builddir/build/BUILD/gmrun-0.9.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PdNn2t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64 + cd gmrun-0.9.2 + rm -rf /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/gmrun-0.9.2/src' make[2]: Entering directory '/builddir/build/BUILD/gmrun-0.9.2/src' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64 mkdir /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr mkdir /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/bin /usr/bin/install -p gmrun /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/bin/gmrun make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/gmrun-0.9.2/src' make[1]: Leaving directory '/builddir/build/BUILD/gmrun-0.9.2/src' Making install in config make[1]: Entering directory '/builddir/build/BUILD/gmrun-0.9.2/config' make[2]: Entering directory '/builddir/build/BUILD/gmrun-0.9.2/config' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/gmrun mkdir /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share mkdir /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/gmrun /usr/bin/install -p -m 644 ./gmrunrc /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/gmrun/gmrunrc make[2]: Leaving directory '/builddir/build/BUILD/gmrun-0.9.2/config' make[1]: Leaving directory '/builddir/build/BUILD/gmrun-0.9.2/config' make[1]: Entering directory '/builddir/build/BUILD/gmrun-0.9.2' make[2]: Entering directory '/builddir/build/BUILD/gmrun-0.9.2' make[2]: Nothing to be done for 'install-exec-am'. if test -d ./pixmaps; then \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/gmrun/pixmaps; \ for pixmap in ./pixmaps/*; do \ if test -f $pixmap; then \ /usr/bin/install -p -m 644 $pixmap /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/gmrun/pixmaps; \ fi \ done \ fi make[2]: Leaving directory '/builddir/build/BUILD/gmrun-0.9.2' make[1]: Leaving directory '/builddir/build/BUILD/gmrun-0.9.2' + /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: gmrun-0.9.2-38.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qWAdfx + umask 022 + cd /builddir/build/BUILD + cd gmrun-0.9.2 + DOCDIR=/builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/doc/gmrun + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/doc/gmrun + cp -pr ChangeLog /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/doc/gmrun + cp -pr AUTHORS /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/doc/gmrun + cp -pr COPYING /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/doc/gmrun + cp -pr README /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/doc/gmrun + cp -pr NEWS /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64/usr/share/doc/gmrun + exit 0 Provides: gmrun = 0.9.2-38.fc28 gmrun(riscv-64) = 0.9.2-38.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) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gmrun-0.9.2-38.fc28.riscv64 Wrote: /builddir/build/SRPMS/gmrun-0.9.2-38.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/gmrun-0.9.2-38.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YFbvuA + umask 022 + cd /builddir/build/BUILD + cd gmrun-0.9.2 + rm -rf /builddir/build/BUILDROOT/gmrun-0.9.2-38.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