+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/hatari.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.bqsvB6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hatari-2.0.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/hatari-2.0.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hatari-2.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (hatari-2.0.0-symlinks.patch):' Patch #0 (hatari-2.0.0-symlinks.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file share/CMakeLists.txt + echo 'Patch #1 (hatari-2.0.0-aarch64.patch):' Patch #1 (hatari-2.0.0-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cpu/sysdeps.h + echo 'Patch #2 (hatari-2.0.0-s390.patch):' Patch #2 (hatari-2.0.0-s390.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cpu/sysdeps.h + echo 'Patch #3 (hatari-2.0.0-hatariui_conf.patch):' Patch #3 (hatari-2.0.0-hatariui_conf.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file python-ui/config.py patching file python-ui/hatari.py + echo 'Patch #4 (hatari-2.0.0-hatariui_options.patch):' Patch #4 (hatari-2.0.0-hatariui_options.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file python-ui/dialogs.py patching file python-ui/hatari.py patching file python-ui/release-notes.txt + echo 'Patch #5 (hatari-2.0.0-window_embedding.patch):' Patch #5 (hatari-2.0.0-window_embedding.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/control.c Hunk #1 succeeded at 581 (offset -2 lines). patching file src/screen.c Hunk #1 succeeded at 349 (offset 4 lines). + for pyfile in dialogs.py hatari.py uihelpers.py config.py + sed -i -e '/^#!\//, 1d' python-ui/dialogs.py + for pyfile in dialogs.py hatari.py uihelpers.py config.py + sed -i -e '/^#!\//, 1d' python-ui/hatari.py + for pyfile in dialogs.py hatari.py uihelpers.py config.py + sed -i -e '/^#!\//, 1d' python-ui/uihelpers.py + for pyfile in dialogs.py hatari.py uihelpers.py config.py + sed -i -e '/^#!\//, 1d' python-ui/config.py + for pyfile in tools/debugger/hatari_profile.py tools/hconsole/example.py tools/hconsole/hconsole.py python-ui/hatariui.py python-ui/debugui.py + sed -i '1s|/usr/bin/env python|/usr/bin/python2|' tools/debugger/hatari_profile.py + for pyfile in tools/debugger/hatari_profile.py tools/hconsole/example.py tools/hconsole/hconsole.py python-ui/hatariui.py python-ui/debugui.py + sed -i '1s|/usr/bin/env python|/usr/bin/python2|' tools/hconsole/example.py + for pyfile in tools/debugger/hatari_profile.py tools/hconsole/example.py tools/hconsole/hconsole.py python-ui/hatariui.py python-ui/debugui.py + sed -i '1s|/usr/bin/env python|/usr/bin/python2|' tools/hconsole/hconsole.py + for pyfile in tools/debugger/hatari_profile.py tools/hconsole/example.py tools/hconsole/hconsole.py python-ui/hatariui.py python-ui/debugui.py + sed -i '1s|/usr/bin/env python|/usr/bin/python2|' python-ui/hatariui.py + for pyfile in tools/debugger/hatari_profile.py tools/hconsole/example.py tools/hconsole/hconsole.py python-ui/hatariui.py python-ui/debugui.py + sed -i '1s|/usr/bin/env python|/usr/bin/python2|' python-ui/debugui.py + sed -i '/^MimeType=*/s/$/;/' share/applications/hatari.desktop + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1UMwu9 + umask 022 + cd /builddir/build/BUILD + cd hatari-2.0.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 + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE=TRUE -DCMAKE_BUILD_TYPE:STRING=None -DDOCDIR:PATH=/usr/share/doc/hatari -DBUILD_SHARED_LIBS:BOOL=OFF . CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy): The OLD behavior for policy CMP0026 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The C compiler identification is GNU 7.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Performing Test MUDFLAP_AVAILABLE -- Performing Test MUDFLAP_AVAILABLE - Failed -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found SDL2: /usr/lib64/libSDL2.so;-lpthread -- Found MATH: /usr/lib64/libm.so -- Found READLINE: /usr/lib64/libreadline.so -- Looking for rl_filename_completion_function -- Looking for rl_filename_completion_function - found -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.34") -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Found X11: /usr/lib64/libX11.so -- Found PORTAUDIO: /usr/lib64/libportaudio.so -- Looking for Pa_GetDefaultInputDevice -- Looking for Pa_GetDefaultInputDevice - found -- Could NOT find CAPSIMAGE (missing: CAPSIMAGE_LIBRARY CAPSIMAGE_INCLUDE_DIR) -- Found UDEV: /usr/lib64/libudev.so -- Looking for include file termios.h -- Looking for include file termios.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file malloc.h -- Looking for include file malloc.h - found -- Looking for include file /usr/include/SDL2/SDL_config.h -- Looking for include file /usr/include/SDL2/SDL_config.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/times.h -- Looking for include file sys/times.h - found -- Looking for include file utime.h -- Looking for include file utime.h - found -- Looking for include file sys/utime.h -- Looking for include file sys/utime.h - not found -- Looking for include files sys/socket.h, sys/un.h -- Looking for include files sys/socket.h, sys/un.h - found -- Looking for cfmakeraw -- Looking for cfmakeraw - found -- Looking for setenv -- Looking for setenv - found -- Looking for select -- Looking for select - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for nanosleep -- Looking for nanosleep - found -- Looking for alphasort -- Looking for alphasort - found -- Looking for scandir -- Looking for scandir - found -- Looking for statvfs -- Looking for statvfs - found -- Looking for fseeko -- Looking for fseeko - found -- Looking for ftello -- Looking for ftello - found -- Looking for flock -- Looking for flock - found -- Looking for strlcpy -- Looking for strlcpy - not found -- Performing Test HAVE_DIRENT_D_TYPE -- Performing Test HAVE_DIRENT_D_TYPE - Success -- Found PythonInterp: /usr/bin/python (found version "2.7.14") Libraries summary : ------------------- - sdl : using SDL2 v2.0.8 - readline : found, enables history/completion in the debugger - zlib : found, allows to use zip/gz files directly - png : found, allows to compress screenshot/avi files using png - portaudio : found, enables the microphone input in Falcon mode - capsimage : v4 not found, install it to use .IPF, .RAW and .CTR disk images - udev : found, required for media change detection in NatFeats SCSI devices on udev-based systems (Linux) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/hatari-2.0.0 + make /usr/bin/cmake -H/builddir/build/BUILD/hatari-2.0.0 -B/builddir/build/BUILD/hatari-2.0.0 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/hatari-2.0.0/CMakeFiles /builddir/build/BUILD/hatari-2.0.0/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/hatari-2.0.0' make -f src/cpu/CMakeFiles/build68k.dir/build.make src/cpu/CMakeFiles/build68k.dir/depend make[2]: Entering directory '/builddir/build/BUILD/hatari-2.0.0' cd /builddir/build/BUILD/hatari-2.0.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/hatari-2.0.0 /builddir/build/BUILD/hatari-2.0.0/src/cpu /builddir/build/BUILD/hatari-2.0.0 /builddir/build/BUILD/hatari-2.0.0/src/cpu /builddir/build/BUILD/hatari-2.0.0/src/cpu/CMakeFiles/build68k.dir/DependInfo.cmake --color= Scanning dependencies of target build68k make[2]: Leaving directory '/builddir/build/BUILD/hatari-2.0.0' make -f src/cpu/CMakeFiles/build68k.dir/build.make src/cpu/CMakeFiles/build68k.dir/build make[2]: Entering directory '/builddir/build/BUILD/hatari-2.0.0' [ 1%] Building C object src/cpu/CMakeFiles/build68k.dir/build68k.c.o cd /builddir/build/BUILD/hatari-2.0.0/src/cpu && /usr/bin/cc -DCONFDIR=\"/etc\" -DWITH_SDL2 -D_REENTRANT -I/builddir/build/BUILD/hatari-2.0.0 -I/usr/include/SDL2 -I/builddir/build/BUILD/hatari-2.0.0/src/cpu -I/builddir/build/BUILD/hatari-2.0.0/src/includes -I/builddir/build/BUILD/hatari-2.0.0/src/debug -I/builddir/build/BUILD/hatari-2.0.0/src/falcon -I/builddir/build/BUILD/hatari-2.0.0/src/cpu/. -I/builddir/build/BUILD/hatari-2.0.0/src/cpu/../.. -I/builddir/build/BUILD/hatari-2.0.0/src/cpu/../includes -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 -Wcast-qual -Wbad-function-cast -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wall -Wwrite-strings -Wsign-compare -Wformat-security -o CMakeFiles/build68k.dir/build68k.c.o -c /builddir/build/BUILD/hatari-2.0.0/src/cpu/build68k.c In file included from /builddir/build/BUILD/hatari-2.0.0/src/cpu/build68k.c:10:0: /builddir/build/BUILD/hatari-2.0.0/src/cpu/sysdeps.h:62:2: error: #error unrecognized CPU type #error unrecognized CPU type ^~~~~ make[2]: *** [src/cpu/CMakeFiles/build68k.dir/build.make:66: src/cpu/CMakeFiles/build68k.dir/build68k.c.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/hatari-2.0.0' make[1]: *** [CMakeFiles/Makefile2:468: src/cpu/CMakeFiles/build68k.dir/all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/hatari-2.0.0' make: *** [Makefile:133: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.1UMwu9 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1UMwu9 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff