safe as BU | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Lens/Micro/GHC/Internal.hs:41:1: error: Could not find module ‘Data.Int’ Perhaps you haven't installed the profiling libraries for package ‘base-4.12.0.0’? Use -v to see a list of the files searched for. | 41 | import Data.Int | ^^^^^^^^^^^^^^^ src/Lens/Micro/GHC/Internal.hs:42:1: error: Could not find module ‘Data.Word’ Perhaps you haven't installed the profiling libraries for package ‘base-4.12.0.0’? Use -v to see a list of the files searched for. | 42 | import Data.Word | ^^^^^^^^^^^^^^^^ src/Lens/Micro/GHC/Internal.hs:43:1: error: Could not find module ‘Data.Char’ Perhaps you haven't installed the profiling libraries for package ‘base-4.12.0.0’? Use -v to see a list of the files searched for. | 43 | import Data.Char | ^^^^^^^^^^^^^^^^ src/Lens/Micro/GHC/Internal.hs:44:1: error: Could not find module ‘Data.Monoid’ Perhaps you haven't installed the profiling libraries for package ‘base-4.12.0.0’? Use -v to see a list of the files searched for. | 44 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^ src/Lens/Micro/GHC/Internal.hs:45:1: error: Could not find module ‘Foreign.Storable’ Perhaps you haven't installed the profiling libraries for package ‘base-4.12.0.0’? Use -v to see a list of the files searched for. | 45 | import Foreign.Storable | ^^^^^^^^^^^^^^^^^^^^^^^ src/Lens/Micro/GHC/Internal.hs:46:1: error: Could not find module ‘Foreign.Ptr’ Perhaps you haven't installed the profiling libraries for package ‘base-4.12.0.0’? Use -v to see a list of the files searched for. | 46 | import Foreign.Ptr | ^^^^^^^^^^^^^^^^^^ src/Lens/Micro/GHC/Internal.hs:47:1: error: Could not find module ‘Data.Bits’ Perhaps you haven't installed the profiling libraries for package ‘base-4.12.0.0’? Use -v to see a list of the files searched for. | 47 | import Data.Bits | ^^^^^^^^^^^^^^^^ src/Lens/Micro/GHC/Internal.hs:49:1: error: Could not find module ‘Foreign.ForeignPtr’ Perhaps you haven't installed the profiling libraries for package ‘base-4.12.0.0’? Use -v to see a list of the files searched for. | 49 | import Foreign.ForeignPtr | ^^^^^^^^^^^^^^^^^^^^^^^^^ src/Lens/Micro/GHC/Internal.hs:53:1: error: Could not find module ‘GHC.ForeignPtr’ Perhaps you haven't installed the profiling libraries for package ‘base-4.12.0.0’? Use -v to see a list of the files searched for. | 53 | import GHC.ForeignPtr (mallocPlainForeignPtrBytes) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Lens/Micro/GHC/Internal.hs:57:1: error: Could not find module ‘GHC.IO’ Perhaps you haven't installed the profiling libraries for package ‘base-4.12.0.0’? Use -v to see a list of the files searched for. | 57 | import GHC.IO (unsafeDupablePerformIO) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Lens/Micro/GHC/Internal.hs:58:1: error: Could not find module ‘GHC.Base’ Perhaps you haven't installed the profiling libraries for package ‘base-4.12.0.0’? Use -v to see a list of the files searched for. | 58 | import GHC.Base (unsafeChr) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.EZNFne (%build) Bad exit status from /var/tmp/rpm-tmp.EZNFne (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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-microlens-ghc.spec