Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-xmonad-contrib.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-832750-28376/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-xmonad-contrib.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1687564800 Wrote: /builddir/build/SRPMS/ghc-xmonad-contrib-0.17.1-1.fc38.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-xmonad-contrib.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-832750-28376/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-xmonad-contrib.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1687564800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ng95b2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xmonad-contrib-0.17.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xmonad-contrib-0.17.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xmonad-contrib-0.17.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xmonad-contrib-use_xft-flag.patch):' Patch #0 (xmonad-contrib-use_xft-flag.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig-xft --fuzz=0 patching file xmonad-contrib.cabal Hunk #1 succeeded at 47 (offset 5 lines). Patch #2 (xmonad-contrib-ewmh-set-NET_WM_STATE.patch): + echo 'Patch #2 (xmonad-contrib-ewmh-set-NET_WM_STATE.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig-NET_WM_STATE --fuzz=0 patching file XMonad/Hooks/EwmhDesktops.hs Patch #4 (xmonad-contrib-0.17.0-PositionStore-dont-rescale-with-screen.patch): + echo 'Patch #4 (xmonad-contrib-0.17.0-PositionStore-dont-rescale-with-screen.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig-rescale --fuzz=0 patching file XMonad/Util/PositionStore.hs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Cpk8Ui + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xmonad-contrib-0.17.1 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f CHANGES.md -a -x CHANGES.md ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ++ sed -e 's/-Wall //' -e 's/-Werror=format-security //' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.lhs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.6.3.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-xmonad-contrib '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --enable-tests --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/xmonad-contrib-0.17.1 --global Configuring xmonad-contrib-0.17.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing test suite 'tests' for xmonad-contrib-0.17.1.. Building test suite 'tests' for xmonad-contrib-0.17.1.. [ 1 of 59] Compiling Utils tests/Utils.hs:4:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/xmonad-0.17.1/XMonad/StackSet.hi mismatched interface file profile tag (wanted "", got "u") | 4 | import XMonad.StackSet hiding (filter) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 2 of 59] Compiling XMonad.Actions.CycleRecentWS tests/Utils.hs:5:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/X11-1.10.3/Graphics/X11/Xlib/Types.hi mismatched interface file profile tag (wanted "", got "u") | 5 | import Graphics.X11.Xlib.Types (Rectangle(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ XMonad/Actions/CycleRecentWS.hs:38:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/xmonad-0.17.1/XMonad.hi mismatched interface file profile tag (wanted "", got "u") | [ 3 of 59] Compiling XMonad.Prelude 38 | import XMonad hiding (workspaces) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ XMonad/Prelude.hs:101:28: error: Not in scope: type constructor or class ‘Window’ | 101 | safeGetWindowAttributes :: Window -> X (Maybe WindowAttributes) | ^^^^^^ XMonad/Prelude.hs:101:38: error: Not in scope: type constructor or class ‘X’ | 101 | safeGetWindowAttributes :: Window -> X (Maybe WindowAttributes) | ^ XMonad/Prelude.hs:101:47: error: Not in scope: type constructor or class ‘WindowAttributes’ | 101 | safeGetWindowAttributes :: Window -> X (Maybe WindowAttributes) | ^^^^^^^^^^^^^^^^ XMonad/Prelude.hs:118:19: error: Not in scope: type constructor or class ‘MonadIO’ Perhaps you meant ‘Monad’ (imported from Control.Monad) | 118 | mkAbsolutePath :: MonadIO m => FilePath -> m FilePath | ^^^^^^^ XMonad/Prelude.hs:128:46: error: Not in scope: type constructor or class ‘X’ | 128 | {-# SPECIALISE mkAbsolutePath :: FilePath -> X FilePath #-} | ^ XMonad/Prelude.hs:134:20: error: Not in scope: type constructor or class ‘KeyMask’ | 134 | keymaskToString :: KeyMask -- ^ Num lock mask | ^^^^^^^ XMonad/Prelude.hs:135:20: error: Not in scope: type constructor or class ‘KeyMask’ | 135 | -> KeyMask -- ^ Modifier mask | ^^^^^^^ XMonad/Prelude.hs:140:14: error: Not in scope: type constructor or class ‘KeyMask’ | 140 | masks :: [(KeyMask, String)] | ^^^^^^^ XMonad/Prelude.hs:154:10: error: Not in scope: type constructor or class ‘KeyMask’ | 154 | go :: (KeyMask, String) -> ([String], KeyMask) -> ([String], KeyMask) | ^^^^^^^ XMonad/Prelude.hs:154:41: error: Not in scope: type constructor or class ‘KeyMask’ | 154 | go :: (KeyMask, String) -> ([String], KeyMask) -> ([String], KeyMask) | ^^^^^^^ XMonad/Prelude.hs:154:64: error: Not in scope: type constructor or class ‘KeyMask’ | 154 | go :: (KeyMask, String) -> ([String], KeyMask) -> ([String], KeyMask) | ^^^^^^^ XMonad/Prelude.hs:162:17: error: Not in scope: type constructor or class ‘KeyMask’ | 162 | keyToString :: (KeyMask, KeySym) -> String | ^^^^^^^ XMonad/Prelude.hs:162:26: error: Not in scope: type constructor or class ‘KeySym’ | 162 | keyToString :: (KeyMask, KeySym) -> String | ^^^^^^ XMonad/Prelude.hs:165:15: error: Not in scope: type constructor or class ‘KeySym’ | 165 | ppKeysym :: KeySym -> String | ^^^^^^ XMonad/Prelude.hs:183:17: error: Not in scope: type constructor or class ‘X’ | 183 | cleanKeyMask :: X (KeyMask -> KeyMask) | ^ XMonad/Prelude.hs:183:20: error: Not in scope: type constructor or class ‘KeyMask’ | 183 | cleanKeyMask :: X (KeyMask -> KeyMask) | ^^^^^^^ XMonad/Prelude.hs:183:31: error: Not in scope: type constructor or class ‘KeyMask’ | 183 | cleanKeyMask :: X (KeyMask -> KeyMask) | ^^^^^^^ XMonad/Prelude.hs:186:18: error: Not in scope: type constructor or class ‘KeyMask’ | 186 | cleanKeyMask' :: KeyMask -> KeyMask -> KeyMask | ^^^^^^^ XMonad/Prelude.hs:186:29: error: Not in scope: type constructor or class ‘KeyMask’ | 186 | cleanKeyMask' :: KeyMask -> KeyMask -> KeyMask | ^^^^^^^ XMonad/Prelude.hs:186:40: error: Not in scope: type constructor or class ‘KeyMask’ | 186 | cleanKeyMask' :: KeyMask -> KeyMask -> KeyMask | ^^^^^^^ XMonad/Prelude.hs:191:26: error: Not in scope: type constructor or class ‘KeySym’ | 191 | regularKeys :: [(String, KeySym)] | ^^^^^^ XMonad/Prelude.hs:199:29: error: Not in scope: type constructor or class ‘KeySym’ | 199 | allSpecialKeys :: [(String, KeySym)] | ^^^^^^ XMonad/Prelude.hs:204:27: error: Not in scope: type constructor or class ‘KeySym’ | 204 | functionKeys :: [(String, KeySym)] | ^^^^^^ XMonad/Prelude.hs:210:26: error: Not in scope: type constructor or class ‘KeySym’ | 210 | specialKeys :: [(String, KeySym)] | ^^^^^^ XMonad/Prelude.hs:293:29: error: Not in scope: type constructor or class ‘KeySym’ | 293 | multimediaKeys :: [(String, KeySym)] | ^^^^^^ XMonad/Prelude.hs:451:7: error: Not in scope: type constructor or class ‘W.Screen’ Module ‘XMonad.StackSet’ does not export ‘Screen’. | 451 | = W.Screen WorkspaceId (Layout Window) Window ScreenId ScreenDetail | ^^^^^^^^ XMonad/Prelude.hs:451:16: error: Not in scope: type constructor or class ‘WorkspaceId’ | 451 | = W.Screen WorkspaceId (Layout Window) Window ScreenId ScreenDetail | ^^^^^^^^^^^ XMonad/Prelude.hs:451:29: error: Not in scope: type constructor or class ‘Layout’ | 451 | = W.Screen WorkspaceId (Layout Window) Window ScreenId ScreenDetail | ^^^^^^ XMonad/Prelude.hs:451:36: error: Not in scope: type constructor or class ‘Window’ | 451 | = W.Screen WorkspaceId (Layout Window) Window ScreenId ScreenDetail | ^^^^^^ XMonad/Prelude.hs:451:44: error: Not in scope: type constructor or class ‘Window’ | 451 | = W.Screen WorkspaceId (Layout Window) Window ScreenId ScreenDetail | ^^^^^^ XMonad/Prelude.hs:451:51: error: Not in scope: type constructor or class ‘ScreenId’ | 451 | = W.Screen WorkspaceId (Layout Window) Window ScreenId ScreenDetail | ^^^^^^^^ XMonad/Prelude.hs:451:60: error: Not in scope: type constructor or class ‘ScreenDetail’ | 451 | = W.Screen WorkspaceId (Layout Window) Window ScreenId ScreenDetail | ^^^^^^^^^^^^ [14 of 59] Compiling XMonad.Util.Invisible [30 of 59] Compiling XMonad.Util.Timer XMonad/Util/Timer.hs:23:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/xmonad-0.17.1/XMonad.hi mismatched interface file profile tag (wanted "", got "u") | 23 | import XMonad | ^^^^^^^^^^^^^ [31 of 59] Compiling XMonad.Util.Types error: Bad exit status from /var/tmp/rpm-tmp.Cpk8Ui (%build) RPM build warnings: RPM build errors: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.Cpk8Ui (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-xmonad-contrib.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-xmonad-contrib.spec