Mock Version: 5.0
Mock Version: 5.0
Mock Version: 5.0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-statistics.spec'], chrootPath='/var/lib/mock/f39-build-2557504-62012/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff9256d0d0>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-statistics.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1690070400
Wrote: /builddir/build/SRPMS/ghc-statistics-0.16.2.0-15.fc39.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-statistics.spec'], chrootPath='/var/lib/mock/f39-build-2557504-62012/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff9256d0d0>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-statistics.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1690070400
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dwjXev
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf statistics-0.16.2.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/statistics-0.16.2.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd statistics-0.16.2.0
+ rm -rf /builddir/build/BUILD/statistics-0.16.2.0-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/statistics-0.16.2.0-SPECPARTS
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dense-linear-algebra-0.1.0.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.b1ldep
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd statistics-0.16.2.0
+ HOME=/builddir/build/BUILD/statistics-0.16.2.0
+ for i in dense-linear-algebra-0.1.0.0
++ sed -e 's/\(.*\)-.*/\1/'
++ echo dense-linear-algebra-0.1.0.0
+ name=dense-linear-algebra
++ echo dense-linear-algebra-0.1.0.0
++ sed -e 's/.*-\(.*\)/\1/'
+ ver=0.1.0.0
+ cd dense-linear-algebra-0.1.0.0
+ case $name in
++ ls
++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)'
+ for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)')
+ '[' -f README.md -a -x README.md ']'
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer '
+ export CFLAGS
+ export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed   -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ '[' -f Setup.hs -o -f Setup.lhs ']'
+ '[' -d /usr/lib64/ghc-9.4.5/lib ']'
+ subsubdir=/lib
+ '[' -x Setup ']'
+ ghc --make -package Cabal -no-user-package-db -dynamic Setup
[1 of 2] Compiling Main             ( Setup.hs, Setup.o )
[2 of 2] Linking Setup
+ LANG=C.utf8
+ ./Setup --version
Cabal library version 3.8.1.0
+ '[' -x Setup ']'
+ LANG=C.utf8
++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer
++ sed -e 's/ / -optc/g'
++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1
++ sed -e 's/ / -optl/g'
+ ./Setup configure --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-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-fstack-clash-protection -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 --docdir=/usr/share/licenses/ghc-dense-linear-algebra --htmldir=/usr/share/doc/ghc/html/libraries/dense-linear-algebra-0.1.0.0 --user
Configuring dense-linear-algebra-0.1.0.0...
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup build -j1
Preprocessing library for dense-linear-algebra-0.1.0.0..
Building library for dense-linear-algebra-0.1.0.0..
[1 of 5] Compiling Statistics.Matrix.Function
[2 of 5] Compiling Statistics.Matrix.Types
[3 of 5] Compiling Statistics.Matrix.Mutable
src/Statistics/Matrix/Mutable.hs:24:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
24 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[4 of 5] Compiling Statistics.Matrix
src/Statistics/Matrix.hs:50:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
50 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Statistics/Matrix.hs:96:5: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns of type ‘[Int]’ not matched: []
   |
