Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-doctest.spec'], chrootPath='/var/lib/mock/f40-build-744433-111705/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-doctest.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1690588800 Wrote: /builddir/build/SRPMS/ghc-doctest-0.20.1-4.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-doctest.spec'], chrootPath='/var/lib/mock/f40-build-744433-111705/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-doctest.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1690588800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LPbxh0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf doctest-0.20.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/doctest-0.20.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd doctest-0.20.1 + rm -rf /builddir/build/BUILD/doctest-0.20.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/doctest-0.20.1-SPECPARTS + /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.VIbS3u + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 doctest-0.20.1 ++ 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 CHANGES.markdown -a -x CHANGES.markdown ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fno-omit-frame-pointer ++ sed -e 's/-Wall //' -e 's/-Werror=format-security //' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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-doctest '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --enable-tests --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -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/doctest-0.20.1 --global Configuring doctest-0.20.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing test suite 'spec' for doctest-0.20.1.. Building test suite 'spec' for doctest-0.20.1.. [ 1 of 31] Compiling GhcUtil [ 2 of 31] Compiling Language.Haskell.GhciWrapper [ 3 of 31] Compiling Interpreter [ 4 of 31] Compiling InterpreterSpec [ 5 of 31] Compiling Location [ 6 of 31] Compiling LocationSpec [ 7 of 31] Compiling PackageDBs [ 8 of 31] Compiling PackageDBsSpec [ 9 of 31] Compiling Paths_doctest [10 of 31] Compiling Info [11 of 31] Compiling Options [12 of 31] Compiling OptionsSpec [13 of 31] Compiling InfoSpec [14 of 31] Compiling Util [15 of 31] Compiling Extract [16 of 31] Compiling Parse [17 of 31] Compiling Runner.Example [18 of 31] Compiling Runner.ExampleSpec [19 of 31] Compiling Property [20 of 31] Compiling Runner [21 of 31] Compiling RunnerSpec [22 of 31] Compiling Run [23 of 31] Compiling Test.DocTest [24 of 31] Compiling RunSpec [25 of 31] Compiling MainSpec [26 of 31] Compiling PropertySpec [27 of 31] Compiling Orphans [28 of 31] Compiling ParseSpec [29 of 31] Compiling ExtractSpec [30 of 31] Compiling UtilSpec [31 of 31] Compiling Main [32 of 32] Linking dist/build/spec/spec Preprocessing library for doctest-0.20.1.. Building library for doctest-0.20.1.. [ 1 of 16] Compiling GhcUtil [ 2 of 16] Compiling Language.Haskell.GhciWrapper [ 3 of 16] Compiling Interpreter [ 4 of 16] Compiling Location [ 5 of 16] Compiling PackageDBs [ 6 of 16] Compiling Paths_doctest [ 7 of 16] Compiling Info [ 8 of 16] Compiling Options [ 9 of 16] Compiling Util [10 of 16] Compiling Extract [11 of 16] Compiling Parse [12 of 16] Compiling Runner.Example [13 of 16] Compiling Property [14 of 16] Compiling Runner [15 of 16] Compiling Run [16 of 16] Compiling Test.DocTest [ 1 of 16] Compiling GhcUtil [ 2 of 16] Compiling Language.Haskell.GhciWrapper [ 3 of 16] Compiling Interpreter [ 4 of 16] Compiling Location [ 5 of 16] Compiling PackageDBs [ 6 of 16] Compiling Paths_doctest [ 7 of 16] Compiling Info [ 8 of 16] Compiling Options [ 9 of 16] Compiling Util [10 of 16] Compiling Extract [11 of 16] Compiling Parse [12 of 16] Compiling Runner.Example [13 of 16] Compiling Property [14 of 16] Compiling Runner [15 of 16] Compiling Run [16 of 16] Compiling Test.DocTest Preprocessing executable 'doctest' for doctest-0.20.1.. Building executable 'doctest' for doctest-0.20.1.. [1 of 2] Compiling Main [2 of 2] Compiling Paths_doctest [3 of 3] Linking dist/build/doctest/doctest + '[' -n dist/build/libHSdoctest-0.20.1-HTPKg4JBDViFRxvGzythoC-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing test suite 'spec' for doctest-0.20.1.. Preprocessing library for doctest-0.20.1.. Running Haddock on library for doctest-0.20.1.. 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, base-compat-0.12.3, binary-0.8.9.1, bytestring-0.11.4.0, code-page-0.2.1, containers-0.6.7, deepseq-1.4.8.0, directory-1.3.7.1, exceptions-0.10.5, filepath-1.4.2.2, ghc-9.4.5, ghc-bignum-1.3, ghc-boot-9.4.5, ghc-boot-th-9.4.5, ghc-heap-9.4.5, ghc-paths-0.1.0.12, ghc-prim-0.9.0, ghci-9.4.5, hpc-0.6.1.0, mtl-2.2.2, pretty-1.1.3.6, process-1.6.16.0, stm-2.5.1.0, syb-0.7.2.3, template-haskell-2.19.0.0, terminfo-0.4.1.5, time-1.12.2, transformers-0.5.6.2, unix-2.7.3 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Warning: Couldn't find .haddock for export ghc 50% ( 1 / 2) in 'Test.DocTest' Missing documentation for: Module header Warning: Test.DocTest: could not find link destinations for: - GHC.Base.String - GHC.Types.IO Documentation created: dist/doc/html/doctest/index.html, dist/doc/html/doctest/doctest.txt Preprocessing executable 'doctest' for doctest-0.20.1.. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DQgyE7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 doctest-0.20.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/doctest-0.20.1 Installing executable doctest in /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/bin Warning: Executable installed in /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/bin + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d doctest-0.20.1.conf ']' + install -D --mode=0644 doctest-0.20.1.conf /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/doctest-0.20.1.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib ++ ls /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/doctest-0.20.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/doctest-0.20.1.conf ']' + rm -f ghc-doctest.files ghc-doctest-doc.files + touch ghc-doctest.files ghc-doctest-doc.files + for i in /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5${subsubdir}/libHSdoctest-0.20.1-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSdoctest-0.20.1-HTPKg4JBDViFRxvGzythoC-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSdoctest-0.20.1-HTPKg4JBDViFRxvGzythoC-ghc9.4.5.so + pkgdir=/usr/lib64/ghc-9.4.5/lib/doctest-0.20.1 + '[' -d /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/doctest-0.20.1 ']' + find /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/doctest-0.20.1 -type d -fprintf ghc-doctest-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-doctest-prof.files -o -fprint ghc-doctest-devel.files + ls /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/doctest-0.20.1.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/doctest-0.20.1 + '[' -d /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/share/doc/ghc/html/libraries/doctest-0.20.1 ']' + echo /usr/share/doc/ghc/html/libraries/doctest-0.20.1 + for i in ghc-doctest.files ghc-doctest-devel.files ghc-doctest-doc.files ghc-doctest-prof.files + '[' -f ghc-doctest.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64!!g' ghc-doctest.files + for i in ghc-doctest.files ghc-doctest-devel.files ghc-doctest-doc.files ghc-doctest-prof.files + '[' -f ghc-doctest-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64!!g' ghc-doctest-devel.files + for i in ghc-doctest.files ghc-doctest-devel.files ghc-doctest-doc.files ghc-doctest-prof.files + '[' -f ghc-doctest-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64!!g' ghc-doctest-doc.files + for i in ghc-doctest.files ghc-doctest-devel.files ghc-doctest-doc.files ghc-doctest-prof.files + '[' -f ghc-doctest-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64!!g' ghc-doctest-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSdoctest-0.20.1-HTPKg4JBDViFRxvGzythoC-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSdoctest-0.20.1-HTPKg4JBDViFRxvGzythoC-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSdoctest-0.20.1-HTPKg4JBDViFRxvGzythoC-ghc9.4.5.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.4.5/lib:/usr/lib64/ghc-9.4.5/lib/riscv64-linux-ghc-9.4.5 + case "$rpath" in + for i in $(find /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/bin/doctest ']' ++ chrpath /builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/bin/doctest ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/bin/doctest: R.*PATH=@@' + rpath='/builddir/build/BUILDROOT/ghc-doctest-0.20.1-4.fc40.riscv64/usr/bin/doctest: no rpath or runpath tag found.' + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Fgg7c6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 doctest-0.20.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup test Running 1 test suites... Test suite spec: RUNNING... Extract extract extracts documentation for a top-level declaration [✔] extracts documentation from argument list [✔] extracts documentation for a type class function [✔] extracts documentation from the argument list of a type class function [✔] extracts documentation from the module header [✔] extracts documentation from imported modules [✔] extracts documentation from export list [✔] extracts documentation from named chunks [✔] returns docstrings in the same order they appear in the source [✔] extracts $setup code [✔] fails on invalid flags [✔] extract (regression tests) works with infix operators [✔] works with parallel list comprehensions [✔] works with list comprehensions in instance definitions [✔] works with foreign imports [✔] works for rewrite rules [✔] works for rewrite rules with type signatures [✔] strips CR from dos line endings [✔] works with a module that splices in an expression from an other module [✔] works for type families and GHC 7.6.1 [✔] Info formatInfo formats --info output [✔] Interpreter interpreterSupported indicates whether GHCi is supported on current platform [✔] ghcInfo includes "Have interpreter" [✔] safeEval : not built for interactive use evaluates an expression [✘] : not built for interactive use returns Left on unterminated multiline command [✘] filterExpression removes :set -XTemplateHaskell [✔] filters -XTemplateHaskell [✔] leaves :set-statement that do not set -XTemplateHaskell alone [✔] Location toLocation works for a regular SrcSpan [✔] works for a single-line SrcSpan [✔] works for a SrcSpan that corresponds to single point [✔] works for a bad SrcSpan [✔] works for a SrcLoc with bad locations [✔] enumerate replicates UnhelpfulLocation [✔] enumerates Location [✔] Main doctest testSimple [✘] it-variable [✘] it-variable in $setup [✘] failing [✘] skips subsequent examples from the same group if an example fails [✘] testImport [✘] testCommentLocation [✘] testPutStr [✘] fails on multi-line expressions, introduced with :{ [✘] testBlankline [✘] examples from the same Haddock comment share the same scope [✘] testDocumentationForArguments [✘] template-haskell [✘] handles source files with CRLF line endings [✘] runs $setup before each test group [✘] skips subsequent tests from a module, if $setup fails [✘] ignores trailing whitespace when matching test output [✘] doctest as a runner for QuickCheck properties runs a boolean property [✘] runs an explicitly quantified property [✘] runs an implicitly quantified property [✘] reports a failing property [✘] runs a boolean property with an explicit type signature [✘] runs $setup before each property [✘] doctest (regression tests) bugfixWorkingDirectory [✘] bugfixOutputToStdErr [✘] bugfixImportHierarchical [✘] bugfixMultipleModules [✘] testCPP [✘] template-haskell-bugfix [✘] doesn't clash with user bindings of stdout/stderr [✘] doesn't get confused by doctests using System.IO imports [✘] Options parseOptions strips --optghc [✔] strips --optghc= [✔] with ghc options that are not valid with --interactive returns RunGhc [✔] +++ OK, passed 100 tests. with --interactive disables magic mode [✔] filters out --interactive [✔] --no-magic without --no-magic enables magic mode [✔] with --no-magic disables magic mode [✔] --fast without --fast disables fast mode [✔] with --fast enabled fast mode [✔] --preserve-it without --preserve-it does not preserve the `it` variable [✔] with --preserve-it preserves the `it` variable [✔] with --help outputs usage information [✔] with --version outputs version information [✔] with --info outputs machine readable version information [✔] --verbose without --verbose is not verbose by default [✔] with --verbose parses verbose option [✔] PackageDBs getPackageDBsFromEnv uses global and user when no env used [✔] respects GHC_PACKAGE_PATH [✔] Parse getDocTests extracts properties from a module [✔] extracts examples from a module [✔] extracts examples from documentation for non-exported names [✔] extracts multiple examples from a module [✔] returns an empty list, if documentation contains no examples [✔] sets setup code to Nothing, if it does not contain any tests [✔] keeps modules that only contain setup code [✔] parseInteractions (an internal function) parses an interaction [✔] drops whitespace as appropriate [✔] parses an interaction without a result [✔] works with a complex example [✔] attaches location information to parsed interactions [✔] basic multiline [✔] multiline align output [✔] multiline align output with >>> [✔] parses wild cards lines [✔] parses wild card chunks [✔] parseProperties (an internal function) parses a property [✔] mkLineChunks (an internal function) replaces ellipsis with WildCardChunks [✔] doesn't replace fewer than 3 consecutive dots [✔] handles leading and trailing dots [✔] handles leading and trailing ellipsis [✔] Property runProperty : not built for interactive use reports a failing property [✘] : not built for interactive use runs a Bool property [✘] : not built for interactive use runs a Bool property with an explicit type signature [✘] : not built for interactive use runs an implicitly quantified property [✘] : not built for interactive use runs an implicitly quantified property even with GHC 7.4 [✘] : not built for interactive use runs an explicitly quantified property [✘] : not built for interactive use allows to mix implicit and explicit quantification [✘] : not built for interactive use reports the value for which a property fails [✘] : not built for interactive use reports the values for which a property that takes multiple arguments fails [✘] : not built for interactive use defaults ambiguous type variables to Integer [✘] freeVariables : not built for interactive use finds a free variables in a term [✘] : not built for interactive use ignores duplicates [✘] : not built for interactive use works for terms with multiple names [✘] : not built for interactive use works for names that contain a prime [✘] : not built for interactive use works for names that are similar to other names that are in scope [✘] parseNotInScope when error message was produced by GHC 7.4.1 extracts a variable name of variable that is not in scope from an error message [✔] ignores duplicates [✔] works for variable names that contain a prime [✔] works for error messages with suggestions [✔] when error message was produced by GHC 8.0.1 extracts a variable name of variable that is not in scope from an error message [✔] ignores duplicates [✔] works for variable names that contain a prime [✔] works for error messages with suggestions [✔] Run doctest exits with ExitFailure if at least one test case fails [✘] prints help on --help [✔] prints version on --version [✔] accepts arbitrary GHC options [✘] accepts GHC options with --optghc [✘] prints a deprecation message for --optghc [✘] prints error message on invalid option [✔] prints verbose description of a specification [✘] prints verbose description of a property [✘] prints verbose error [✘] can deal with potentially problematic GHC options [✘] doctestWithOptions on parse error aborts with (ExitFailure 1) [✔] prints a useful error message [✔] expandDirs expands a directory [✔] ignores files [✔] ignores random things [✔] Runner report when mode is interactive writes to stderr [✔] overwrites any intermediate output [✔] blank out intermediate output if necessary [✔] when mode is non-interactive writes to stderr [✔] report_ when mode is interactive writes intermediate output to stderr [✔] overwrites any intermediate output [✔] blank out intermediate output if necessary [✔] when mode is non-interactive is ignored [✔] does not influence a subsequent call to `report` [✔] does not require `report` to blank out any intermediate output [✔] Runner.Example mkResult returns Equal when output matches [✔] +++ OK, passed 100 tests. ignores trailing whitespace [✔] with WildCardLine matches zero lines [✔] matches first zero line [✔] matches final zero line [✔] matches an arbitrary number of lines [✔] matches an arbitrary number of lines (quickcheck) [✔] +++ OK, passed 100 tests. with WildCardChunk matches an arbitrary line chunk [✔] matches an arbitrary line chunk at end [✔] does not match at end [✔] does not match at start [✔] when output does not match constructs failure message [✔] constructs failure message for multi-line output [✔] when any output line contains "unsafe" characters uses show to format output lines [✔] insert caret after last matching character on different lengths [✔] insert caret after mismatching line for multi-line output [✔] insert caret after mismatching line with the longest match for multi-line wildcard pattern [✔] insert caret after longest match for wildcard [✔] show expanded pattern for long matches [✔] Util convertDosLineEndings converts CRLF to LF [✔] strips a trailing CR [✔] takeWhileEnd returns the longest suffix of elements that satisfy a given predicate [✔] Failures: test/InterpreterSpec.hs:26:5: 1) Interpreter.safeEval evaluates an expression uncaught exception: IOException of type EOF fd:15: hGetLine: end of file To rerun use: --match "/Interpreter/safeEval/evaluates an expression/" test/InterpreterSpec.hs:29:5: 2) Interpreter.safeEval returns Left on unterminated multiline command uncaught exception: IOException of type EOF fd:17: hGetLine: end of file To rerun use: --match "/Interpreter/safeEval/returns Left on unterminated multiline command/" test/MainSpec.hs:43:5: 3) Main.doctest testSimple uncaught exception: IOException of type EOF fd:19: hGetLine: end of file To rerun use: --match "/Main/doctest/testSimple/" test/MainSpec.hs:47:5: 4) Main.doctest it-variable uncaught exception: IOException of type EOF fd:22: hGetLine: end of file To rerun use: --match "/Main/doctest/it-variable/" test/MainSpec.hs:51:5: 5) Main.doctest it-variable in $setup uncaught exception: IOException of type EOF fd:25: hGetLine: end of file To rerun use: --match "/Main/doctest/it-variable in $setup/" test/MainSpec.hs:55:5: 6) Main.doctest failing uncaught exception: IOException of type EOF fd:21: hGetLine: end of file To rerun use: --match "/Main/doctest/failing/" test/MainSpec.hs:59:5: 7) Main.doctest skips subsequent examples from the same group if an example fails uncaught exception: IOException of type EOF fd:23: hGetLine: end of file To rerun use: --match "/Main/doctest/skips subsequent examples from the same group if an example fails/" test/MainSpec.hs:63:5: 8) Main.doctest testImport uncaught exception: IOException of type EOF fd:27: hGetLine: end of file To rerun use: --match "/Main/doctest/testImport/" test/MainSpec.hs:69:5: 9) Main.doctest testCommentLocation uncaught exception: IOException of type EOF fd:28: hGetLine: end of file To rerun use: --match "/Main/doctest/testCommentLocation/" test/MainSpec.hs:73:5: 10) Main.doctest testPutStr uncaught exception: IOException of type EOF fd:31: hGetLine: end of file To rerun use: --match "/Main/doctest/testPutStr/" test/MainSpec.hs:77:5: 11) Main.doctest fails on multi-line expressions, introduced with :{ uncaught exception: IOException of type EOF fd:26: hGetLine: end of file To rerun use: --match "/Main/doctest/fails on multi-line expressions, introduced with :{/" test/MainSpec.hs:81:5: 12) Main.doctest testBlankline uncaught exception: IOException of type EOF fd:24: hGetLine: end of file To rerun use: --match "/Main/doctest/testBlankline/" test/MainSpec.hs:85:5: 13) Main.doctest examples from the same Haddock comment share the same scope uncaught exception: IOException of type EOF fd:29: hGetLine: end of file To rerun use: --match "/Main/doctest/examples from the same Haddock comment share the same scope/" test/MainSpec.hs:89:5: 14) Main.doctest testDocumentationForArguments uncaught exception: IOException of type EOF fd:33: hGetLine: end of file To rerun use: --match "/Main/doctest/testDocumentationForArguments/" test/MainSpec.hs:93:5: 15) Main.doctest template-haskell uncaught exception: IOException of type EOF fd:34: hGetLine: end of file To rerun use: --match "/Main/doctest/template-haskell/" test/MainSpec.hs:97:5: 16) Main.doctest handles source files with CRLF line endings uncaught exception: IOException of type EOF fd:37: hGetLine: end of file To rerun use: --match "/Main/doctest/handles source files with CRLF line endings/" test/MainSpec.hs:101:5: 17) Main.doctest runs $setup before each test group uncaught exception: IOException of type EOF fd:32: hGetLine: end of file To rerun use: --match "/Main/doctest/runs $setup before each test group/" test/MainSpec.hs:105:5: 18) Main.doctest skips subsequent tests from a module, if $setup fails uncaught exception: IOException of type EOF fd:30: hGetLine: end of file To rerun use: --match "/Main/doctest/skips subsequent tests from a module, if $setup fails/" test/MainSpec.hs:122:5: 19) Main.doctest ignores trailing whitespace when matching test output uncaught exception: IOException of type EOF fd:38: hGetLine: end of file To rerun use: --match "/Main/doctest/ignores trailing whitespace when matching test output/" test/MainSpec.hs:127:5: 20) Main, doctest as a runner for QuickCheck properties, runs a boolean property uncaught exception: IOException of type EOF fd:39: hGetLine: end of file To rerun use: --match "/Main/doctest as a runner for QuickCheck properties/runs a boolean property/" test/MainSpec.hs:131:5: 21) Main, doctest as a runner for QuickCheck properties, runs an explicitly quantified property uncaught exception: IOException of type EOF fd:35: hGetLine: end of file To rerun use: --match "/Main/doctest as a runner for QuickCheck properties/runs an explicitly quantified property/" test/MainSpec.hs:135:5: 22) Main, doctest as a runner for QuickCheck properties, runs an implicitly quantified property uncaught exception: IOException of type EOF fd:42: hGetLine: end of file To rerun use: --match "/Main/doctest as a runner for QuickCheck properties/runs an implicitly quantified property/" test/MainSpec.hs:139:5: 23) Main, doctest as a runner for QuickCheck properties, reports a failing property uncaught exception: IOException of type EOF fd:40: hGetLine: end of file To rerun use: --match "/Main/doctest as a runner for QuickCheck properties/reports a failing property/" test/MainSpec.hs:143:5: 24) Main, doctest as a runner for QuickCheck properties, runs a boolean property with an explicit type signature uncaught exception: IOException of type EOF fd:43: hGetLine: end of file To rerun use: --match "/Main/doctest as a runner for QuickCheck properties/runs a boolean property with an explicit type signature/" test/MainSpec.hs:147:5: 25) Main, doctest as a runner for QuickCheck properties, runs $setup before each property uncaught exception: IOException of type EOF fd:36: hGetLine: end of file To rerun use: --match "/Main/doctest as a runner for QuickCheck properties/runs $setup before each property/" test/MainSpec.hs:152:5: 26) Main, doctest (regression tests), bugfixWorkingDirectory uncaught exception: IOException of type EOF fd:45: hGetLine: end of file To rerun use: --match "/Main/doctest (regression tests)/bugfixWorkingDirectory/" test/MainSpec.hs:158:5: 27) Main, doctest (regression tests), bugfixOutputToStdErr uncaught exception: IOException of type EOF fd:41: hGetLine: end of file To rerun use: --match "/Main/doctest (regression tests)/bugfixOutputToStdErr/" test/MainSpec.hs:162:5: 28) Main, doctest (regression tests), bugfixImportHierarchical uncaught exception: IOException of type EOF fd:44: hGetLine: end of file To rerun use: --match "/Main/doctest (regression tests)/bugfixImportHierarchical/" test/MainSpec.hs:166:5: 29) Main, doctest (regression tests), bugfixMultipleModules uncaught exception: IOException of type EOF fd:48: hGetLine: end of file To rerun use: --match "/Main/doctest (regression tests)/bugfixMultipleModules/" test/MainSpec.hs:170:5: 30) Main, doctest (regression tests), testCPP uncaught exception: IOException of type EOF fd:49: hGetLine: end of file To rerun use: --match "/Main/doctest (regression tests)/testCPP/" test/MainSpec.hs:176:5: 31) Main, doctest (regression tests), template-haskell-bugfix uncaught exception: IOException of type EOF fd:46: hGetLine: end of file To rerun use: --match "/Main/doctest (regression tests)/template-haskell-bugfix/" test/MainSpec.hs:180:5: 32) Main, doctest (regression tests), doesn't clash with user bindings of stdout/stderr uncaught exception: IOException of type EOF fd:47: hGetLine: end of file To rerun use: --match "/Main/doctest (regression tests)/doesn't clash with user bindings of stdout/stderr/" test/MainSpec.hs:184:5: 33) Main, doctest (regression tests), doesn't get confused by doctests using System.IO imports uncaught exception: IOException of type EOF fd:52: hGetLine: end of file To rerun use: --match "/Main/doctest (regression tests)/doesn't get confused by doctests using System.IO imports/" test/PropertySpec.hs:20:5: 34) Property.runProperty reports a failing property uncaught exception: IOException of type EOF fd:16: hGetLine: end of file To rerun use: --match "/Property/runProperty/reports a failing property/" test/PropertySpec.hs:23:5: 35) Property.runProperty runs a Bool property uncaught exception: IOException of type EOF fd:20: hGetLine: end of file To rerun use: --match "/Property/runProperty/runs a Bool property/" test/PropertySpec.hs:26:5: 36) Property.runProperty runs a Bool property with an explicit type signature uncaught exception: IOException of type EOF fd:51: hGetLine: end of file To rerun use: --match "/Property/runProperty/runs a Bool property with an explicit type signature/" test/PropertySpec.hs:29:5: 37) Property.runProperty runs an implicitly quantified property uncaught exception: IOException of type EOF fd:54: hGetLine: end of file To rerun use: --match "/Property/runProperty/runs an implicitly quantified property/" test/PropertySpec.hs:32:5: 38) Property.runProperty runs an implicitly quantified property even with GHC 7.4 uncaught exception: IOException of type EOF fd:56: hGetLine: end of file To rerun use: --match "/Property/runProperty/runs an implicitly quantified property even with GHC 7.4/" test/PropertySpec.hs:38:5: 39) Property.runProperty runs an explicitly quantified property uncaught exception: IOException of type EOF fd:58: hGetLine: end of file To rerun use: --match "/Property/runProperty/runs an explicitly quantified property/" test/PropertySpec.hs:41:5: 40) Property.runProperty allows to mix implicit and explicit quantification uncaught exception: IOException of type EOF fd:60: hGetLine: end of file To rerun use: --match "/Property/runProperty/allows to mix implicit and explicit quantification/" test/PropertySpec.hs:44:5: 41) Property.runProperty reports the value for which a property fails uncaught exception: IOException of type EOF fd:62: hGetLine: end of file To rerun use: --match "/Property/runProperty/reports the value for which a property fails/" test/PropertySpec.hs:47:5: 42) Property.runProperty reports the values for which a property that takes multiple arguments fails uncaught exception: IOException of type EOF fd:64: hGetLine: end of file To rerun use: --match "/Property/runProperty/reports the values for which a property that takes multiple arguments fails/" test/PropertySpec.hs:51:5: 43) Property.runProperty defaults ambiguous type variables to Integer uncaught exception: IOException of type EOF fd:66: hGetLine: end of file To rerun use: --match "/Property/runProperty/defaults ambiguous type variables to Integer/" test/PropertySpec.hs:55:5: 44) Property.freeVariables finds a free variables in a term uncaught exception: IOException of type EOF fd:68: hGetLine: end of file To rerun use: --match "/Property/freeVariables/finds a free variables in a term/" test/PropertySpec.hs:58:5: 45) Property.freeVariables ignores duplicates uncaught exception: IOException of type EOF fd:70: hGetLine: end of file To rerun use: --match "/Property/freeVariables/ignores duplicates/" test/PropertySpec.hs:61:5: 46) Property.freeVariables works for terms with multiple names uncaught exception: IOException of type EOF fd:72: hGetLine: end of file To rerun use: --match "/Property/freeVariables/works for terms with multiple names/" test/PropertySpec.hs:64:5: 47) Property.freeVariables works for names that contain a prime uncaught exception: IOException of type EOF fd:74: hGetLine: end of file To rerun use: --match "/Property/freeVariables/works for names that contain a prime/" test/PropertySpec.hs:67:5: 48) Property.freeVariables works for names that are similar to other names that are in scope uncaught exception: IOException of type EOF fd:76: hGetLine: end of file To rerun use: --match "/Property/freeVariables/works for names that are similar to other names that are in scope/" test/RunSpec.hs:45:5: 49) Run.doctest exits with ExitFailure if at least one test case fails uncaught exception: IOException of type EOF fd:53: hGetLine: end of file To rerun use: --match "/Run/doctest/exits with ExitFailure if at least one test case fails/" test/RunSpec.hs:56:5: 50) Run.doctest accepts arbitrary GHC options uncaught exception: IOException of type EOF fd:61: hGetLine: end of file To rerun use: --match "/Run/doctest/accepts arbitrary GHC options/" test/RunSpec.hs:59:5: 51) Run.doctest accepts GHC options with --optghc uncaught exception: IOException of type EOF fd:59: hGetLine: end of file To rerun use: --match "/Run/doctest/accepts GHC options with --optghc/" test/RunSpec.hs:62:5: 52) Run.doctest prints a deprecation message for --optghc uncaught exception: IOException of type EOF fd:65: hGetLine: end of file To rerun use: --match "/Run/doctest/prints a deprecation message for --optghc/" test/RunSpec.hs:77:5: 53) Run.doctest prints verbose description of a specification uncaught exception: IOException of type EOF fd:63: hGetLine: end of file To rerun use: --match "/Run/doctest/prints verbose description of a specification/" test/RunSpec.hs:89:5: 54) Run.doctest prints verbose description of a property uncaught exception: IOException of type EOF fd:71: hGetLine: end of file To rerun use: --match "/Run/doctest/prints verbose description of a property/" test/RunSpec.hs:101:5: 55) Run.doctest prints verbose error uncaught exception: IOException of type EOF fd:75: hGetLine: end of file To rerun use: --match "/Run/doctest/prints verbose error/" test/RunSpec.hs:118:5: 56) Run.doctest can deal with potentially problematic GHC options uncaught exception: IOException of type EOF fd:79: hGetLine: end of file To rerun use: --match "/Run/doctest/can deal with potentially problematic GHC options/" Randomized with seed 131143685 Finished in 54.3093 seconds 177 examples, 56 failures Test suite spec: FAIL Test suite logged to: dist/test/doctest-0.20.1-spec.log 0 of 1 test suites (0 of 1 test cases) passed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Fgg7c6 (%check) Bad exit status from /var/tmp/rpm-tmp.Fgg7c6 (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/ghc-doctest.spec