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-prettyprinter-ansi-terminal.spec'], chrootPath='/var/lib/mock/f40-build-758820-119974/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-prettyprinter-ansi-terminal.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-prettyprinter-ansi-terminal-1.1.3-7.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-prettyprinter-ansi-terminal.spec'], chrootPath='/var/lib/mock/f40-build-758820-119974/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-prettyprinter-ansi-terminal.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.zx1tcq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prettyprinter-ansi-terminal-1.1.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/prettyprinter-ansi-terminal-1.1.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd prettyprinter-ansi-terminal-1.1.3 + rm -rf /builddir/build/BUILD/prettyprinter-ansi-terminal-1.1.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/prettyprinter-ansi-terminal-1.1.3-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.DVFxUH + 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 prettyprinter-ansi-terminal-1.1.3 ++ 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 CHANGELOG.md -a -x CHANGELOG.md ']' + 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 -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 -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/ / -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-prettyprinter-ansi-terminal '--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-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/prettyprinter-ansi-terminal-1.1.3 --global Configuring prettyprinter-ansi-terminal-1.1.3... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing test suite 'doctest' for prettyprinter-ansi-terminal-1.1.3.. Building test suite 'doctest' for prettyprinter-ansi-terminal-1.1.3.. [1 of 1] Compiling Main [2 of 2] Linking dist/build/doctest/doctest Preprocessing library for prettyprinter-ansi-terminal-1.1.3.. Building library for prettyprinter-ansi-terminal-1.1.3.. [1 of 4] Compiling Prettyprinter.Render.Terminal.Internal [2 of 4] Compiling Prettyprinter.Render.Terminal [3 of 4] Compiling Data.Text.Prettyprint.Doc.Render.Terminal [4 of 4] Compiling Data.Text.Prettyprint.Doc.Render.Terminal.Internal [1 of 4] Compiling Prettyprinter.Render.Terminal.Internal [2 of 4] Compiling Prettyprinter.Render.Terminal [3 of 4] Compiling Data.Text.Prettyprint.Doc.Render.Terminal [4 of 4] Compiling Data.Text.Prettyprint.Doc.Render.Terminal.Internal + '[' -n dist/build/libHSprettyprinter-ansi-terminal-1.1.3-1DZAuNbgBMM7pGZjFCR1oS-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing test suite 'doctest' for prettyprinter-ansi-terminal-1.1.3.. Preprocessing library for prettyprinter-ansi-terminal-1.1.3.. Running Haddock on library for prettyprinter-ansi-terminal-1.1.3.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: ansi-terminal-0.11.5, ansi-terminal-types-0.11.5, array-0.5.4.0, base-4.17.1.0, binary-0.8.9.1, bytestring-0.11.4.0, colour-2.3.6, containers-0.6.7, deepseq-1.4.8.0, ghc-bignum-1.3, ghc-boot-th-9.4.5, ghc-prim-0.9.0, pretty-1.1.3.6, prettyprinter-1.7.1, template-haskell-2.19.0.0, text-2.0.2 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Warning: '...' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 88% ( 24 / 27) in 'Prettyprinter.Render.Terminal.Internal' Missing documentation for: Bold (src/Prettyprinter/Render/Terminal/Internal.hs:90) Underlined (src/Prettyprinter/Render/Terminal/Internal.hs:91) Italicized (src/Prettyprinter/Render/Terminal/Internal.hs:92) Warning: 'SimpleDocStream' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Text' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'stdout' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 89% ( 25 / 28) in 'Prettyprinter.Render.Terminal' Missing documentation for: Bold (src/Prettyprinter/Render/Terminal/Internal.hs:90) Underlined (src/Prettyprinter/Render/Terminal/Internal.hs:91) Italicized (src/Prettyprinter/Render/Terminal/Internal.hs:92) 50% ( 1 / 2) in 'Data.Text.Prettyprint.Doc.Render.Terminal' Missing documentation for: Module header 50% ( 1 / 2) in 'Data.Text.Prettyprint.Doc.Render.Terminal.Internal' Missing documentation for: Module header Warning: Prettyprinter.Render.Terminal.Internal: could not find link destinations for: - GHC.Maybe.Maybe - GHC.Base.<> - Prettyprinter.Internal.annotate - GHC.Base.Monoid - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Base.Semigroup - GHC.Base.sconcat - GHC.Base.NonEmpty - GHC.Base.stimes - GHC.Real.Integral - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - Data.Text.Internal.Text - Prettyprinter.Internal.SimpleDocStream - Data.Text.Internal.Lazy.Text - GHC.IO.StdHandles.stdout - GHC.IO.Handle.Types.Handle - GHC.Types.IO - Prettyprinter.Internal.unAnnotate - Prettyprinter.Internal.Doc - Prettyprinter.Internal.defaultLayoutOptions - Prettyprinter.Internal.layoutPretty Warning: Prettyprinter.Render.Terminal: could not find link destinations for: - GHC.Base.<> - Prettyprinter.Internal.annotate - GHC.Base.Monoid - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Base.Semigroup - GHC.Base.sconcat - GHC.Base.NonEmpty - GHC.Base.stimes - GHC.Real.Integral - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - Prettyprinter.Internal.SimpleDocStream - Data.Text.Internal.Lazy.Text - Data.Text.Internal.Text - GHC.IO.Handle.Types.Handle - GHC.Types.IO - Prettyprinter.Internal.unAnnotate - Prettyprinter.Internal.Doc - Prettyprinter.Internal.defaultLayoutOptions - GHC.IO.StdHandles.stdout - Prettyprinter.Internal.layoutPretty Documentation created: dist/doc/html/prettyprinter-ansi-terminal/index.html, dist/doc/html/prettyprinter-ansi-terminal/prettyprinter-ansi-terminal.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gF8bSE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.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 prettyprinter-ansi-terminal-1.1.3 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/prettyprinter-ansi-terminal-1.1.3 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d prettyprinter-ansi-terminal-1.1.3.conf ']' + install -D --mode=0644 prettyprinter-ansi-terminal-1.1.3.conf /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/prettyprinter-ansi-terminal-1.1.3.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/prettyprinter-ansi-terminal-1.1.3.conf ']' + rm -f ghc-prettyprinter-ansi-terminal.files ghc-prettyprinter-ansi-terminal-doc.files + touch ghc-prettyprinter-ansi-terminal.files ghc-prettyprinter-ansi-terminal-doc.files + for i in /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5${subsubdir}/libHSprettyprinter-ansi-terminal-1.1.3-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSprettyprinter-ansi-terminal-1.1.3-1DZAuNbgBMM7pGZjFCR1oS-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSprettyprinter-ansi-terminal-1.1.3-1DZAuNbgBMM7pGZjFCR1oS-ghc9.4.5.so + pkgdir=/builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/prettyprinter-ansi-terminal-1.1.3 + '[' -d /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/prettyprinter-ansi-terminal-1.1.3 ']' + find /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/prettyprinter-ansi-terminal-1.1.3 -type d -fprintf ghc-prettyprinter-ansi-terminal-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-prettyprinter-ansi-terminal-prof.files -o -fprint ghc-prettyprinter-ansi-terminal-devel.files + ls /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/prettyprinter-ansi-terminal-1.1.3.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/prettyprinter-ansi-terminal-1.1.3 + '[' -d /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/share/doc/ghc/html/libraries/prettyprinter-ansi-terminal-1.1.3 ']' + echo /usr/share/doc/ghc/html/libraries/prettyprinter-ansi-terminal-1.1.3 + for i in ghc-prettyprinter-ansi-terminal.files ghc-prettyprinter-ansi-terminal-devel.files ghc-prettyprinter-ansi-terminal-doc.files ghc-prettyprinter-ansi-terminal-prof.files + '[' -f ghc-prettyprinter-ansi-terminal.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64!!g' ghc-prettyprinter-ansi-terminal.files + for i in ghc-prettyprinter-ansi-terminal.files ghc-prettyprinter-ansi-terminal-devel.files ghc-prettyprinter-ansi-terminal-doc.files ghc-prettyprinter-ansi-terminal-prof.files + '[' -f ghc-prettyprinter-ansi-terminal-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64!!g' ghc-prettyprinter-ansi-terminal-devel.files + for i in ghc-prettyprinter-ansi-terminal.files ghc-prettyprinter-ansi-terminal-devel.files ghc-prettyprinter-ansi-terminal-doc.files ghc-prettyprinter-ansi-terminal-prof.files + '[' -f ghc-prettyprinter-ansi-terminal-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64!!g' ghc-prettyprinter-ansi-terminal-doc.files + for i in ghc-prettyprinter-ansi-terminal.files ghc-prettyprinter-ansi-terminal-devel.files ghc-prettyprinter-ansi-terminal-doc.files ghc-prettyprinter-ansi-terminal-prof.files + '[' -f ghc-prettyprinter-ansi-terminal-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64!!g' ghc-prettyprinter-ansi-terminal-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSprettyprinter-ansi-terminal-1.1.3-1DZAuNbgBMM7pGZjFCR1oS-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSprettyprinter-ansi-terminal-1.1.3-1DZAuNbgBMM7pGZjFCR1oS-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-prettyprinter-ansi-terminal-1.1.3-7.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSprettyprinter-ansi-terminal-1.1.3-1DZAuNbgBMM7pGZjFCR1oS-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 + /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.dkuZUG + 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 prettyprinter-ansi-terminal-1.1.3 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup test Running 1 test suites... Test suite doctest: RUNNING... : not built for interactive use doctest: fd:27: hGetLine: end of file Test suite doctest: FAIL Test suite logged to: dist/test/prettyprinter-ansi-terminal-1.1.3-doctest.log 0 of 1 test suites (0 of 1 test cases) passed. error: Bad exit status from /var/tmp/rpm-tmp.dkuZUG (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.dkuZUG (%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-prettyprinter-ansi-terminal.spec