96 |     nCol:ns = U.length <$> xs
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[5 of 5] Compiling Statistics.Matrix.Algorithms
src/Statistics/Matrix/Algorithms.hs:13:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
13 | import Control.Applicative ((<$>), (<*>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[1 of 5] Compiling Statistics.Matrix.Function
[2 of 5] Compiling Statistics.Matrix.Types
[3 of 5] Compiling Statistics.Matrix.Mutable
src/Statistics/Matrix/Mutable.hs:24:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
24 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[4 of 5] Compiling Statistics.Matrix
src/Statistics/Matrix.hs:50:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
50 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Statistics/Matrix.hs:96:5: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns of type ‘[Int]’ not matched: []
   |
96 |     nCol:ns = U.length <$> xs
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[5 of 5] Compiling Statistics.Matrix.Algorithms
src/Statistics/Matrix/Algorithms.hs:13:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
13 | import Control.Applicative ((<$>), (<*>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ '[' -n dist/build/libHSdense-linear-algebra-0.1.0.0-SMAVYpGmKuI1rn3JMHzvq-ghc9.4.5.so ']'
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup haddock --html --hyperlink-source --hoogle
Preprocessing library for dense-linear-algebra-0.1.0.0..
Running Haddock on library for dense-linear-algebra-0.1.0.0..
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: array-0.5.4.0, base-4.17.1.0,
binary-0.8.9.1, bitvec-1.1.4.0, bytestring-0.11.4.0, containers-0.6.7,
data-default-class-0.1.2.0, deepseq-1.4.8.0, ghc-bignum-1.3,
ghc-boot-th-9.4.5, ghc-prim-0.9.0, math-functions-0.3.4.2, pretty-1.1.3.6,
primitive-0.8.0.0, template-haskell-2.19.0.0, transformers-0.5.6.2,
vector-0.13.0.0, vector-algorithms-0.9.0.1, vector-binary-instances-0.2.5.2,
vector-stream-0.1.0.0, vector-th-unbox-0.2.2
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
src/Statistics/Matrix/Mutable.hs:24:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
24 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Statistics/Matrix.hs:50:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
50 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Statistics/Matrix/Algorithms.hs:13:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
13 | import Control.Applicative ((<$>), (<*>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  66% (  2 /  3) in 'Statistics.Matrix.Function'
  Missing documentation for:
    Module header
  50% (  3 /  6) in 'Statistics.Matrix.Types'
  Missing documentation for:
    Vector (src/Statistics/Matrix/Types.hs:25)
    MVector (src/Statistics/Matrix/Types.hs:26)
    debug (src/Statistics/Matrix/Types.hs:45)
  38% (  5 / 13) in 'Statistics.Matrix.Mutable'
  Missing documentation for:
    MVector (src/Statistics/Matrix/Types.hs:26)
    replicate (src/Statistics/Matrix/Mutable.hs:32)
    thaw (src/Statistics/Matrix/Mutable.hs:35)
    unsafeFreeze (src/Statistics/Matrix/Mutable.hs:38)
    unsafeRead (src/Statistics/Matrix/Mutable.hs:52)
    unsafeWrite (src/Statistics/Matrix/Mutable.hs:56)
    unsafeModify (src/Statistics/Matrix/Mutable.hs:61)
    immutably (src/Statistics/Matrix/Mutable.hs:82)
  91% ( 32 / 35) in 'Statistics.Matrix'
  Missing documentation for:
    Vector (src/Statistics/Matrix/Types.hs:25)
    transpose (src/Statistics/Matrix.hs:262)
    unsafeIndex (src/Statistics/Matrix.hs:233)
 100% (  2 /  2) in 'Statistics.Matrix.Algorithms'
Warning: Statistics.Matrix.Function: could not find link destinations for:
	- GHC.Types.Double
	- GHC.Base.Monad
	- GHC.Types.Int
Warning: Statistics.Matrix.Types: could not find link destinations for:
	- Data.Vector.Unboxed.Base.Vector
	- GHC.Types.Double
	- Data.Vector.Unboxed.Base.MVector
	- GHC.Types.Int
	- GHC.Show.Show
	- GHC.Show.showsPrec
	- GHC.Show.ShowS
	- GHC.Show.show
	- GHC.Base.String
	- GHC.Show.showList
	- GHC.Classes.Eq
	- GHC.Classes.==
	- GHC.Types.Bool
	- GHC.Classes./=
Warning: Statistics.Matrix.Mutable: could not find link destinations for:
	- GHC.Types.Int
	- Data.Vector.Unboxed.Base.MVector
	- GHC.Types.Double
	- GHC.ST.ST
	- Control.DeepSeq.NFData
Warning: Statistics.Matrix: could not find link destinations for:
	- GHC.Types.Int
	- GHC.Show.Show
	- GHC.Show.showsPrec
	- GHC.Show.ShowS
	- GHC.Show.show
	- GHC.Base.String
	- GHC.Show.showList
	- GHC.Classes.Eq
	- GHC.Classes.==
	- GHC.Types.Bool
	- GHC.Classes./=
	- Data.Vector.Unboxed.Base.Vector
	- GHC.Types.Double
	- GHC.Base.Monad
Documentation created: dist/doc/html/dense-linear-algebra/index.html,
dist/doc/html/dense-linear-algebra/dense-linear-algebra.txt
+ ./Setup register --inplace
Registering library for dense-linear-algebra-0.1.0.0..
+ cd ..
++ ls
++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)'
+ for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)')
+ '[' -f README.markdown -a -x README.markdown ']'
+ for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)')
+ '[' -f changelog.md -a -x changelog.md ']'
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer '
+ export CFLAGS
+ export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed   -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ '[' -f Setup.hs -o -f Setup.lhs ']'
+ '[' -d /usr/lib64/ghc-9.4.5/lib ']'
+ subsubdir=/lib
+ '[' -x Setup ']'
+ ghc --make -package Cabal -no-user-package-db -dynamic Setup
[1 of 2] Compiling Main             ( Setup.lhs, Setup.o )
[2 of 2] Linking Setup
+ LANG=C.utf8
+ ./Setup --version
Cabal library version 3.8.1.0
+ '[' -x Setup ']'
+ LANG=C.utf8
++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer
++ sed -e 's/ / -optc/g'
++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1
++ sed -e 's/ / -optl/g'
+ ./Setup configure --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-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-fstack-clash-protection -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
<no location info>: 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.b1ldep (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.b1ldep (%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 597, 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