ziPngziMetadata_zdfBinaryPngTextzuzdsdefaultPutList_entry’: BUILDSTDERR: /tmp/ghc25232_0/ghc_123.hc:10088:1: error: BUILDSTDERR: warning: label ‘_c39Qs’ defined but not used [-Wunused-label] BUILDSTDERR: | BUILDSTDERR: 10088 | _c39Qs: BUILDSTDERR: | ^ BUILDSTDERR: 10088 | _c39Qs: BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /tmp/ghc25232_0/ghc_123.hc: In function ‘JuicyPixelszm3zi2zi9zi5zmHed7blWXlu7dtNWVd4HM4_CodecziPictureziPngziMetadata_PngText_entry’: BUILDSTDERR: /tmp/ghc25232_0/ghc_123.hc:10115:1: error: BUILDSTDERR: warning: label ‘_c39QA’ defined but not used [-Wunused-label] BUILDSTDERR: | BUILDSTDERR: 10115 | _c39QA: BUILDSTDERR: | ^ BUILDSTDERR: 10115 | _c39QA: BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /tmp/ghc25232_0/ghc_123.hc: In function ‘JuicyPixelszm3zi2zi9zi5zmHed7blWXlu7dtNWVd4HM4_CodecziPictureziPngziMetadata_PngText_con_entry’: BUILDSTDERR: /tmp/ghc25232_0/ghc_123.hc:10140:1: error: BUILDSTDERR: warning: label ‘_c39QF’ defined but not used [-Wunused-label] BUILDSTDERR: | BUILDSTDERR: 10140 | _c39QF: BUILDSTDERR: | ^ BUILDSTDERR: 10140 | _c39QF: BUILDSTDERR: | ^~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: /tmp/ghc25232_0/ghc_123.hc:9285:16: error: BUILDSTDERR: warning: ‘r37OD_closure’ defined but not used [-Wunused-variable] BUILDSTDERR: 9285 | static StgWord r37OD_closure[]__attribute__((aligned(8)))= { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | BUILDSTDERR: 9285 | static StgWord r37OD_closure[]__attribute__((aligned(8)))= { BUILDSTDERR: | ^ [ 9 of 30] Compiling Codec.Picture.ColorQuant ( src/Codec/Picture/ColorQuant.hs, dist/build/Codec/Picture/ColorQuant.o ) BUILDSTDERR: src/Codec/Picture/ColorQuant.hs:123:26: warning: [-Woverflowed-literals] BUILDSTDERR: Literal 256 is out of the GHC.Word.Word8 range 0..255 BUILDSTDERR: | BUILDSTDERR: 123 | (PixelRGB8 (r .&. (256 - dr)) (g .&. (256 - dg)) (b .&. (256 - db))) BUILDSTDERR: | ^^^ BUILDSTDERR: src/Codec/Picture/ColorQuant.hs:123:45: warning: [-Woverflowed-literals] BUILDSTDERR: Literal 256 is out of the GHC.Word.Word8 range 0..255 BUILDSTDERR: | BUILDSTDERR: 123 | (PixelRGB8 (r .&. (256 - dr)) (g .&. (256 - dg)) (b .&. (256 - db))) BUILDSTDERR: | ^^^ BUILDSTDERR: src/Codec/Picture/ColorQuant.hs:123:64: warning: [-Woverflowed-literals] BUILDSTDERR: Literal 256 is out of the GHC.Word.Word8 range 0..255 BUILDSTDERR: | BUILDSTDERR: 123 | (PixelRGB8 (r .&. (256 - dr)) (g .&. (256 - dg)) (b .&. (256 - db))) BUILDSTDERR: | ^^^ BUILDSTDERR: ghc: panic! (the 'impossible' happened) BUILDSTDERR: (GHC version 8.4.4 for riscv64-unknown-linux): BUILDSTDERR: pprStatics: float BUILDSTDERR: F32 BUILDSTDERR: F32 BUILDSTDERR: I32 BUILDSTDERR: Call stack: BUILDSTDERR: CallStack (from HasCallStack): BUILDSTDERR: callStackDoc, called at compiler/utils/Outputable.hs:1150:37 in ghc:Outputable BUILDSTDERR: pprPanic, called at compiler/cmm/PprC.hs:525:5 in ghc:PprC BUILDSTDERR: Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Uvzchi (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Uvzchi (%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-JuicyPixels.spec