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-stringbuilder.spec'], chrootPath='/var/lib/mock/f40-build-743388-111187/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-stringbuilder.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-stringbuilder-0.5.1-26.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-stringbuilder.spec'], chrootPath='/var/lib/mock/f40-build-743388-111187/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-stringbuilder.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.hsbprw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stringbuilder-0.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/stringbuilder-0.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd stringbuilder-0.5.1 + rm -rf /builddir/build/BUILD/stringbuilder-0.5.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/stringbuilder-0.5.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.twkkaw + 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 stringbuilder-0.5.1 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' ++ 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-stringbuilder '--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/stringbuilder-0.5.1 --global Configuring stringbuilder-0.5.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for stringbuilder-0.5.1.. Building library for stringbuilder-0.5.1.. [1 of 1] Compiling Data.String.Builder src/Data/String/Builder.hs:24:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 24 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:26:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 26 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:34:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative BuilderM’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 34 | pure = return | ^^^^^^^^^^^^^ src/Data/String/Builder.hs:38:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad BuilderM’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 38 | return a = BuilderM a id | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:57:13: warning: [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 57 | instance (a ~ ()) => IsString (BuilderM a) where | ^ [1 of 1] Compiling Data.String.Builder src/Data/String/Builder.hs:24:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 24 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:26:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 26 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:34:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative BuilderM’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 34 | pure = return | ^^^^^^^^^^^^^ src/Data/String/Builder.hs:38:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad BuilderM’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 38 | return a = BuilderM a id | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:57:13: warning: [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 57 | instance (a ~ ()) => IsString (BuilderM a) where | ^ Preprocessing test suite 'spec' for stringbuilder-0.5.1.. Building test suite 'spec' for stringbuilder-0.5.1.. [1 of 1] Compiling Main [2 of 2] Linking dist/build/spec/spec + '[' -n dist/build/libHSstringbuilder-0.5.1-9u95Ov88XR598eVmtBQMaE-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for stringbuilder-0.5.1.. Running Haddock on library for stringbuilder-0.5.1.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-4.17.1.0, ghc-bignum-1.3, ghc-prim-0.9.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. src/Data/String/Builder.hs:24:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 24 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:26:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 26 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:34:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative BuilderM’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 34 | pure = return | ^^^^^^^^^^^^^ src/Data/String/Builder.hs:38:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad BuilderM’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 38 | return a = BuilderM a id | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/String/Builder.hs:57:13: warning: [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 57 | instance (a ~ ()) => IsString (BuilderM a) where | ^ 85% ( 6 / 7) in 'Data.String.Builder' Missing documentation for: Builder (src/Data/String/Builder.hs:42) Warning: Data.String.Builder: could not find link destinations for: - GHC.Base.String - GHC.Base.Applicative - GHC.Types.Type - GHC.Base.pure - GHC.Base.<*> - GHC.Base.liftA2 - GHC.Base.*> - GHC.Base.<* - GHC.Base.Functor - GHC.Base.fmap - GHC.Base.<$ - GHC.Base.Monad - GHC.Base.>>= - GHC.Base.>> - GHC.Base.return - GHC.Base.Monoid - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Base.Semigroup - GHC.Base.<> - GHC.Base.sconcat - GHC.Base.NonEmpty - GHC.Base.stimes - GHC.Real.Integral - Data.String.IsString - Data.String.fromString Documentation created: dist/doc/html/stringbuilder/index.html, dist/doc/html/stringbuilder/stringbuilder.txt Preprocessing test suite 'spec' for stringbuilder-0.5.1.. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Xo9JrZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.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 stringbuilder-0.5.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/stringbuilder-0.5.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d stringbuilder-0.5.1.conf ']' + install -D --mode=0644 stringbuilder-0.5.1.conf /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/stringbuilder-0.5.1.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib ++ ls /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/stringbuilder-0.5.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/stringbuilder-0.5.1.conf ']' + rm -f ghc-stringbuilder.files ghc-stringbuilder-doc.files + touch ghc-stringbuilder.files ghc-stringbuilder-doc.files + for i in /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5${subsubdir}/libHSstringbuilder-0.5.1-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSstringbuilder-0.5.1-9u95Ov88XR598eVmtBQMaE-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSstringbuilder-0.5.1-9u95Ov88XR598eVmtBQMaE-ghc9.4.5.so + pkgdir=/usr/lib64/ghc-9.4.5/lib/stringbuilder-0.5.1 + '[' -d /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/stringbuilder-0.5.1 ']' + find /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/stringbuilder-0.5.1 -type d -fprintf ghc-stringbuilder-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-stringbuilder-prof.files -o -fprint ghc-stringbuilder-devel.files + ls /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/stringbuilder-0.5.1.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/stringbuilder-0.5.1 + '[' -d /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/share/doc/ghc/html/libraries/stringbuilder-0.5.1 ']' + echo /usr/share/doc/ghc/html/libraries/stringbuilder-0.5.1 + for i in ghc-stringbuilder.files ghc-stringbuilder-devel.files ghc-stringbuilder-doc.files ghc-stringbuilder-prof.files + '[' -f ghc-stringbuilder.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64!!g' ghc-stringbuilder.files + for i in ghc-stringbuilder.files ghc-stringbuilder-devel.files ghc-stringbuilder-doc.files ghc-stringbuilder-prof.files + '[' -f ghc-stringbuilder-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64!!g' ghc-stringbuilder-devel.files + for i in ghc-stringbuilder.files ghc-stringbuilder-devel.files ghc-stringbuilder-doc.files ghc-stringbuilder-prof.files + '[' -f ghc-stringbuilder-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64!!g' ghc-stringbuilder-doc.files + for i in ghc-stringbuilder.files ghc-stringbuilder-devel.files ghc-stringbuilder-doc.files ghc-stringbuilder-prof.files + '[' -f ghc-stringbuilder-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64!!g' ghc-stringbuilder-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSstringbuilder-0.5.1-9u95Ov88XR598eVmtBQMaE-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSstringbuilder-0.5.1-9u95Ov88XR598eVmtBQMaE-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSstringbuilder-0.5.1-9u95Ov88XR598eVmtBQMaE-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.11YGxC + 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 stringbuilder-0.5.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup test Running 1 test suites... Test suite spec: RUNNING... Test suite spec: PASS Test suite logged to: dist/test/stringbuilder-0.5.1-spec.log 1 of 1 test suites (1 of 1 test cases) passed. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ghc-stringbuilder-0.5.1-26.fc40.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LUb5DZ + umask 022 + cd /builddir/build/BUILD + cd stringbuilder-0.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/share/licenses/ghc-stringbuilder + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/share/licenses/ghc-stringbuilder + cp -pr /builddir/build/BUILD/stringbuilder-0.5.1/LICENSE /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/share/licenses/ghc-stringbuilder + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-stringbuilder = 0.5.1-26.fc40 ghc-stringbuilder(riscv-64) = 0.5.1-26.fc40 libHSstringbuilder-0.5.1-9u95Ov88XR598eVmtBQMaE-ghc9.4.5.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSbase-4.17.1.0-ghc9.4.5.so()(64bit) libHSghc-bignum-1.3-ghc9.4.5.so()(64bit) libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-stringbuilder-devel-0.5.1-26.fc40.riscv64 Provides: ghc-devel(stringbuilder-0.5.1-9u95Ov88XR598eVmtBQMaE) ghc-stringbuilder-devel = 0.5.1-26.fc40 ghc-stringbuilder-devel(riscv-64) = 0.5.1-26.fc40 ghc-stringbuilder-static = 0.5.1-26.fc40 ghc-stringbuilder-static(riscv-64) = 0.5.1-26.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.17.1.0) Processing files: ghc-stringbuilder-doc-0.5.1-26.fc40.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ovUhVT + umask 022 + cd /builddir/build/BUILD + cd stringbuilder-0.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/share/licenses/ghc-stringbuilder-doc + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/share/licenses/ghc-stringbuilder-doc + cp -pr /builddir/build/BUILD/stringbuilder-0.5.1/LICENSE /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64/usr/share/licenses/ghc-stringbuilder-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-stringbuilder-doc = 0.5.1-26.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-stringbuilder-prof-0.5.1-26.fc40.riscv64 Provides: ghc-prof(stringbuilder-0.5.1-9u95Ov88XR598eVmtBQMaE) ghc-stringbuilder-prof = 0.5.1-26.fc40 ghc-stringbuilder-prof(riscv-64) = 0.5.1-26.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.17.1.0) Supplements: (ghc-stringbuilder-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64 Wrote: /builddir/build/RPMS/ghc-stringbuilder-0.5.1-26.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-stringbuilder-devel-0.5.1-26.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-stringbuilder-doc-0.5.1-26.fc40.noarch.rpm Wrote: /builddir/build/RPMS/ghc-stringbuilder-prof-0.5.1-26.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0bAkeC + umask 022 + cd /builddir/build/BUILD + cd stringbuilder-0.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-stringbuilder-0.5.1-26.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.YEr0Bg + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/stringbuilder-0.5.1-SPECPARTS + rm -rf stringbuilder-0.5.1 stringbuilder-0.5.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0