: BUILDSTDERR: showData :: forall a. Data a => Stage -> Int -> a -> String BUILDSTDERR: at GHC/SYB/Utils.hs:230:1-49 BUILDSTDERR: • In the second argument of ‘(.)’, namely ‘ppr’ BUILDSTDERR: In the second argument of ‘(.)’, namely ‘showSDoc_ . ppr’ BUILDSTDERR: In the second argument of ‘(.)’, namely BUILDSTDERR: ‘(++ "}") . showSDoc_ . ppr’ BUILDSTDERR: | BUILDSTDERR: 260 | overLit = ("{HsOverLit:"++) . (++"}") . showSDoc_ . ppr BUILDSTDERR: | ^^^ BUILDSTDERR: GHC/SYB/Utils.hs:263:73: error: BUILDSTDERR: • Could not deduce (Data (XHsChar RdrName)) BUILDSTDERR: arising from a use of ‘list’ BUILDSTDERR: from the context: Data a BUILDSTDERR: bound by the type signature for: BUILDSTDERR: showData :: forall a. Data a => Stage -> Int -> a -> String BUILDSTDERR: at GHC/SYB/Utils.hs:230:1-49 BUILDSTDERR: • In the first argument of ‘(.)’, namely ‘list’ BUILDSTDERR: In the second argument of ‘(.)’, namely ‘list . bagToList’ BUILDSTDERR: In the second argument of ‘(.)’, namely BUILDSTDERR: ‘(++ "}") . list . bagToList’ BUILDSTDERR: | BUILDSTDERR: 263 | bagRdrName = ("{Bag(Located (HsBind RdrName)): "++) . (++"}") . list . bagToList BUILDSTDERR: | ^^^^ BUILDSTDERR: GHC/SYB/Utils.hs:265:70: error: BUILDSTDERR: • Could not deduce (Data (XHsChar Name)) BUILDSTDERR: arising from a use of ‘list’ BUILDSTDERR: from the context: Data a BUILDSTDERR: bound by the type signature for: BUILDSTDERR: showData :: forall a. Data a => Stage -> Int -> a -> String BUILDSTDERR: at GHC/SYB/Utils.hs:230:1-49 BUILDSTDERR: • In the first argument of ‘(.)’, namely ‘list’ BUILDSTDERR: In the second argument of ‘(.)’, namely ‘list . bagToList’ BUILDSTDERR: In the second argument of ‘(.)’, namely BUILDSTDERR: ‘(++ "}") . list . bagToList’ BUILDSTDERR: | BUILDSTDERR: 265 | bagName = ("{Bag(Located (HsBind Name)): "++) . (++"}") . list . bagToList BUILDSTDERR: | ^^^^ BUILDSTDERR: GHC/SYB/Utils.hs:267:69: error: BUILDSTDERR: • Could not deduce (Data (XHsChar Var)) BUILDSTDERR: arising from a use of ‘list’ BUILDSTDERR: from the context: Data a BUILDSTDERR: bound by the type signature for: BUILDSTDERR: showData :: forall a. Data a => Stage -> Int -> a -> String BUILDSTDERR: at GHC/SYB/Utils.hs:230:1-49 BUILDSTDERR: • In the first argument of ‘(.)’, namely ‘list’ BUILDSTDERR: In the second argument of ‘(.)’, namely ‘list . bagToList’ BUILDSTDERR: In the second argument of ‘(.)’, namely BUILDSTDERR: ‘(++ "}") . list . bagToList’ BUILDSTDERR: | BUILDSTDERR: 267 | bagVar = ("{Bag(Located (HsBind Var)): "++) . (++"}") . list . bagToList BUILDSTDERR: | ^^^^ BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.ra5Dvy (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ra5Dvy (%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-ghc-syb-utils.spec