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-foundation.spec'], chrootPath='/var/lib/mock/f38-build-726028-99878/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=1209600uid=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-foundation.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-foundation-0.0.29-3.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-foundation.spec'], chrootPath='/var/lib/mock/f38-build-726028-99878/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=1209600uid=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-foundation.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.LOPfx7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf foundation-0.0.29 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/foundation-0.0.29.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd foundation-0.0.29 + /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.XmD38V + 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 foundation-0.0.29 ++ 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 ']' + cp /usr/share/ghc-rpm-macros/Setup.hs . + '[' -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-foundation '--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-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/foundation-0.0.29 --global Configuring foundation-0.0.29... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j4 Preprocessing library for foundation-0.0.29.. Building library for foundation-0.0.29.. [ 1 of 103] Compiling Foundation.Array.Internal Foundation/Array/Internal.hs:15:7: error: Not in scope: type constructor or class ‘UArray’ | 15 | ( UArray(..) | ^^^^^^^^^^ Foundation/Array/Internal.hs:16:7: error: Not in scope: ‘fromForeignPtr’ | 16 | , fromForeignPtr | ^^^^^^^^^^^^^^ Foundation/Array/Internal.hs:17:7: error: Not in scope: ‘withPtr’ | 17 | , withPtr | ^^^^^^^ Foundation/Array/Internal.hs:18:7: error: Not in scope: ‘copyToPtr’ | 18 | , copyToPtr | ^^^^^^^^^ Foundation/Array/Internal.hs:19:7: error: Not in scope: ‘recast’ | 19 | , recast | ^^^^^^ Foundation/Array/Internal.hs:20:7: error: Not in scope: ‘toHexadecimal’ | 20 | , toHexadecimal | ^^^^^^^^^^^^^ Foundation/Array/Internal.hs:22:7: error: Not in scope: ‘new’ | 22 | , new | ^^^ [ 2 of 103] Compiling Foundation.Class.Bifunctor [ 3 of 103] Compiling Foundation.Collection.Copy Foundation/Array/Internal.hs:23:7: error: Not in scope: ‘newPinned’ | 23 | , newPinned | ^^^^^^^^^ Foundation/Array/Internal.hs:24:7: error: Not in scope: ‘withMutablePtr’ | 24 | , withMutablePtr | ^^^^^^^^^^^^^^ Foundation/Class/Bifunctor.hs:22:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Compat/Bifunctor.hi mismatched interface file profile tag (wanted "", got "u") | 22 | import Basement.Compat.Bifunctor | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Collection/Copy.hs:9:40: error: Module ‘Basement.Compat.Base’ does not export ‘(>>=)’ | 9 | import Basement.Compat.Base ((>>=)) | ^^^^^ Foundation/Collection/Copy.hs:10:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Nat.hi mismatched interface file profile tag (wanted "", got "u") | 10 | import Basement.Nat | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Collection/Copy.hs:12:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Block.hi mismatched interface file profile tag (wanted "", got "u") | 12 | import qualified Basement.Block as BLK | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Collection/Copy.hs:14:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/BoxedArray.hi mismatched interface file profile tag (wanted "", got "u") | 14 | import qualified Basement.BoxedArray as BA | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Collection/Copy.hs:15:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/String.hi mismatched interface file profile tag (wanted "", got "u") | 15 | import qualified Basement.String as S | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Collection/Copy.hs:18:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Sized/Block.hi mismatched interface file profile tag (wanted "", got "u") | 18 | import qualified Basement.Sized.Block as BLKN | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 103] Compiling Foundation.Collection.Element Foundation/Collection/Element.hs:16:24: error: Module ‘Basement.Block’ does not export ‘Block’ | 16 | import Basement.Block (Block) | ^^^^^ Foundation/Collection/Element.hs:17:25: error: Module ‘Basement.UArray’ does not export ‘UArray’ | 17 | import Basement.UArray (UArray) | ^^^^^^ Foundation/Collection/Element.hs:18:29: error: Module ‘Basement.BoxedArray’ does not export ‘Array’ | 18 | import Basement.BoxedArray (Array) | ^^^^^ Foundation/Collection/Element.hs:19:25: error: Module ‘Basement.String’ does not export ‘String’ | 19 | import Basement.String (String) | ^^^^^^ Foundation/Collection/Element.hs:20:36: error: Module ‘Basement.Types.AsciiString’ does not export ‘AsciiString’ | 20 | import Basement.Types.AsciiString (AsciiString) | ^^^^^^^^^^^ Foundation/Collection/Element.hs:21:30: error: Module ‘Basement.Types.Char7’ does not export ‘Char7’ | 21 | import Basement.Types.Char7 (Char7) | ^^^^^ Foundation/Collection/Element.hs:22:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/NonEmpty.hi mismatched interface file profile tag (wanted "", got "u") | 22 | import Basement.NonEmpty | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 10 of 103] Compiling Foundation.Collection.Keyed Foundation/Collection/Element.hs:25:30: error: Module ‘Basement.Sized.Block’ does not export ‘BlockN’ | 25 | import Basement.Sized.Block (BlockN) | ^^^^^^ Foundation/Collection/Element.hs:26:30: error: Module ‘Basement.Sized.List’ does not export ‘ListN’ | 26 | import Basement.Sized.List (ListN) | ^^^^^ Foundation/Collection/Keyed.hs:20:29: error: Not in scope: type constructor or class ‘Maybe’ | 20 | lookup :: Key c -> c -> Maybe (Value c) | ^^^^^ Foundation/Collection/Keyed.hs:22:10: error:[ 11 of 103] Compiling Foundation.Collection.Mappable [ 12 of 103] Compiling Foundation.Collection.Mutable Not in scope: type constructor or class ‘Eq’ | 22 | instance Eq k => KeyedCollection [(k, v)] where | ^^ Foundation/Collection/Mappable.hs:22:39: error: Module ‘Basement.BoxedArray’ does not export ‘Array’ | 22 | import Basement.BoxedArray (Array) | ^^^^^ Foundation/Collection/Mutable.hs:12:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Monad.hi mismatched interface file profile tag (wanted "", got "u") | 12 | import Basement.Monad | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 13 of 103] Compiling Foundation.Foreign [ 14 of 103] Compiling Foundation.Foreign.Alloc [ 15 of 103] Compiling Foundation.IO.Terminal Foundation/Collection/Mutable.hs:15:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Block/Mutable.hi mismatched interface file profile tag (wanted "", got "u") | 15 | import qualified Basement.Block.Mutable as BLK | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Foreign.hs:15:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/FinalPtr.hi mismatched interface file profile tag (wanted "", got "u") | 15 | import Basement.FinalPtr | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Foreign.hs:16:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/UArray.hi mismatched interface file profile tag (wanted "", got "u") | 16 | import qualified Basement.UArray as V | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Foreign.hs:17:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/UArray/Mutable.hi mismatched interface file profile tag (wanted "", got "u") | 17 | import qualified Basement.UArray.Mutable as V | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Foreign.hs:19:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Compat/C/Types.hi mismatched interface file profile tag (wanted "", got "u") | 19 | import Basement.Compat.C.Types | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Foreign/Alloc.hs:7:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Imports.hi mismatched interface file profile tag (wanted "", got "u") | 7 | import Basement.Imports | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Foreign/Alloc.hs:8:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Types/OffsetSize.hi mismatched interface file profile tag (wanted "", got "u") | 8 | import Basement.Types.OffsetSize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/IO/Terminal.hs:25:11: error: Not in scope: type constructor or class ‘String’ Perhaps you meant ‘Prelude.String’ (imported from Prelude) | 25 | putStr :: String -> IO () | ^^^^^^ Foundation/IO/Terminal.hs:25:21: error: Not in scope: type constructor or class ‘IO’ Perhaps you meant ‘Prelude.IO’ (imported from Prelude) Perhaps you want to add ‘IO’ to the import list in the import of ‘System.IO’ (Foundation/IO/Terminal.hs:20:1-42). | 25 | putStr :: String -> IO () | ^^ Foundation/IO/Terminal.hs:29:13: error: Not in scope: type constructor or class ‘String’ Perhaps you meant ‘Prelude.String’ (imported from Prelude) | 29 | putStrLn :: String -> IO () | ^^^^^^ Foundation/IO/Terminal.hs:29:23: error: Not in scope: type constructor or class ‘IO’ Perhaps you meant ‘Prelude.IO’ (imported from Prelude) Perhaps you want to add ‘IO’ to the import list in the import of ‘System.IO’ (Foundation/IO/Terminal.hs:20:1-42). | 29 | putStrLn :: String -> IO () | ^^ Foundation/IO/Terminal.hs:33:12: error: Not in scope: type constructor or class ‘IO’ Perhaps you meant ‘Prelude.IO’ (imported from Prelude) Perhaps you want to add ‘IO’ to the import list in the import of ‘System.IO’ (Foundation/IO/Terminal.hs:20:1-42). | 33 | getArgs :: IO [String] | ^^ Foundation/IO/Terminal.hs:33:16: error: Not in scope: type constructor or class[ 16 of 103] Compiling Foundation.List.ListN ‘String’ Perhaps you meant ‘Prelude.String’ (imported from Prelude) | 33 | getArgs :: IO [String] | ^^^^^^ Foundation/List/ListN.hs:14:1: error: Bad interface file:[ 17 of 103] Compiling Foundation.Math.Trigonometry /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Sized/List.hi mismatched interface file profile tag (wanted "", got "u") | 14 | import Basement.Sized.List as X | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Math/Trigonometry.hs:38:23: error: Not in scope: type constructor or class ‘Float’ Perhaps you meant ‘Prelude.Float’ (imported from Prelude) | 38 | instance Trigonometry Float where | ^^^^^ Foundation/Math/Trigonometry.hs:53:23: error: Not in scope: type constructor or class ‘Double’ Perhaps you meant ‘Prelude.Double’ (imported from Prelude) | 53 | instance Trigonometry Double where | ^^^^^^ [ 18 of 103] Compiling Foundation.Monad.Exception Foundation/Monad/Exception.hs:13:7: error: Not in scope: type constructor or class ‘Monad’ | 13 | class Monad m => MonadThrow m where | ^^^^^ Foundation/Monad/Exception.hs:16:14: error: Not in scope: type constructor or class ‘Exception’ Perhaps you meant one of these: ‘E.Exception’ (imported from Control.Exception), ‘E.IOException’ (imported from Control.Exception) | 16 | throw :: Exception e => e -> m a | ^^^^^^^^^ Foundation/Monad/Exception.hs:20:14: error: Not in scope: type constructor or class ‘Exception’ Perhaps you meant one of these: ‘E.Exception’ (imported from Control.Exception), ‘E.IOException’ (imported from Control.Exception) | 20 | catch :: Exception e => m a -> (e -> m a) -> m a | ^^^^^^^^^ Foundation/Monad/Exception.hs:39:21: error: Not in scope: type constructor or class ‘IO’ | 39 | instance MonadThrow IO where | ^^ Foundation/Monad/Exception.hs:41:21: error: Not in scope: type constructor or class ‘IO’ | 41 | instance MonadCatch IO where | ^^ Foundation/Monad/Exception.hs:43:23: error: Not in scope: type constructor or class ‘IO’ | 43 | instance MonadBracket IO where | ^^ Foundation/Monad/Exception.hs:45:9: error: Not in scope: ‘>>=’ | 45 | x <- acquire | ^^^^^^^^^^^^ Foundation/Monad/Exception.hs:46:9: error: Not in scope: ‘>>=’ | 46 | res1 <- E.try $ restore $ inner x | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Monad/Exception.hs:48:13: error: Not in scope: data constructor ‘Left’ | 48 | Left (e1 :: E.SomeException) -> do | ^^^^ Foundation/Monad/Exception.hs:51:17: error: Not in scope: ‘>>’ | 51 | E.uninterruptibleMask_ $ fmap (const ()) (onException x e1) `E.catch` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Foundation/Monad/Exception.hs:54:13: error: Not in scope: data constructor ‘Right’ | 54 | Right y -> do | ^^^^^ [ 20 of 103] Compiling Foundation.Monad.MonadIO Foundation/Monad/Exception.hs:56:17: error: Not in scope: ‘>>=’ | 56 | _ <- onSuccess x y | ^^^^^^^^^^^^^^^^^^ [ 21 of 103] Compiling Foundation.Monad.Transformer Foundation/Monad/Transformer.hs:6:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Compat/Base.hi mismatched interface file profile tag (wanted "", got "u") | 6 | import Basement.Compat.Base (Monad) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 27 of 103] Compiling Foundation.Numerical.Floating Foundation/Numerical/Floating.hs:12:31: error: Not in scope: type constructor or class ‘Integer’ Perhaps you meant ‘Prelude.Integer’ (imported from Prelude) | 12 | floatRadix :: Proxy a -> Integer | ^^^^^^^ Foundation/Numerical/Floating.hs:13:31: error: Not in scope: type constructor or class ‘Int’ Perhaps you meant ‘Prelude.Int’ (imported from Prelude) | 13 | floatDigits :: Proxy a -> Int | ^^^ Foundation/Numerical/Floating.hs:14:32: error: Not in scope: type constructor or class ‘Int’ Perhaps you meant ‘Prelude.Int’ (imported from Prelude) | 14 | floatRange :: Proxy a -> (Int, Int) | ^^^ Foundation/Numerical/Floating.hs:14:37: error: Not in scope: type constructor or class ‘Int’ Perhaps you meant ‘Prelude.Int’ (imported from Prelude) | 14 | floatRange :: Proxy a -> (Int, Int) | ^^^ Foundation/Numerical/Floating.hs:15:26: error: Not in scope: type constructor or class ‘Integer’ Perhaps you meant ‘Prelude.Integer’ (imported from Prelude) | 15 | floatDecode :: a -> (Integer, Int) | ^^^^^^^ Foundation/Numerical/Floating.hs:15:35: error: Not in scope: type constructor or class ‘Int’ Perhaps you meant ‘Prelude.Int’ (imported from Prelude) | 15 | floatDecode :: a -> (Integer, Int) | ^^^ Foundation/Numerical/Floating.hs:16:20: error: Not in scope: type constructor or class ‘Integer’ Perhaps you meant ‘Prelude.Integer’ (imported from Prelude) | 16 | floatEncode :: Integer -> Int -> a | ^^^^^^^ Foundation/Numerical/Floating.hs:16:31: error: Not in scope: type constructor or class ‘Int’ Perhaps you meant ‘Prelude.Int’ (imported from Prelude) | 16 | floatEncode :: Integer -> Int -> a | ^^^ Foundation/Numerical/Floating.hs:18:24: error: Not in scope: type constructor or class ‘Float’ Perhaps you meant ‘Prelude.Float’ (imported from Prelude) | 18 | instance FloatingPoint Float where | ^^^^^ Foundation/Numerical/Floating.hs:19:40: error: Not in scope: ‘fromRational’ Perhaps you meant one of these: ‘Prelude.fromRational’ (imported from Prelude), ‘Prelude.toRational’ (imported from Prelude) | 19 | floatRadix _ = Prelude.floatRadix (0.0 :: Float) | ^^^ Foundation/Numerical/Floating.hs:19:47: error: Not in scope: type constructor or class ‘Float’ Perhaps you meant ‘Prelude.Float’ (imported from Prelude) | 19 | floatRadix _ = Prelude.floatRadix (0.0 :: Float) | ^^^^^ Foundation/Numerical/Floating.hs:20:42: error: Not in scope: ‘fromRational’ Perhaps you meant one of these: ‘Prelude.fromRational’ (imported from Prelude), ‘Prelude.toRational’ (imported from Prelude) | 20 | floatDigits _ = Prelude.floatDigits (0.0 :: Float) | ^^^ Foundation/Numerical/Floating.hs:20:49: error: Not in scope: type constructor or class ‘Float’ Perhaps you meant ‘Prelude.Float’ (imported from Prelude) | 20 | floatDigits _ = Prelude.floatDigits (0.0 :: Float) | ^^^^^ Foundation/Numerical/Floating.hs:21:40: error: Not in scope: ‘fromRational’ Perhaps you meant one of these: ‘Prelude.fromRational’ (imported from Prelude), ‘Prelude.toRational’ (imported from Prelude) | 21 | floatRange _ = Prelude.floatRange (0.0 :: Float) | ^^^ Foundation/Numerical/Floating.hs:21:47: error: Not in scope: type constructor or class ‘Float’ Perhaps you meant ‘Prelude.Float’ (imported from Prelude) | 21 | floatRange _ = Prelude.floatRange (0.0 :: Float) | ^^^^^ Foundation/Numerical/Floating.hs:25:24: error: Not in scope: type constructor or class ‘Double’ Perhaps you meant ‘Prelude.Double’ (imported from Prelude) | 25 | instance FloatingPoint Double where | ^^^^^^ Foundation/Numerical/Floating.hs:26:40: error: Not in scope: ‘fromRational’ Perhaps you meant one of these: ‘Prelude.fromRational’ (imported from Prelude), ‘Prelude.toRational’ (imported from Prelude) | 26 | floatRadix _ = Prelude.floatRadix (0.0 :: Double) | ^^^ Foundation/Numerical/Floating.hs:26:47: error: Not in scope: type constructor or class ‘Double’ Perhaps you meant ‘Prelude.Double’ (imported from Prelude) | 26 | floatRadix _ = Prelude.floatRadix (0.0 :: Double) | ^^^^^^ Foundation/Numerical/Floating.hs:27:42: error: Not in scope: ‘fromRational’ Perhaps you meant one of these: ‘Prelude.fromRational’ (imported from Prelude), ‘Prelude.toRational’ (imported from Prelude) | 27 | floatDigits _ = Prelude.floatDigits (0.0 :: Double) | ^^^ Foundation/Numerical/Floating.hs:27:49: error: Not in scope: type constructor or class ‘Double’ Perhaps you meant ‘Prelude.Double’ (imported from Prelude) | 27 | floatDigits _ = Prelude.floatDigits (0.0 :: Double) | ^^^^^^ Foundation/Numerical/Floating.hs:28:40: error: Not in scope: ‘fromRational’ Perhaps you meant one of these: ‘Prelude.fromRational’ (imported from Prelude), ‘Prelude.toRational’ (imported from Prelude) | 28 | floatRange _ = Prelude.floatRange (0.0 :: Double) | ^^^ [ 40 of 103] Compiling Foundation.Partial Foundation/Numerical/Floating.hs:28:47: error: Not in scope: type constructor or class ‘Double’ Perhaps you meant ‘Prelude.Double’ (imported from Prelude) | 28 | floatRange _ = Prelude.floatRange (0.0 :: Double) | ^^^^^^ Foundation/Partial.hs:27:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Compat/Identity.hi mismatched interface file profile tag (wanted "", got "u") | 27 | import Basement.Compat.Identity | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 41 of 103] Compiling Foundation.Primitive Foundation/Primitive.hs:40:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/PrimType.hi mismatched interface file profile tag (wanted "", got "u") | 40 | import Basement.PrimType | ^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Primitive.hs:41:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Types/Char7.hi mismatched interface file profile tag (wanted "", got "u") | 41 | import Basement.Types.Char7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Primitive.hs:42:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Types/AsciiString.hi mismatched interface file profile tag (wanted "", got "u") | 42 | import Basement.Types.AsciiString | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Primitive.hs:44:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/Endianness.hi mismatched interface file profile tag (wanted "", got "u") | 44 | import Basement.Endianness | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Primitive.hs:45:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/IntegralConv.hi mismatched interface file profile tag (wanted "", got "u") | 45 | import Basement.IntegralConv | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Primitive.hs:46:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/NormalForm.hi mismatched interface file profile tag (wanted "", got "u") | 46 | import Basement.NormalForm [ 47 of 103] Compiling Foundation.Strict | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/Primitive.hs:47:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/These.hi mismatched interface file profile tag (wanted "", got "u") | 47 | import Basement.These | ^^^^^^^^^^^^^^^^^^^^^ [ 48 of 103] Compiling Foundation.String Foundation/String.hs:24:7: error: Not in scope: type constructor or class ‘String’ | 24 | ( String | ^^^^^^ Foundation/String.hs:25:7: error: Not in scope: type constructor or class ‘Encoding’ | 25 | , Encoding(..) | ^^^^^^^^^^^^ Foundation/String.hs:26:7: error: Not in scope: ‘fromBytes’ | 26 | , fromBytes | ^^^^^^^^^ Foundation/String.hs:27:7: error: Not in scope: ‘fromBytesLenient’ | 27 | , fromBytesLenient | ^^^^^^^^^^^^^^^^ Foundation/String.hs:28:7: error: Not in scope: ‘fromBytesUnsafe’ | 28 | , fromBytesUnsafe | ^^^^^^^^^^^^^^^ Foundation/String.hs:29:7: error: Not in scope: ‘toBytes’ | 29 | , toBytes | ^^^^^^^ Foundation/String.hs:30:7: error: Not in scope: type constructor or class ‘ValidationFailure’ | 30 | , ValidationFailure(..) | ^^^^^^^^^^^^^^^^^^^^^ Foundation/String.hs:31:7: error: Not in scope: ‘lines’ | 31 | , lines | ^^^^^ Foundation/String.hs:32:7: error: Not in scope: ‘words’ | 32 | , words | ^^^^^ Foundation/String.hs:33:7: error: Not in scope: ‘upper’ | 33 | , upper | ^^^^^ Foundation/String.hs:34:7: error: Not in scope: ‘lower’ | 34 | , lower | ^^^^^ Foundation/String.hs:35:7: error: Not in scope: ‘replace’ | 35 | , replace | ^^^^^^^ Foundation/String.hs:36:7: error: Not in scope: ‘indices’ | 36 | , indices | ^^^^^^^ [ 50 of 103] Compiling Foundation.String.Builder [ 51 of 103] Compiling Foundation.String.Read [ 52 of 103] Compiling Foundation.System.Bindings.Hs [ 53 of 103] Compiling Foundation.System.Bindings.Network Foundation/String.hs:37:7: error: Not in scope: ‘toBase64’ | 37 | , toBase64 | ^^^^^^^^ Foundation/String.hs:38:7: error: Not in scope: ‘toBase64URL’ | 38 | , toBase64URL | ^^^^^^^^^^^ Foundation/String.hs:39:7: error: Not in scope: ‘toBase64OpenBSD’ | 39 | , toBase64OpenBSD | ^^^^^^^^^^^^^^^ Foundation/String.hs:40:7: error: Not in scope: ‘breakLine’ | 40 | , breakLine | ^^^^^^^^^ Foundation/String/Builder.hs:13:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/basement-0.0.15/Basement/String/Builder.hi mismatched interface file profile tag (wanted "", got "u") | 13 | import Basement.String.Builder | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Foundation/String/Builder.hs:14:25: error: Module ‘Basement.String’ does not export ‘String’ | 14 | import Basement.String (String) | ^^^^^^ Foundation/String/Read.hs:2:7: error: Not in scope: ‘readInteger’ | 2 | ( readInteger | ^^^^^^^^^^^ Foundation/String/Read.hs:3:7: error: Not in scope: ‘readIntegral’ | 3 | , readIntegral | ^^^^^^^^^^^^ Foundation/String/Read.hs:4:7: error: Not in scope: ‘readNatural’ | 4 | , readNatural | ^^^^^^^^^^^ Foundation/String/Read.hs:5:7: error: Not in scope: ‘readDouble’ | 5 | , readDouble | ^^^^^^^^^^ Foundation/String/Read.hs:6:7: error: Not in scope: ‘readRational’ | 6 | , readRational | ^^^^^^^^^^^^ Foundation/String/Read.hs:7:7: error: Not in scope: ‘readFloatingExact’ | 7 | , readFloatingExact | ^^^^^^^^^^^^^^^^^ Foundation/System/Bindings/Hs.hs:10:83: error: Not in scope: type constructor or class ‘CInt’ | 10 | foreign import ccall unsafe "HsBase.h __hscore_get_errno" sysHsCoreGetErrno :: IO CInt | ^^^^ Foundation/System/Bindings/Network.hsc:32:8: error: Not in scope: type constructor or class ‘CInt’ | 32 | :: CInt | ^^^^ Foundation/System/Bindings/Network.hsc:39:22: error: Not in scope: ‘fromInteger’ | 39 | herr_HostNotFound = (#const HOST_NOT_FOUND) | ^ Foundation/System/Bindings/Network.hsc:40:22: error: Not in scope: ‘fromInteger’ | 40 | herr_NoData = (#const NO_DATA) | ^ Foundation/System/Bindings/Network.hsc:41:22: error: Not in scope: ‘fromInteger’ | 41 | herr_NoRecovery = (#const NO_RECOVERY) | ^ Foundation/System/Bindings/Network.hsc:42:22: error: Not in scope: ‘fromInteger’ | 42 | herr_TryAgain = (#const TRY_AGAIN) | ^ Foundation/System/Bindings/Network.hsc:46:18: error: Not in scope: type constructor or class ‘IO’ | 46 | getHErrno :: IO CInt | ^^ Foundation/System/Bindings/Network.hsc:46:21: error: Not in scope: type constructor or class ‘CInt’ | 46 | getHErrno :: IO CInt | ^^^^ [ 54 of 103] Compiling Foundation.System.Bindings.PosixDef [ 58 of 103] Compiling Foundation.System.Bindings.Time Foundation/System/Bindings/PosixDef.hsc:17:15: error: Not in scope: type constructor or class ‘CInt’ | 17 | type CErrno = CInt | ^^^^ Foundation/System/Bindings/PosixDef.hsc:18:12: error: Not in scope: type constructor or class ‘CInt’ | 18 | type CFd = CInt | ^^^^ Foundation/System/Bindings/PosixDef.hsc:19:22: error: Not in scope: type constructor or class ‘CInt’ | 19 | type CMemProtFlags = CInt | ^^^^ Foundation/System/Bindings/PosixDef.hsc:20:25: error: Not in scope: type constructor or class ‘CInt’ | 20 | type CMemMappingFlags = CInt | ^^^^ Foundation/System/Bindings/PosixDef.hsc:21:19: error: Not in scope: type constructor or class ‘CInt’ | 21 | type CMemAdvice = CInt | ^^^^ Foundation/System/Bindings/PosixDef.hsc:22:22: error: Not in scope: type constructor or class ‘CInt’ | 22 | type CMemSyncFlags = CInt | ^^^^ Foundation/System/Bindings/PosixDef.hsc:23:21: error: Not in scope: type constructor or class ‘CInt’ | 23 | type CSysconfName = CInt | ^^^^ Foundation/System/Bindings/PosixDef.hsc:24:19: error: Not in scope: type constructor or class ‘CInt’ | 24 | type COpenFlags = CInt | ^^^^ Foundation/System/Bindings/Time.hsc:16:17: error: Not in scope: type constructor or class ‘CInt’ | 16 | type CClockId = CInt | ^^^^ Foundation/System/Bindings/Time.hsc:21:19: error: Not in scope: type constructor or class ‘CSize’ | 21 | size_CTimeSpec :: CSize | ^^^^^ Foundation/System/Bindings/Time.hsc:22:18: error: Not in scope: ‘fromInteger’ | 22 | size_CTimeSpec = #const sizeof(struct timespec) | ^^ Foundation/System/Bindings/Time.hsc:24:26: error: Not in scope: type constructor or class ‘Offset’ | 24 | ofs_CTimeSpec_Seconds :: Offset Word8 | ^^^^^^ Foundation/System/Bindings/Time.hsc:24:33: error: Not in scope: type constructor or class ‘Word8’ | 24 | ofs_CTimeSpec_Seconds :: Offset Word8 | ^^^^^ Foundation/System/Bindings/Time.hsc:25:34: error: Not in scope: ‘fromInteger’ | 25 | ofs_CTimeSpec_Seconds = Offset (#offset struct timespec, tv_sec) | ^ Foundation/System/Bindings/Time.hsc:27:30: error: Not in scope: type constructor or class ‘Offset’ | 27 | ofs_CTimeSpec_NanoSeconds :: Offset Word8 | ^^^^^^ Foundation/System/Bindings/Time.hsc:27:37: error: Not in scope: type constructor or class ‘Word8’ | 27 | ofs_CTimeSpec_NanoSeconds :: Offset Word8 | ^^^^^ Foundation/System/Bindings/Time.hsc:28:38: error: Not in scope: ‘fromInteger’ | 28 | ofs_CTimeSpec_NanoSeconds = Offset (#offset struct timespec, tv_nsec) | ^ Foundation/System/Bindings/Time.hsc:30:18: error: Not in scope: type constructor or class ‘CSize’ | 30 | size_CTimeVal :: CSize | ^^^^^ Foundation/System/Bindings/Time.hsc:31:17: error: Not in scope: ‘fromInteger’ | 31 | size_CTimeVal = #const sizeof(struct timeval) | ^^ Foundation/System/Bindings/Time.hsc:33:19: error: Not in scope: type constructor or class ‘CSize’ | 33 | size_CTimeZone :: CSize | ^^^^^ Foundation/System/Bindings/Time.hsc:34:18: error: Not in scope: ‘fromInteger’ | 34 | size_CTimeZone = #const sizeof(struct timezone) | ^ Foundation/System/Bindings/Time.hsc:36:16: error: Not in scope: type constructor or class ‘CSize’ | 36 | size_CTimeT :: CSize | ^^^^^ Foundation/System/Bindings/Time.hsc:37:15: error: Not in scope: ‘fromInteger’ | 37 | size_CTimeT = #const sizeof(time_t) | ^ Foundation/System/Bindings/Time.hsc:54:27: error: Not in scope: ‘fromInteger’ | 54 | sysTime_CLOCK_REALTIME = (#const CLOCK_REALTIME) | ^ Foundation/System/Bindings/Time.hsc:61:28: error:[ 59 of 103] Compiling Foundation.System.Entropy.Common [ 91 of 103] Compiling Foundation.VFS.Path Not in scope: ‘fromInteger’ | 61 | sysTime_CLOCK_MONOTONIC = (#const CLOCK_MONOTONIC) | ^ Foundation/System/Bindings/Time.hsc:68:37: error: Not in scope: ‘fromInteger’ | 68 | sysTime_CLOCK_PROCESS_CPUTIME_ID = (#const CLOCK_PROCESS_CPUTIME_ID) | ^ Foundation/System/Bindings/Time.hsc:75:36: error: Not in scope: ‘fromInteger’ | 75 | sysTime_CLOCK_THREAD_CPUTIME_ID = (#const CLOCK_THREAD_CPUTIME_ID) | ^ Foundation/System/Bindings/Time.hsc:80:32: error: Not in scope: ‘fromInteger’ | 80 | sysTime_CLOCK_MONOTONIC_RAW = (#const CLOCK_MONOTONIC_RAW) | ^ Foundation/System/Bindings/Time.hsc:85:34: error: Not in scope: ‘fromInteger’ | 85 | sysTime_CLOCK_REALTIME_COARSE = (#const CLOCK_REALTIME_COARSE) | ^ Foundation/System/Bindings/Time.hsc:95:27: error: Not in scope: ‘fromInteger’ | 95 | sysTime_CLOCK_BOOTTIME = (#const CLOCK_BOOTTIME) | ^ Foundation/System/Bindings/Time.hsc:100:33: error: Not in scope: ‘fromInteger’ | 100 | sysTime_CLOCK_REALTIME_ALARM = (#const CLOCK_REALTIME_ALARM) | ^ Foundation/System/Bindings/Time.hsc:105:33: error: Not in scope: ‘fromInteger’ | 105 | sysTime_CLOCK_BOOTTIME_ALARM = (#const CLOCK_BOOTTIME_ALARM) | ^ Foundation/System/Bindings/Time.hsc:110:22: error: Not in scope: ‘fromInteger’ | 110 | sysTime_CLOCK_TAI = (#const CLOCK_TAI) | ^^ Foundation/System/Bindings/Time.hsc:120:39: error: Not in scope: type constructor or class ‘Ptr’ | 120 | sysTimeClockGetRes :: CClockId -> Ptr CTimeSpec -> IO CInt | ^^^ Foundation/System/Bindings/Time.hsc:120:56: error: Not in scope: type constructor or class ‘IO’ | 120 | sysTimeClockGetRes :: CClockId -> Ptr CTimeSpec -> IO CInt | ^^ Foundation/System/Bindings/Time.hsc:120:59: error: Not in scope: type constructor or class ‘CInt’ | 120 | sysTimeClockGetRes :: CClockId -> Ptr CTimeSpec -> IO CInt | ^^^^ Foundation/System/Bindings/Time.hsc:122:40: error: Not in scope: type constructor or class ‘Ptr’ | 122 | sysTimeClockGetTime :: CClockId -> Ptr CTimeSpec -> IO CInt | ^^^ Foundation/System/Bindings/Time.hsc:122:57: error: Not in scope: type constructor or class ‘IO’ | 122 | sysTimeClockGetTime :: CClockId -> Ptr CTimeSpec -> IO CInt | ^^ Foundation/System/Bindings/Time.hsc:122:60: error: Not in scope: type constructor or class ‘CInt’ | 122 | sysTimeClockGetTime :: CClockId -> Ptr CTimeSpec -> IO CInt | ^^^^ Foundation/System/Bindings/Time.hsc:126:28: error: Not in scope: type constructor or class ‘Ptr’ | 126 | sysTimeGetTimeOfDay :: Ptr CTimeVal -> Ptr CTimeZone -> IO CInt | ^^^ Foundation/System/Bindings/Time.hsc:126:44: error: Not in scope: type constructor or class ‘Ptr’ | 126 | sysTimeGetTimeOfDay :: Ptr CTimeVal -> Ptr CTimeZone -> IO CInt | ^^^ Foundation/System/Bindings/Time.hsc:126:61: error: Not in scope: type constructor or class ‘IO’ | 126 | sysTimeGetTimeOfDay :: Ptr CTimeVal -> Ptr CTimeZone -> IO CInt | ^^ Foundation/System/Bindings/Time.hsc:126:64: error: Not in scope: type constructor or class ‘CInt’ | 126 | sysTimeGetTimeOfDay :: Ptr CTimeVal -> Ptr CTimeZone -> IO CInt | ^^^^ Foundation/System/Entropy/Common.hs:18:15: error: Not in scope: type constructor or class ‘Show’ | 18 | deriving (Show,Eq,Typeable) | ^^^^ Foundation/System/Entropy/Common.hs:18:20: error: Not in scope: type constructor or class ‘Eq’ | 18 | deriving (Show,Eq,Typeable) | ^^ Foundation/System/Entropy/Common.hs:18:23: error: Not in scope: type constructor or class ‘Typeable’ | 18 | deriving (Show,Eq,Typeable) | ^^^^^^^^ Foundation/System/Entropy/Common.hs:20:10: error: Not in scope: type constructor or class ‘Exception’ | 20 | instance Exception EntropySystemMissing | ^^^^^^^^^ Foundation/VFS/Path.hs:107:25: error: Not in scope: type constructor or class ‘Monoid’ | 107 | filename :: (Path path, Monoid (PathEnt path)) => path -> PathEnt path | ^^^^^^ error: Bad exit status from /var/tmp/rpm-tmp.XmD38V (%build) Bad exit status from /var/tmp/rpm-tmp.XmD38V (%build) RPM build errors: 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-foundation.spec