+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/spice-vdagent.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.WTHtr3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spice-vdagent-0.17.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/spice-vdagent-0.17.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd spice-vdagent-0.17.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.s2bngi + umask 022 + cd /builddir/build/BUILD + cd spice-vdagent-0.17.0 + 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 --with-session-info=systemd --with-init-script=systemd 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 whether make supports nested variables... (cached) yes 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 for style of include used by make... GNU 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 special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether ln -s works... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for init script flavor... systemd checking for GLIB2... yes checking for X... yes checking for SPICE... yes checking for ALSA... yes checking for DBUS... yes checking for LIBSYSTEMD_LOGIN... yes checking for PCIACCESS... yes checking for PIE support... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating data/spice-vdagent.1 config.status: creating data/spice-vdagentd.1 config.status: creating src/config.h config.status: executing depfiles commands configure: spice-vdagent 0.17.0 ==================== prefix: /usr c compiler: gcc session-info: systemd pciaccess: yes static uinput: no vdagentd pie + relro: yes install RH initscript: no install systemd service: yes Now type 'make' to build spice-vdagent + make -j4 V=2 gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -DUDSCS_NO_SERVER -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 src/src_spice_vdagent-vdagent.o `test -f 'src/vdagent.c' || echo './'`src/vdagent.c gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -DUDSCS_NO_SERVER -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 src/src_spice_vdagent-vdagent-x11.o `test -f 'src/vdagent-x11.c' || echo './'`src/vdagent-x11.c gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -DUDSCS_NO_SERVER -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 src/src_spice_vdagent-vdagent-x11-randr.o `test -f 'src/vdagent-x11-randr.c' || echo './'`src/vdagent-x11-randr.c gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -DUDSCS_NO_SERVER -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 src/src_spice_vdagent-vdagent-file-xfers.o `test -f 'src/vdagent-file-xfers.c' || echo './'`src/vdagent-file-xfers.c gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -DUDSCS_NO_SERVER -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 src/src_spice_vdagent-vdagent-audio.o `test -f 'src/vdagent-audio.c' || echo './'`src/vdagent-audio.c gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -DUDSCS_NO_SERVER -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 src/src_spice_vdagent-udscs.o `test -f 'src/udscs.c' || echo './'`src/udscs.c gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -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 src/src_spice_vdagentd-vdagentd.o `test -f 'src/vdagentd.c' || echo './'`src/vdagentd.c gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -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 src/src_spice_vdagentd-vdagentd-uinput.o `test -f 'src/vdagentd-uinput.c' || echo './'`src/vdagentd-uinput.c gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -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 src/src_spice_vdagentd-vdagentd-xorg-conf.o `test -f 'src/vdagentd-xorg-conf.c' || echo './'`src/vdagentd-xorg-conf.c gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -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 src/src_spice_vdagentd-vdagent-virtio-port.o `test -f 'src/vdagent-virtio-port.c' || echo './'`src/vdagent-virtio-port.c gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -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 src/src_spice_vdagentd-udscs.o `test -f 'src/udscs.c' || echo './'`src/udscs.c gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -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 src/src_spice_vdagentd-systemd-login.o `test -f 'src/systemd-login.c' || echo './'`src/systemd-login.c gcc -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -DUDSCS_NO_SERVER -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 src/spice-vdagent src/src_spice_vdagent-vdagent.o src/src_spice_vdagent-vdagent-x11.o src/src_spice_vdagent-vdagent-x11-randr.o src/src_spice_vdagent-vdagent-file-xfers.o src/src_spice_vdagent-vdagent-audio.o src/src_spice_vdagent-udscs.o -lXfixes -lXrandr -lXinerama -lX11 -lglib-2.0 -lasound gcc -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -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 src/spice-vdagentd src/src_spice_vdagentd-vdagentd.o src/src_spice_vdagentd-vdagentd-uinput.o src/src_spice_vdagentd-vdagentd-xorg-conf.o src/src_spice_vdagentd-vdagent-virtio-port.o src/src_spice_vdagentd-udscs.o src/src_spice_vdagentd-systemd-login.o -ldbus-1 -lsystemd -lpciaccess -lglib-2.0 -pie -Wl,-z,relro -Wl,-z,now + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1DHhqs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64 + cd spice-vdagent-0.17.0 + make install DESTDIR=/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64 V=2 make[1]: Entering directory '/builddir/build/BUILD/spice-vdagent-0.17.0' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/bin' /usr/bin/install -c src/spice-vdagent '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/sbin' /usr/bin/install -c src/spice-vdagentd '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/sbin' /usr/bin/mkdir -p /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/var/run/spice-vdagentd /usr/bin/mkdir -p '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/gdm/autostart/LoginWindow' /usr/bin/install -c -m 644 ./data/spice-vdagent.desktop '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/gdm/autostart/LoginWindow' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/gdm/greeter/autostart' /usr/bin/install -c -m 644 ./data/spice-vdagent.desktop '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/gdm/greeter/autostart' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 data/spice-vdagent.1 data/spice-vdagentd.1 '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/lib/systemd/system' /usr/bin/install -c -m 644 ./data/spice-vdagentd.service ./data/spice-vdagentd.target '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/lib/systemd/system' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/lib/tmpfiles.d' /usr/bin/install -c -m 644 ./data/tmpfiles.d/spice-vdagentd.conf '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/lib/tmpfiles.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/lib/udev/rules.d' /usr/bin/install -c -m 644 ./data/70-spice-vdagentd.rules '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/lib/udev/rules.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/etc/xdg/autostart' /usr/bin/install -c -m 644 ./data/spice-vdagent.desktop '/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/etc/xdg/autostart' make[1]: Leaving directory '/builddir/build/BUILD/spice-vdagent-0.17.0' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/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: spice-vdagent-0.17.0-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6VMxY3 + umask 022 + cd /builddir/build/BUILD + cd spice-vdagent-0.17.0 + DOCDIR=/builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/doc/spice-vdagent + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/doc/spice-vdagent + cp -pr COPYING /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/doc/spice-vdagent + cp -pr ChangeLog /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/doc/spice-vdagent + cp -pr README /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/doc/spice-vdagent + cp -pr TODO /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64/usr/share/doc/spice-vdagent + exit 0 Provides: spice-vdagent = 0.17.0-4.fc28 spice-vdagent(riscv-64) = 0.17.0-4.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXfixes.so.3()(64bit) libXinerama.so.1()(64bit) libXrandr.so.2()(64bit) libasound.so.2()(64bit) libasound.so.2(ALSA_0.9)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdbus-1.so.3()(64bit) libdbus-1.so.3(LIBDBUS_1_3)(64bit) libglib-2.0.so.0()(64bit) libpciaccess.so.0()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.fc28.riscv64 Wrote: /builddir/build/SRPMS/spice-vdagent-0.17.0-4.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/spice-vdagent-0.17.0-4.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.svAHAf + umask 022 + cd /builddir/build/BUILD + cd spice-vdagent-0.17.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/spice-vdagent-0.17.0-4.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