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/ghcid.spec'], chrootPath='/var/lib/mock/f40-build-770420-125835/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/ghcid.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=1690070400 Wrote: /builddir/build/SRPMS/ghcid-0.8.9-1.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/ghcid.spec'], chrootPath='/var/lib/mock/f40-build-770420-125835/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/ghcid.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=1690070400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Q7w4WO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghcid-0.8.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ghcid-0.8.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ghcid-0.8.9 + rm -rf /builddir/build/BUILD/ghcid-0.8.9-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/ghcid-0.8.9-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.gMMS3u + 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 ghcid-0.8.9 ++ 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.txt -a -x CHANGES.txt ']' + 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.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 -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/ghcid '--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/ghcid-0.8.9 --global Configuring ghcid-0.8.9... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing test suite 'ghcid_test' for ghcid-0.8.9.. Building test suite 'ghcid_test' for ghcid-0.8.9.. [ 1 of 16] Compiling Language.Haskell.Ghcid.Escape [ 2 of 16] Compiling Language.Haskell.Ghcid.Terminal [ 3 of 16] Compiling Language.Haskell.Ghcid.Types [ 4 of 16] Compiling Language.Haskell.Ghcid.Parser [ 5 of 16] Compiling Language.Haskell.Ghcid.Util [ 6 of 16] Compiling Language.Haskell.Ghcid [ 7 of 16] Compiling Paths_ghcid [ 8 of 16] Compiling Session [ 9 of 16] Compiling Test.Common [10 of 16] Compiling Test.API [11 of 16] Compiling Test.Parser [12 of 16] Compiling Test.Util [13 of 16] Compiling Wait [14 of 16] Compiling Ghcid [15 of 16] Compiling Test.Ghcid [16 of 16] Compiling Test [17 of 17] Linking dist/build/ghcid_test/ghcid_test Preprocessing executable 'ghcid' for ghcid-0.8.9.. Building executable 'ghcid' for ghcid-0.8.9.. [ 1 of 10] Compiling Language.Haskell.Ghcid.Escape [ 2 of 10] Compiling Language.Haskell.Ghcid.Terminal [ 3 of 10] Compiling Language.Haskell.Ghcid.Types [ 4 of 10] Compiling Language.Haskell.Ghcid.Parser [ 5 of 10] Compiling Language.Haskell.Ghcid.Util [ 6 of 10] Compiling Language.Haskell.Ghcid [ 7 of 10] Compiling Paths_ghcid [ 8 of 10] Compiling Session [ 9 of 10] Compiling Wait [10 of 10] Compiling Ghcid [11 of 11] Linking dist/build/ghcid/ghcid Preprocessing library for ghcid-0.8.9.. Building library for ghcid-0.8.9.. [1 of 6] Compiling Language.Haskell.Ghcid.Escape [2 of 6] Compiling Language.Haskell.Ghcid.Types [3 of 6] Compiling Language.Haskell.Ghcid.Parser [4 of 6] Compiling Language.Haskell.Ghcid.Util [5 of 6] Compiling Language.Haskell.Ghcid [6 of 6] Compiling Paths_ghcid [1 of 6] Compiling Language.Haskell.Ghcid.Escape [2 of 6] Compiling Language.Haskell.Ghcid.Types [3 of 6] Compiling Language.Haskell.Ghcid.Parser [4 of 6] Compiling Language.Haskell.Ghcid.Util [5 of 6] Compiling Language.Haskell.Ghcid [6 of 6] Compiling Paths_ghcid + '[' -n dist/build/libHSghcid-0.8.9-HIqtZX6uIYdF081KGULUVD-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing test suite 'ghcid_test' for ghcid-0.8.9.. Preprocessing executable 'ghcid' for ghcid-0.8.9.. Preprocessing library for ghcid-0.8.9.. Running Haddock on library for ghcid-0.8.9.. 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, bytestring-0.11.4.0, clock-0.8.4, cmdargs-0.10.22, colour-2.3.6, deepseq-1.4.8.0, directory-1.3.7.1, extra-1.7.14, filepath-1.4.2.2, ghc-bignum-1.3, ghc-boot-th-9.4.5, ghc-prim-0.9.0, pretty-1.1.3.6, process-1.6.16.0, template-haskell-2.19.0.0, time-1.12.2, transformers-0.5.6.2, unix-2.7.3 Warning: --source-* options are ignored when --hyperlinked-source is enabled. 100% ( 17 / 17) in 'Language.Haskell.Ghcid' Warning: Language.Haskell.Ghcid: could not find link destinations for: - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Base.String - GHC.Maybe.Maybe - Data.Data.Data - Data.Data.gfoldl - Data.Data.gunfold - Data.Data.Constr - Data.Data.toConstr - Data.Data.dataTypeOf - Data.Data.DataType - Data.Data.dataCast1 - Data.Typeable.Internal.Typeable - Data.Data.dataCast2 - Data.Data.gmapT - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapQ - Data.Data.gmapQi - GHC.Types.Int - Data.Data.gmapM - GHC.Base.Monad - Data.Data.gmapMp - GHC.Base.MonadPlus - Data.Data.gmapMo - GHC.Exception.Type.Exception - GHC.Exception.Type.toException - GHC.Exception.Type.SomeException - GHC.Exception.Type.fromException - GHC.Exception.Type.displayException - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - GHC.Enum.Bounded - GHC.Enum.minBound - GHC.Enum.maxBound - GHC.Enum.Enum - GHC.Enum.succ - GHC.Enum.pred - GHC.Enum.toEnum - GHC.Enum.fromEnum - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo - GHC.Read.Read - GHC.Read.readsPrec - Text.ParserCombinators.ReadP.ReadS - GHC.Read.readList - GHC.Read.readPrec - Text.ParserCombinators.ReadPrec.ReadPrec - GHC.Read.readListPrec - GHC.IO.FilePath - Language.Haskell.Ghcid.Types.EvalResult - GHC.Types.IO - System.Process.Common.CreateProcess - System.Process.shell - System.Process.proc - System.Process.Common.ProcessHandle Documentation created: dist/doc/html/ghcid/index.html, dist/doc/html/ghcid/ghcid.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ySrg0Q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghcid-0.8.9-1.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 ghcid-0.8.9 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64 Installing executable ghcid in /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/bin Warning: Executable installed in /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/bin Installing library in /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/ghcid-0.8.9 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d ghcid-0.8.9.conf ']' + install -D --mode=0644 ghcid-0.8.9.conf /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/ghcid-0.8.9.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/ghcid-0.8.9.conf ']' + rm -f ghc-ghcid.files ghc-ghcid-doc.files + touch ghc-ghcid.files ghc-ghcid-doc.files + for i in /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5${subsubdir}/libHSghcid-0.8.9-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSghcid-0.8.9-HIqtZX6uIYdF081KGULUVD-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSghcid-0.8.9-HIqtZX6uIYdF081KGULUVD-ghc9.4.5.so + pkgdir=/builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/ghcid-0.8.9 + '[' -d /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/ghcid-0.8.9 ']' + find /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/ghcid-0.8.9 -type d -fprintf ghc-ghcid-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-ghcid-prof.files -o -fprint ghc-ghcid-devel.files + ls /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/ghcid-0.8.9.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/ghcid-0.8.9 + '[' -d /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/share/doc/ghc/html/libraries/ghcid-0.8.9 ']' + echo /usr/share/doc/ghc/html/libraries/ghcid-0.8.9 + for i in ghc-ghcid.files ghc-ghcid-devel.files ghc-ghcid-doc.files ghc-ghcid-prof.files + '[' -f ghc-ghcid.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64!!g' ghc-ghcid.files + for i in ghc-ghcid.files ghc-ghcid-devel.files ghc-ghcid-doc.files ghc-ghcid-prof.files + '[' -f ghc-ghcid-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64!!g' ghc-ghcid-devel.files + for i in ghc-ghcid.files ghc-ghcid-devel.files ghc-ghcid-doc.files ghc-ghcid-prof.files + '[' -f ghc-ghcid-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64!!g' ghc-ghcid-doc.files + for i in ghc-ghcid.files ghc-ghcid-devel.files ghc-ghcid-doc.files ghc-ghcid-prof.files + '[' -f ghc-ghcid-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64!!g' ghc-ghcid-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSghcid-0.8.9-HIqtZX6uIYdF081KGULUVD-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSghcid-0.8.9-HIqtZX6uIYdF081KGULUVD-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSghcid-0.8.9-HIqtZX6uIYdF081KGULUVD-ghc9.4.5.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.4.5/lib/riscv64-linux-ghc-9.4.5:/usr/lib64/ghc-9.4.5/lib + case "$rpath" in + for i in $(find /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/bin/ghcid ']' ++ chrpath /builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/bin/ghcid ++ sed -e 's@^/builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/bin/ghcid: R.*PATH=@@' + rpath='/builddir/build/BUILDROOT/ghcid-0.8.9-1.fc40.riscv64/usr/bin/ghcid: 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.TdAk0n + 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 ghcid-0.8.9 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup test Running 1 test suites... Test suite ghcid_test: RUNNING... Tests Utility tests dropPrefix Prefix not found: OK Empty prefix: OK Prefix found once: OK Prefix found twice: OK wordWrap Max 0: OK Max 2: OK Parser tests Show Modules: OK Show Paths: OK Load Parsing: OK GHC 8.2 Load Parsing: OK Load Parsing when -ferror-spans is enabled: OK Module cycle: OK Module cycle with itself: OK Escape codes as enabled by -fdiagnostics-color=always: OK Starting ghci with a non-existent filename: OK API test No files: %STDERR: : not built for interactive use %STDOUT2: : not built for interactive use : not built for interactive use FAIL Exception: UnexpectedExit {ghciErrorCmd = "ghci -ignore-dot-ghci", ghciErrorMsg = "", ghciErrorLastStdErr = Just ": not built for interactive use"} Use -p '/No files/' to rerun this test only. 1 out of 16 tests failed (0.47s) Test suite ghcid_test: FAIL Test suite logged to: dist/test/ghcid-0.8.9-ghcid_test.log 0 of 1 test suites (0 of 1 test cases) passed. error: Bad exit status from /var/tmp/rpm-tmp.TdAk0n (%check) Bad exit status from /var/tmp/rpm-tmp.TdAk0n (%check) RPM build errors: 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/ghcid.spec