e --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-statistics '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --user '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Werror=implicit-function-declaration -optc-Werror=implicit-int -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/statistics-0.16.2.0 --user Configuring statistics-0.16.2.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for statistics-0.16.2.0.. Building library for statistics-0.16.2.0.. [ 1 of 49] Compiling Statistics.Correlation.Kendall [ 2 of 49] Compiling Statistics.Distribution.Poisson.Internal [ 3 of 49] Compiling Statistics.Function [ 4 of 49] Compiling Statistics.Internal [ 5 of 49] Compiling Statistics.Quantile [ 6 of 49] Compiling Statistics.Sample.Histogram [ 7 of 49] Compiling Statistics.Sample.Internal [ 8 of 49] Compiling Statistics.Distribution [ 9 of 49] Compiling Statistics.Distribution.Uniform [10 of 49] Compiling Statistics.Distribution.Transform [11 of 49] Compiling Statistics.Distribution.StudentT [12 of 49] Compiling Statistics.Distribution.Poisson [13 of 49] Compiling Statistics.Distribution.NegativeBinomial [14 of 49] Compiling Statistics.Distribution.Hypergeometric [15 of 49] Compiling Statistics.Distribution.Geometric [16 of 49] Compiling Statistics.Distribution.Gamma [17 of 49] Compiling Statistics.Distribution.FDistribution [18 of 49] Compiling Statistics.Distribution.DiscreteUniform [19 of 49] Compiling Statistics.Distribution.ChiSquared [20 of 49] Compiling Statistics.Distribution.CauchyLorentz [21 of 49] Compiling Statistics.Distribution.Binomial [22 of 49] Compiling Statistics.Distribution.Beta [23 of 49] Compiling Statistics.Sample.Powers [24 of 49] Compiling Statistics.Test.Internal [25 of 49] Compiling Statistics.Transform [26 of 49] Compiling Statistics.Sample.KernelDensity [27 of 49] Compiling Statistics.Types.Internal [28 of 49] Compiling Statistics.Sample [29 of 49] Compiling Statistics.Sample.Normalize [30 of 49] Compiling Statistics.Sample.KernelDensity.Simple [31 of 49] Compiling Statistics.Distribution.Weibull [32 of 49] Compiling Statistics.Distribution.Normal [33 of 49] Compiling Statistics.Types : error: Couldn't find a target code interpreter. Try with -fexternal-interpreter [45 of 49] Compiling Statistics.Distribution.Lognormal [46 of 49] Compiling Statistics.Distribution.Laplace [47 of 49] Compiling Statistics.Distribution.Exponential [48 of 49] Compiling Statistics.Correlation [49 of 49] Compiling Statistics.Autocorrelation error: Bad exit status from /var/tmp/rpm-tmp.nJzXh8 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.nJzXh8 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-statistics.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-statistics.spec