re-0.0-FwmgGSgQJ1R2TgOlva5zGa-ghc8.4.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for tagshare-0.0.. Running Haddock on library for tagshare-0.0.. BUILDSTDERR: Warning: --source-* options are ignored when --hyperlinked-source is enabled. Haddock coverage: 50% ( 5 / 10) in 'Control.Monad.TagShare' Missing documentation for: dynEmpty (Control/Monad/TagShare.hs:27) dynInsert (Control/Monad/TagShare.hs:30) dynLookup (Control/Monad/TagShare.hs:35) runSharing (Control/Monad/TagShare.hs:48) share (Control/Monad/TagShare.hs:51) Documentation created: dist/doc/html/tagshare/index.html, dist/doc/html/tagshare/tagshare.txt + ./Setup register --inplace Registering library for tagshare-0.0.. + cd .. + for i in tagshare-0.0 testing-feat-0.4.0.3 charset-0.3.7.1 BUILDSTDERR: ++ echo testing-feat-0.4.0.3 BUILDSTDERR: ++ sed -e 's/\(.*\)-.*/\1/' + name=testing-feat BUILDSTDERR: ++ echo testing-feat-0.4.0.3 BUILDSTDERR: ++ sed -e 's/.*-\(.*\)/\1/' + ver=0.4.0.3 + cd testing-feat-0.4.0.3 + case $name in + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -x Setup ']' + ghc --make -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.lhs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 2.2.0.1 + '[' -x Setup ']' + LANG=C.utf8 BUILDSTDERR: ++ sed -e 's/ / -optc/g' BUILDSTDERR: ++ echo ' -O2' -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection BUILDSTDERR: ++ echo ' -Wl,-z,relro' -Wl,--as-needed BUILDSTDERR: ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-language-ecmascript '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64 --user '--ghc-options= -optc-O2 -optc-g -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-D_FORTIFY_SOURCE=2 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-fexceptions -optc-fstack-protector-strong -optc-grecord-gcc-switches -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -optl-Wl,--as-needed' --disable-executable-stripping --disable-library-stripping -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/language-ecmascript-0.17.2.0 --docdir=/usr/share/licenses/ghc-testing-feat --htmldir=/usr/share/doc/ghc/html/libraries/testing-feat-0.4.0.3 --user Configuring testing-feat-0.4.0.3... BUILDSTDERR: Setup: Encountered missing dependencies: BUILDSTDERR: template-haskell >=2.5 && <2.13 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.RMAfyX (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.RMAfyX (%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-language-ecmascript.spec