+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xorg-x11-drv-ati.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: Macro expanded in comment on line 22: %{tarball}-%{gitdate}.tar.xz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sMshLD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xf86-video-ati-7.9.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xf86-video-ati-7.9.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xf86-video-ati-7.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (fix-dri-removal.patch):' Patch #1 (fix-dri-removal.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-dri --fuzz=0 patching file src/drmmode_display.c patching file src/radeon_probe.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.twq6jf + umask 022 + cd /builddir/build/BUILD + cd xf86-video-ati-7.9.0 + autoreconf -iv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + 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 ']' + ./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 --disable-static --enable-glamor 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 the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for gcc option to accept ISO C99... none needed 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 whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no 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 build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking if gcc supports -Werror=unknown-warning-option... no checking if gcc supports -Werror=unused-command-line-argument... no checking if gcc supports -Wall... yes checking if gcc supports -Wpointer-arith... yes checking if gcc supports -Wmissing-declarations... yes checking if gcc supports -Wformat=2... yes checking if gcc supports -Wstrict-prototypes... yes checking if gcc supports -Wmissing-prototypes... yes checking if gcc supports -Wnested-externs... yes checking if gcc supports -Wbad-function-cast... yes checking if gcc supports -Wold-style-definition... yes checking if gcc supports -Wdeclaration-after-statement... yes checking if gcc supports -Wunused... yes checking if gcc supports -Wuninitialized... yes checking if gcc supports -Wshadow... yes checking if gcc supports -Wmissing-noreturn... yes checking if gcc supports -Wmissing-format-attribute... yes checking if gcc supports -Wredundant-decls... yes checking if gcc supports -Wlogical-op... yes checking if gcc supports -Werror=implicit... yes checking if gcc supports -Werror=nonnull... yes checking if gcc supports -Werror=init-self... yes checking if gcc supports -Werror=main... yes checking if gcc supports -Werror=missing-braces... yes checking if gcc supports -Werror=sequence-point... yes checking if gcc supports -Werror=return-type... yes checking if gcc supports -Werror=trigraphs... yes checking if gcc supports -Werror=array-bounds... yes checking if gcc supports -Werror=write-strings... yes checking if gcc supports -Werror=address... yes checking if gcc supports -Werror=int-to-pointer-cast... yes checking if gcc supports -Werror=pointer-to-int-cast... yes checking if gcc supports -pedantic... yes checking if gcc supports -Werror... yes checking if gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /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... no checking for 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... no checking if RANDR is defined... yes checking if RENDER is defined... yes checking if XV is defined... yes checking if DPMSExtension is defined... yes checking for LIBDRM... yes checking for LIBDRM_RADEON... yes checking for XORG... yes checking for XEXT... yes checking for LIBUDEV... yes checking whether to include GLAMOR support... checking for glamor.h... yes checking whether GLAMOR_NO_DRI3 is declared... yes checking whether glamor_glyphs_init is declared... no checking whether glamor_egl_destroy_textured_pixmap is declared... no checking whether RegionDuplicate is declared... yes checking whether fbGlyphs is declared... yes checking whether xf86CursorResetCursor is declared... yes checking whether xorg_list_init is declared... yes checking for misyncshm.h... yes checking for present.h... yes checking for dri3.h... yes checking for PCIACCESS... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no configure: The atimisc sub-driver has been split out to xf86-video-mach64: git://anongit.freedesktop.org/git/xorg/driver/xf86-video-mach64 Please install that driver as well for mach64-based cards. configure: The r128 sub-driver has been split out to xf86-video-r128: git://anongit.freedesktop.org/git/xorg/driver/xf86-video-r128 Please install that driver as well for rage128-based cards. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating conf/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands prefix: /usr exec_prefix: /usr libdir: /usr/lib64 includedir: /usr/include configdir: ${prefix}/share/X11/xorg.conf.d CFLAGS: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches CXXFLAGS: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches Macros: Run 'make' to build xf86-video-ati + make -j4 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/xf86-video-ati-7.9.0/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0' Making all in src make[2]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/src' CC ati.lo CC radeon_accel.lo CC atimodule.lo CC radeon_video.lo CC radeon_misc.lo CC radeon_probe.lo CC radeon_textured_video.lo CC radeon_xvmc.lo radeon_probe.c: In function 'radeon_kernel_mode_enabled': radeon_probe.c:97:19: warning: implicit declaration of function 'DRICreatePCIBusID'; did you mean 'DRI2CreateDrawable'? [-Wimplicit-function-declaration] busIdString = DRICreatePCIBusID(pci_dev); ^~~~~~~~~~~~~~~~~ DRI2CreateDrawable radeon_probe.c:97:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion] busIdString = DRICreatePCIBusID(pci_dev); ^ CC radeon_exa.lo CC r600_exa.lo CC r6xx_accel.lo CC r600_textured_videofuncs.lo CC r600_shader.lo CC radeon_exa_shared.lo CC evergreen_exa.lo CC evergreen_accel.lo CC evergreen_shader.lo CC evergreen_textured_videofuncs.lo CC cayman_accel.lo CC cayman_shader.lo CC radeon_dri2.lo CC radeon_dri3.lo CC radeon_drm_queue.lo CC radeon_kms.lo CC radeon_present.lo CC radeon_sync.lo CC radeon_vbo.lo CC radeon_bo_helper.lo CC drmmode_display.lo CC radeon_glamor_wrappers.lo CC radeon_glamor.lo CCLD ati_drv.la drmmode_display.c: In function 'drmmode_pre_init': drmmode_display.c:2532:18: warning: implicit declaration of function 'DRICreatePCIBusID'; did you mean 'DRI2CreateDrawable'? [-Wimplicit-function-declaration] bus_id_string = DRICreatePCIBusID(info->PciInfo); ^~~~~~~~~~~~~~~~~ DRI2CreateDrawable drmmode_display.c:2532:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion] bus_id_string = DRICreatePCIBusID(info->PciInfo); ^ CCLD radeon_drv.la make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/src' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/man' GEN radeon.4 GEN ati.4 make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/man' Making all in conf make[2]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/conf' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/conf' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0' make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kyDfqD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64 + cd xf86-video-ati-7.9.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/src' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/src' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/lib64/xorg/modules/drivers' /bin/sh ../libtool --mode=install /usr/bin/install -p ati_drv.la '/builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/lib64/xorg/modules/drivers' libtool: install: /usr/bin/install -p .libs/ati_drv.so /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/lib64/xorg/modules/drivers/ati_drv.so libtool: install: /usr/bin/install -p .libs/ati_drv.lai /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/lib64/xorg/modules/drivers/ati_drv.la libtool: warning: remember to run 'libtool --finish /usr/lib64/xorg/modules/drivers' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/lib64/xorg/modules/drivers' /bin/sh ../libtool --mode=install /usr/bin/install -p radeon_drv.la '/builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/lib64/xorg/modules/drivers' libtool: install: /usr/bin/install -p .libs/radeon_drv.so /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/lib64/xorg/modules/drivers/radeon_drv.so libtool: install: /usr/bin/install -p .libs/radeon_drv.lai /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/lib64/xorg/modules/drivers/radeon_drv.la libtool: warning: remember to run 'libtool --finish /usr/lib64/xorg/modules/drivers' make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/src' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/src' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/man' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/share/man/man4' /usr/bin/install -p -m 644 ati.4 radeon.4 '/builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/share/man/man4' make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/man' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/man' Making install in conf make[1]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/conf' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/conf' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/share/X11/xorg.conf.d' /usr/bin/install -p -m 644 10-radeon.conf '/builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/share/X11/xorg.conf.d' make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/conf' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0/conf' make[1]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-ati-7.9.0' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-ati-7.9.0' + find /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64 -regex '.*\.la$' + xargs rm -f -- + rm -rf /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64/usr/lib64/xorg/modules/multimedia/ + /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: xorg-x11-drv-ati-7.9.0-3.fc28.riscv64 Provides: xorg-x11-drv-ati = 7.9.0-3.fc28 xorg-x11-drv-ati(riscv-64) = 7.9.0-3.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) libdrm_radeon.so.1()(64bit) libpciaccess.so.0()(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64 Wrote: /builddir/build/SRPMS/xorg-x11-drv-ati-7.9.0-3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.t1V2FO + umask 022 + cd /builddir/build/BUILD + cd xf86-video-ati-7.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xorg-x11-drv-ati-7.9.0-3.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff