Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-monads-tf.spec'], chrootPath='/var/lib/mock/f38-build-725801-99795/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-monads-tf.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1687478400 Wrote: /builddir/build/SRPMS/ghc-monads-tf-0.1.0.3-33.rvre0.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-monads-tf.spec'], chrootPath='/var/lib/mock/f38-build-725801-99795/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-monads-tf.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1687478400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OSB5zf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf monads-tf-0.1.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/monads-tf-0.1.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd monads-tf-0.1.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dqnrro + 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 monads-tf-0.1.0.3 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + 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 + 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.hs, 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 -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/ / -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-monads-tf '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -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/monads-tf-0.1.0.3 --global Warning: monads-tf.cabal:43:54: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. Configuring monads-tf-0.1.0.3... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j4 Preprocessing library for monads-tf-0.1.0.3.. Building library for monads-tf-0.1.0.3.. [ 1 of 21] Compiling Control.Monad.Cont.Class Control/Monad/Cont/Class.hs:57:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead | 57 | import Control.Monad.Trans.Error as Error | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Cont/Class.hs:59:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.List’ is deprecated: This transformer is invalid on most monads | 59 | import Control.Monad.Trans.List as List | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Cont/Class.hs:98:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 98 | instance (Error e, MonadCont m) => MonadCont (ErrorT e m) where | ^^^^^ Control/Monad/Cont/Class.hs:98:47: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 98 | instance (Error e, MonadCont m) => MonadCont (ErrorT e m) where | ^^^^^^ Control/Monad/Cont/Class.hs:99:14: warning: [-Wdeprecations] In the use of ‘liftCallCC’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 99 | callCC = Error.liftCallCC callCC | ^^^^^^^^^^^^^^^^ Control/Monad/Cont/Class.hs:104:38: warning: [-Wdeprecations] In the use of type constructor or class ‘ListT’ (imported from Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 104 | instance (MonadCont m) => MonadCont (ListT m) where | ^^^^^ Control/Monad/Cont/Class.hs:105:14: warning: [-Wdeprecations] In the use of ‘liftCallCC’ (imported from Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 105 | callCC = List.liftCallCC callCC | ^^^^^^^^^^^^^^^ [ 2 of 21] Compiling Control.Monad.Identity [ 3 of 21] Compiling Control.Monad.Trans [ 4 of 21] Compiling Control.Monad.State.Class Control/Monad/State/Class.hs:30:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead | 30 | import Control.Monad.Trans.Error | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/State/Class.hs:32:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.List’ is deprecated: This transformer is invalid on most monads | 32 | import Control.Monad.Trans.List | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/State/Class.hs:107:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 107 | instance (Error e, MonadState m) => MonadState (ErrorT e m) where | ^^^^^ Control/Monad/State/Class.hs:107:49: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 107 | instance (Error e, MonadState m) => MonadState (ErrorT e m) where | ^^^^^^ Control/Monad/State/Class.hs:108:21: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 108 | type StateType (ErrorT e m) = StateType m | ^^^^^^ Control/Monad/State/Class.hs:117:40: warning: [-Wdeprecations] In the use of type constructor or class ‘ListT’ (imported from Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 117 | instance (MonadState m) => MonadState (ListT m) where | ^^^^^ Control/Monad/State/Class.hs:118:21: warning: [-Wdeprecations] In the use of type constructor or class ‘ListT’ (imported from Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 118 | type StateType (ListT m) = StateType m | ^^^^^ [ 5 of 21] Compiling Control.Monad.State.Strict [ 6 of 21] Compiling Control.Monad.State.Lazy [ 7 of 21] Compiling Control.Monad.State [ 8 of 21] Compiling Control.Monad.Reader.Class Control/Monad/Reader/Class.hs:45:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead | 45 | import Control.Monad.Trans.Error | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Reader/Class.hs:47:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.List’ is deprecated: This transformer is invalid on most monads | 47 | import Control.Monad.Trans.List | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Reader/Class.hs:119:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 119 | instance (Error e, MonadReader m) => MonadReader (ErrorT e m) where | ^^^^^ Control/Monad/Reader/Class.hs:119:51: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 119 | instance (Error e, MonadReader m) => MonadReader (ErrorT e m) where | ^^^^^^ Control/Monad/Reader/Class.hs:120:19: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 120 | type EnvType (ErrorT e m) = EnvType m | ^^^^^^ Control/Monad/Reader/Class.hs:122:13: warning: [-Wdeprecations] In the use of ‘mapErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 122 | local = mapErrorT . local | ^^^^^^^^^ Control/Monad/Reader/Class.hs:129:42: warning: [-Wdeprecations] In the use of type constructor or class ‘ListT’ (imported from Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 129 | instance (MonadReader m) => MonadReader (ListT m) where | ^^^^^ Control/Monad/Reader/Class.hs:130:19: warning: [-Wdeprecations] In the use of type constructor or class ‘ListT’ (imported from Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 130 | type EnvType (ListT m) = EnvType m | ^^^^^ Control/Monad/Reader/Class.hs:132:13: warning: [-Wdeprecations] In the use of ‘mapListT’ (imported from[ 9 of 21] Compiling Control.Monad.Reader [10 of 21] Compiling Control.Monad.List [11 of 21] Compiling Control.Monad.Error.Class Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 132 | local = mapListT . local | ^^^^^^^^ Control/Monad/List.hs:25:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.List’ is deprecated: This transformer is invalid on most monads | 25 | import Control.Monad.Trans.List | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Error/Class.hs:40:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead | 40 | import Control.Monad.Trans.Error (Error(..), ErrorT) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Error/Class.hs:41:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead | 41 | import qualified Control.Monad.Trans.Error as ErrorT (throwError, catchError) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Error/Class.hs:43:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.List’ is deprecated: This transformer is invalid on most monads | 43 | import Control.Monad.Trans.List as List | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Error/Class.hs:102:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 102 | instance (Error e) => MonadError (Either e) where | ^^^^^ Control/Monad/Error/Class.hs:108:20: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 108 | instance (Monad m, Error e) => MonadError (ErrorT e m) where | ^^^^^ Control/Monad/Error/Class.hs:108:44: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 108 | instance (Monad m, Error e) => MonadError (ErrorT e m) where | ^^^^^^ Control/Monad/Error/Class.hs:109:21: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 109 | type ErrorType (ErrorT e m) = e | ^^^^^^ Control/Monad/Error/Class.hs:110:18: warning: [-Wdeprecations] In the use of ‘throwError’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 110 | throwError = ErrorT.throwError | ^^^^^^^^^^^^^^^^^ Control/Monad/Error/Class.hs:111:18: warning: [-Wdeprecations] In the use of ‘catchError’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 111 | catchError = ErrorT.catchError | ^^^^^^^^^^^^^^^^^ Control/Monad/Error/Class.hs:121:40: warning: [-Wdeprecations] In the use of type constructor or class ‘ListT’ (imported from Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 121 | instance (MonadError m) => MonadError (ListT m) where | ^^^^^ Control/Monad/Error/Class.hs:122:21: warning: [-Wdeprecations] In the use of type constructor or class ‘ListT’ (imported from Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 122 | type ErrorType (ListT m) = ErrorType m | ^^^^^ Control/Monad/Error/Class.hs:124:18: warning: [-Wdeprecations] In the use of[12 of 21] Compiling Control.Monad.Error [13 of 21] Compiling Control.Monad.Cont [14 of 21] Compiling Control.Monad.Writer.Class ‘liftCatch’ (imported from Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 124 | catchError = List.liftCatch catchError | ^^^^^^^^^^^^^^ Control/Monad/Error.hs:54:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead | 54 | import Control.Monad.Trans.Error (ErrorT(..), mapErrorT) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Writer/Class.hs:27:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead | 27 | import Control.Monad.Trans.Error as Error | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Writer/Class.hs:100:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 100 | instance (Error e, MonadWriter m) => MonadWriter (ErrorT e m) where | ^^^^^ Control/Monad/Writer/Class.hs:100:51: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 100 | instance (Error e, MonadWriter m) => MonadWriter (ErrorT e m) where | ^^^^^^ Control/Monad/Writer/Class.hs:101:22: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 101 | type WriterType (ErrorT e m) = WriterType m | ^^^^^^ Control/Monad/Writer/Class.hs:103:14: warning: [-Wdeprecations] In the use of ‘liftListen’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 103 | listen = Error.liftListen listen | ^^^^^^^^^^^^^^^^ Control/Monad/Writer/Class.hs:104:14: warning: [-Wdeprecations] In the use of ‘liftPass’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 104 | pass = Error.liftPass pass | ^^^^^^^^^^^^^^ [15 of 21] Compiling Control.Monad.RWS.Class Control/Monad/RWS/Class.hs:33:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead | 33 | import Control.Monad.Trans.Error(Error, ErrorT) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/RWS/Class.hs:51:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 51 | instance (Error e, MonadRWS m) => MonadRWS (ErrorT e m) | ^^^^^ Control/Monad/RWS/Class.hs:51:45: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 51 | instance (Error e, MonadRWS m) => MonadRWS (ErrorT e m) | ^^^^^^ [16 of 21] Compiling Control.Monad.RWS.Strict [17 of 21] Compiling Control.Monad.RWS.Lazy [18 of 21] Compiling Control.Monad.RWS [19 of 21] Compiling Control.Monad.Writer.Lazy [20 of 21] Compiling Control.Monad.Writer [21 of 21] Compiling Control.Monad.Writer.Strict [ 1 of 21] Compiling Control.Monad.Cont.Class /var/tmp/rpm-tmp.dqnrro: line 75: 4578 Segmentation fault (core dumped) ./Setup build -j${RPM_BUILD_NCPUS} RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.dqnrro (%build) Bad exit status from /var/tmp/rpm-tmp.dqnrro (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/ghc-monads-tf.spec