2.hc:9760:7: error: warning: ‘_sQHA’ may be used uninitialized in this function [-Wmaybe-uninitialized] 9760 | Sp[6] = _sQHA; | 9760 | Sp[6] = _sQHA; | ^ /tmp/ghc40996_0/ghc_142.hc: In function ‘_cTQK’: /tmp/ghc40996_0/ghc_142.hc:12045:7: error: warning: ‘_sQNl’ may be used uninitialized in this function [-Wmaybe-uninitialized] | 12045 | Sp[8] = _sQNl; | ^ 12045 | Sp[8] = _sQNl; /tmp/ghc40996_0/ghc_142.hc: In function ‘_cUvr’: /tmp/ghc40996_0/ghc_142.hc:15808:8: error: warning: ‘_sQVc’ may be used uninitialized in this function [-Wmaybe-uninitialized] | 15808 | Sp[14] = _sQVc; | ^ 15808 | Sp[14] = _sQVc; /tmp/ghc40996_0/ghc_142.hc: In function ‘_cV5O’: /tmp/ghc40996_0/ghc_142.hc:19050:8: error: warning: ‘_sRax’ may be used uninitialized in this function [-Wmaybe-uninitialized] | 19050 | Sp[12] = _sRax; | ^ 19050 | Sp[12] = _sRax; /tmp/ghc40996_0/ghc_142.hc: In function ‘_cVzf’: /tmp/ghc40996_0/ghc_142.hc:21722:8: error: warning: ‘_sRn6’ may be used uninitialized in this function [-Wmaybe-uninitialized] | 21722 | Sp[10] = _sRn6; | ^ 21722 | Sp[10] = _sRn6; /tmp/ghc40996_0/ghc_142.hc: In function ‘_cVVR’: /tmp/ghc40996_0/ghc_142.hc:23840:7: error: warning: ‘_sRx0’ may be used uninitialized in this function [-Wmaybe-uninitialized] | 23840 | Sp[8] = _sRx0; | ^ 23840 | Sp[8] = _sRx0; /tmp/ghc40996_0/ghc_142.hc: In function ‘_cWbA’: /tmp/ghc40996_0/ghc_142.hc:25314:5: error: warning: ‘_sRET’ may be used uninitialized in this function [-Wmaybe-uninitialized] | 25314 | *Sp = _sRET; | ^ 25314 | *Sp = _sRET; | ~~~~^~~~~~~ /tmp/ghc40996_0/ghc_142.hc: In function ‘_cWpg’: /tmp/ghc40996_0/ghc_142.hc:26693:5: error: warning: ‘_sRJq’ may be used uninitialized in this function [-Wmaybe-uninitialized] | 26693 | *Sp = _sRJq; | ^ 26693 | *Sp = _sRJq; | ~~~~^~~~~~~ /tmp/ghc40996_0/ghc_142.hc: In function ‘_cXpe’: /tmp/ghc40996_0/ghc_142.hc:39818:5: error: warning: ‘_sS0Y’ may be used uninitialized in this function [-Wmaybe-uninitialized] | 39818 | *Sp = _sS0Y; | ^ 39818 | *Sp = _sS0Y; | ~~~~^~~~~~~ /tmp/ghc40996_0/ghc_142.hc: In function ‘_cXJA’: /tmp/ghc40996_0/ghc_142.hc:42835:5: error: warning: ‘_sS7h’ may be used uninitialized in this function [-Wmaybe-uninitialized] | 42835 | *Sp = _sS7h; | ^ 42835 | *Sp = _sS7h; | ~~~~^~~~~~~ /tmp/ghc40996_0/ghc_142.hc: In function ‘_cY0p’: /tmp/ghc40996_0/ghc_142.hc:45029:7: error: warning: ‘_sSbY’ may be used uninitialized in this function [-Wmaybe-uninitialized] | 45029 | Sp[6] = _sSbY; | ^ 45029 | Sp[6] = _sSbY; [13 of 23] Compiling Data.GI.Base.GValue ( dist/build/Data/GI/Base/GValue.hs, dist/build/Data/GI/Base/GValue.o ) Data/GI/Base/GValue.hsc:121:25: error: Variable not in scope: (#) :: t0 -> t2 -> t1 | 121 | gvptr <- callocBytes (#size GValue) | ^ Data/GI/Base/GValue.hsc:121:26: error: Variable not in scope: size :: (ManagedPtr GValue -> GValue) -> t2 | 121 | gvptr <- callocBytes (#size GValue) | ^^^^ error: Bad exit status from /var/tmp/rpm-tmp.RiUCUy (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RiUCUy (%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-haskell-gi-base.spec