:1: error: BUILDSTDERR: warning: label ‘_c6JA’ defined but not used [-Wunused-label] BUILDSTDERR: 19 | _c6JA: BUILDSTDERR: | ^~~~~ BUILDSTDERR: | BUILDSTDERR: 19 | _c6JA: BUILDSTDERR: | ^ BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc: In function ‘r6I5_entry’: BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc:60:1: error: BUILDSTDERR: warning: label ‘_c6JJ’ defined but not used [-Wunused-label] BUILDSTDERR: 60 | _c6JJ: BUILDSTDERR: | ^~~~~ BUILDSTDERR: | BUILDSTDERR: 60 | _c6JJ: BUILDSTDERR: | ^ BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc: In function ‘r6I7_entry’: BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc:101:1: error: BUILDSTDERR: warning: label ‘_c6JS’ defined but not used [-Wunused-label] BUILDSTDERR: 101 | _c6JS: BUILDSTDERR: | ^~~~~ BUILDSTDERR: | BUILDSTDERR: 101 | _c6JS: BUILDSTDERR: | ^ BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc: In function ‘r6Ic_entry’: BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc:157:1: error: BUILDSTDERR: warning: label ‘_c6K1’ defined but not used [-Wunused-label] BUILDSTDERR: 157 | _c6K1: BUILDSTDERR: | ^~~~~ BUILDSTDERR: | BUILDSTDERR: 157 | _c6K1: BUILDSTDERR: | ^ BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc: In function ‘r6Ih_entry’: BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc:219:1: error: BUILDSTDERR: warning: label ‘_c6Ka’ defined but not used [-Wunused-label] BUILDSTDERR: 219 | _c6Ka: BUILDSTDERR: | ^~~~~ BUILDSTDERR: | BUILDSTDERR: 219 | _c6Ka: BUILDSTDERR: | ^ BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc: In function ‘s6Js_entry’: BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc:256:1: error: BUILDSTDERR: warning: label ‘_c6Kl’ defined but not used [-Wunused-label] BUILDSTDERR: 256 | _c6Kl: BUILDSTDERR: | ^~~~~ BUILDSTDERR: | BUILDSTDERR: 256 | _c6Kl: BUILDSTDERR: | ^ BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc: In function ‘bytestringzmtriezm0zi2zi4zi1zmCQ5INUaYyxb5mVuQezzKpPD_DataziTrieziErrors_impossible_entry’: BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc:285:1: error: BUILDSTDERR: warning: label ‘_c6Kq’ defined but not used [-Wunused-label] BUILDSTDERR: 285 | _c6Kq: BUILDSTDERR: | ^~~~~ BUILDSTDERR: | BUILDSTDERR: 285 | _c6Kq: BUILDSTDERR: | ^ BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc: In function ‘_c6Ko’: BUILDSTDERR: /tmp/ghc31996_0/ghc_28.hc:317:1: error: BUILDSTDERR: warning: label ‘_c6Ko’ defined but not used [-Wunused-label] BUILDSTDERR: 317 | _c6Ko: BUILDSTDERR: | ^~~~~ BUILDSTDERR: | BUILDSTDERR: 317 | _c6Ko: BUILDSTDERR: | ^ [4 of 6] Compiling Data.Trie.Internal ( src/Data/Trie/Internal.hs, dist/build/Data/Trie/Internal.o ) BUILDSTDERR: src/Data/Trie/Internal.hs:306:10: error: BUILDSTDERR: • Could not deduce (Semigroup (Trie a)) BUILDSTDERR: arising from the superclasses of an instance declaration BUILDSTDERR: from the context: Monoid a BUILDSTDERR: bound by the instance declaration BUILDSTDERR: at src/Data/Trie/Internal.hs:306:10-38 BUILDSTDERR: • In the instance declaration for ‘Monoid (Trie a)’ BUILDSTDERR: | BUILDSTDERR: 306 | instance (Monoid a) => Monoid (Trie a) where BUILDSTDERR: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.hUwELO (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.hUwELO (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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-bytestring-trie.spec