Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghcid.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1149569-30478/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=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/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=1676505600 Wrote: /builddir/build/SRPMS/ghcid-0.8.7-11.fc38.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/ghcid.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1149569-30478/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=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/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=1676505600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Jgpljz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghcid-0.8.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ghcid-0.8.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ghcid-0.8.7 + /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.N2xSS0 + 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 -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 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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.7 ++ 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 -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.2.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.6.3.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/ghcid '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/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-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/ghcid-0.8.7 --global Warning: ghcid.cabal:1:28: Packages with 'cabal-version: 1.12' or later should specify a specific version of the Cabal spec of the form 'cabal-version: x.y'. Use 'cabal-version: 1.18'. Configuring ghcid-0.8.7... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for ghcid-0.8.7.. Building library for ghcid-0.8.7.. [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 Preprocessing executable 'ghcid' for ghcid-0.8.7.. Building executable 'ghcid' for ghcid-0.8.7.. [ 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 Linking dist/build/ghcid/ghcid ... Preprocessing test suite 'ghcid_test' for ghcid-0.8.7.. Building test suite 'ghcid_test' for ghcid-0.8.7.. [ 1 of 15] Compiling Language.Haskell.Ghcid.Escape [ 2 of 15] Compiling Language.Haskell.Ghcid.Terminal [ 3 of 15] Compiling Language.Haskell.Ghcid.Types [ 4 of 15] Compiling Language.Haskell.Ghcid.Parser [ 5 of 15] Compiling Language.Haskell.Ghcid.Util [ 6 of 15] Compiling Language.Haskell.Ghcid [ 7 of 15] Compiling Paths_ghcid [ 8 of 15] Compiling Session [ 9 of 15] Compiling Test.API [10 of 15] Compiling Test.Parser [11 of 15] Compiling Test.Util [12 of 15] Compiling Wait [13 of 15] Compiling Ghcid [14 of 15] Compiling Test.Ghcid [15 of 15] Compiling Test Linking dist/build/ghcid_test/ghcid_test ... + '[' -n dist/build/libHSghcid-0.8.7-GOf5c2R8Qo652ZDg9RLNBA-ghc9.2.6.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for ghcid-0.8.7.. Running Haddock on library for ghcid-0.8.7.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: ansi-terminal-0.11.4, array-0.5.4.0, base-4.16.4.0, bytestring-0.11.4.0, clock-0.8.3, cmdargs-0.10.21, colour-2.3.6, deepseq-1.4.6.1, directory-1.3.6.2, extra-1.7.12, filepath-1.4.2.2, ghc-bignum-1.2, ghc-boot-th-9.2.6, ghc-prim-0.8.0, pretty-1.1.3.6, process-1.6.16.0, template-haskell-2.18.0.0, time-1.11.1.1, transformers-0.5.6.2, unix-2.7.2.2 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 Preprocessing executable 'ghcid' for ghcid-0.8.7.. Preprocessing test suite 'ghcid_test' for ghcid-0.8.7.. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VysCRl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64 + 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 -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 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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.7 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64 Installing library in /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/ghcid-0.8.7 Installing executable ghcid in /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/bin Warning: Executable installed in /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/bin + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib + '[' -d ghcid-0.8.7.conf ']' + install -D --mode=0644 ghcid-0.8.7.conf /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/ghcid-0.8.7.conf + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib ++ ls /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/ghcid-0.8.7.conf + '[' -z /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/ghcid-0.8.7.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.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6${subsubdir}/libHSghcid-0.8.7-*ghc9.2.6.so + '[' -x /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSghcid-0.8.7-GOf5c2R8Qo652ZDg9RLNBA-ghc9.2.6.so ']' + echo /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSghcid-0.8.7-GOf5c2R8Qo652ZDg9RLNBA-ghc9.2.6.so + pkgdir=/usr/lib64/ghc-9.2.6/lib/ghcid-0.8.7 + '[' -d /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/ghcid-0.8.7 ']' + find /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/ghcid-0.8.7 -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.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/ghcid-0.8.7.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/ghcid-0.8.7 + '[' -d /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/share/doc/ghc/html/libraries/ghcid-0.8.7 ']' + echo /usr/share/doc/ghc/html/libraries/ghcid-0.8.7 + 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.7-11.fc38.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.7-11.fc38.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.7-11.fc38.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.7-11.fc38.riscv64!!g' ghc-ghcid-prof.files + echo 'running ghc_delete_rpaths:' running ghc_delete_rpaths: + type chrpath ++ find /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSghcid-0.8.7-GOf5c2R8Qo652ZDg9RLNBA-ghc9.2.6.so ']' ++ chrpath /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSghcid-0.8.7-GOf5c2R8Qo652ZDg9RLNBA-ghc9.2.6.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSghcid-0.8.7-GOf5c2R8Qo652ZDg9RLNBA-ghc9.2.6.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.2.6/lib/riscv64-linux-ghc-9.2.6:/usr/lib64/ghc-9.2.6/lib + case "$rpath" in + for i in $(find /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/bin/ghcid ']' ++ chrpath /builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/bin/ghcid ++ sed -e 's@^/builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.riscv64/usr/bin/ghcid: R.*PATH=@@' + rpath='/builddir/build/BUILDROOT/ghcid-0.8.7-11.fc38.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 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.sD52l8 + 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 -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 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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.7 + '[' -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 (0.03s) GHC 8.2 Load Parsing: OK (0.02s) 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. Load file: %STDERR: : not built for interactive use %STDOUT2: : not built for interactive use : not built for interactive use ("writeFile","Main.hs","main = print 1") FAIL Exception: UnexpectedExit {ghciErrorCmd = "ghci -ignore-dot-ghci File.hs", ghciErrorMsg = "", ghciErrorLastStdErr = Just ": not built for interactive use"} Use -p '/Load file/' to rerun this test only. Ghcid test Ghcid basic: Loading ghci -fwarn-unused-binds Main.hs ... : not built for interactive use Command "ghci -fwarn-unused-binds Main.hs" exited unexpectedly with error message: : not built for interactive use FAIL Exception: user error (Require failed to produce results in time, expected: ["\ESC[32mAll good\ESC[m"]) Use -p '/Ghcid basic/' to rerun this test only. Cd basic: ("writeFile","foo/Main.hs","main = print 1") ("writeFile","foo/Util.hs","import Bob") ("writeFile","foo/.ghci",":load Main") Loading cd foo && ghci ... : not built for interactive use Command "cd foo && ghci" exited unexpectedly with error message: : not built for interactive use FAIL Exception: user error (Require failed to produce results in time, expected: ["\ESC[32mAll good\ESC[m"]) Use -p '/Cd basic/' to rerun this test only. Ghcid .ghci: Couldn't run test because test source is missing, test/foo OK Couldn't run test because test source is missing, test/bar Ghcid Cabal: OKCouldn't run test because test source is missing, test/bar Ghcid Stack: OK 4 out of 22 tests failed (64.99s) Test suite ghcid_test: FAIL Test suite logged to: dist/test/ghcid-0.8.7-ghcid_test.log 0 of 1 test suites (0 of 1 test cases) passed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.sD52l8 (%check) Bad exit status from /var/tmp/rpm-tmp.sD52l8 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghcid.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghcid.spec