Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-pretty-simple.spec'], chrootPath='/var/lib/mock/f39-build-2561872-62096/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=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-pretty-simple.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=1710720000 Wrote: /builddir/build/SRPMS/ghc-pretty-simple-4.1.2.0-1.fc39.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/ghc-pretty-simple.spec'], chrootPath='/var/lib/mock/f39-build-2561872-62096/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=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-pretty-simple.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=1710720000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k2JgUu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pretty-simple-4.1.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pretty-simple-4.1.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pretty-simple-4.1.2.0 + rm -rf /builddir/build/BUILD/pretty-simple-4.1.2.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pretty-simple-4.1.2.0-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.1m8KN3 + 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 -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 -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 + 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 pretty-simple-4.1.2.0 ++ 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 -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.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 -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/ghc-pretty-simple '--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-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/pretty-simple-4.1.2.0 --global Configuring pretty-simple-4.1.2.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for pretty-simple-4.1.2.0.. Building library for pretty-simple-4.1.2.0.. [1 of 7] Compiling Text.Pretty.Simple.Internal.Color [2 of 7] Compiling Text.Pretty.Simple.Internal.Expr [3 of 7] Compiling Text.Pretty.Simple.Internal.ExprParser [4 of 7] Compiling Text.Pretty.Simple.Internal.Printer [5 of 7] Compiling Text.Pretty.Simple.Internal [6 of 7] Compiling Text.Pretty.Simple [7 of 7] Compiling Debug.Pretty.Simple [1 of 7] Compiling Text.Pretty.Simple.Internal.Color [2 of 7] Compiling Text.Pretty.Simple.Internal.Expr [3 of 7] Compiling Text.Pretty.Simple.Internal.ExprParser [4 of 7] Compiling Text.Pretty.Simple.Internal.Printer [5 of 7] Compiling Text.Pretty.Simple.Internal [6 of 7] Compiling Text.Pretty.Simple [7 of 7] Compiling Debug.Pretty.Simple Preprocessing executable 'pretty-simple' for pretty-simple-4.1.2.0.. Building executable 'pretty-simple' for pretty-simple-4.1.2.0.. [1 of 2] Compiling Paths_pretty_simple [2 of 2] Compiling Main app/Main.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 ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ [3 of 3] Linking dist/build/pretty-simple/pretty-simple Preprocessing test suite 'pretty-simple-doctest' for pretty-simple-4.1.2.0.. Building test suite 'pretty-simple-doctest' for pretty-simple-4.1.2.0.. [1 of 2] Compiling Build_doctests [2 of 2] Compiling Main [3 of 3] Linking dist/build/pretty-simple-doctest/pretty-simple-doctest + '[' -n dist/build/libHSpretty-simple-4.1.2.0-IBYU0ucAyKsCNxvhSt8NMA-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for pretty-simple-4.1.2.0.. Running Haddock on library for pretty-simple-4.1.2.0.. 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, mtl-2.2.2, pretty-1.1.3.6, prettyprinter-1.7.1, prettyprinter-ansi-terminal-1.1.3, template-haskell-2.19.0.0, text-2.0.2, transformers-0.5.6.2 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Warning: 'pPrint' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 66% ( 6 / 9) in 'Text.Pretty.Simple.Internal.Color' Missing documentation for: color (src/Text/Pretty/Simple/Internal/Color.hs:115) colorBold (src/Text/Pretty/Simple/Internal/Color.hs:118) convertStyle (src/Text/Pretty/Simple/Internal/Color.hs:121) 33% ( 1 / 3) in 'Text.Pretty.Simple.Internal.Expr' Missing documentation for: CommaSeparated (src/Text/Pretty/Simple/Internal/Expr.hs:30) Expr (src/Text/Pretty/Simple/Internal/Expr.hs:33) 72% ( 8 / 11) in 'Text.Pretty.Simple.Internal.ExprParser' Missing documentation for: expressionParse (src/Text/Pretty/Simple/Internal/ExprParser.hs:31) parseExpr (src/Text/Pretty/Simple/Internal/ExprParser.hs:34) parseCSep (src/Text/Pretty/Simple/Internal/ExprParser.hs:62) Warning: 'n' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Output' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 96% ( 24 / 25) in 'Text.Pretty.Simple.Internal.Printer' Missing documentation for: layoutStringAbstract (src/Text/Pretty/Simple/Internal/Printer.hs:200) 100% ( 5 / 5) in 'Text.Pretty.Simple.Internal' Warning: Couldn't find .haddock for export Color Warning: Couldn't find .haddock for export Intensity 96% ( 63 / 65) in 'Text.Pretty.Simple' Missing documentation for: Color Intensity Warning: 'MonadIO' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 55 / 55) in 'Debug.Pretty.Simple' Warning: Text.Pretty.Simple.Internal.Color: could not find link destinations for: - GHC.Generics.Generic - GHC.Generics.from - GHC.Generics.Rep - GHC.Generics.to - GHC.Types.Type - 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.Generics.D1 - GHC.Generics.MetaData - GHC.Types.False - GHC.Generics.C1 - GHC.Generics.MetaCons - GHC.Generics.PrefixI - GHC.Types.True - GHC.Generics.:*: - GHC.Generics.S1 - GHC.Generics.MetaSel - GHC.Maybe.Just - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.Rec0 - GHC.Maybe.Maybe - Prettyprinter.Render.Terminal.Internal.AnsiStyle Warning: Text.Pretty.Simple.Internal.Expr: could not find link destinations for: - 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 - GHC.Maybe.Maybe - 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.Generics.Generic - GHC.Generics.from - GHC.Generics.Rep - GHC.Generics.to - GHC.Types.Type - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Generics.D1 - GHC.Generics.MetaData - GHC.Types.True - GHC.Generics.C1 - GHC.Generics.MetaCons - GHC.Generics.PrefixI - GHC.Generics.S1 - GHC.Generics.MetaSel - GHC.Maybe.Just - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.Rec0 - GHC.Real.Rational - GHC.Types.False - GHC.Generics.:+: - GHC.Maybe.Nothing - GHC.Types.Symbol - GHC.Generics.SourceStrict - GHC.Generics.DecidedStrict Warning: Text.Pretty.Simple.Internal.ExprParser: could not find link destinations for: - GHC.Base.String - GHC.Types.Char Warning: Text.Pretty.Simple.Internal.Printer: could not find link destinations for: - GHC.IO.Handle.Types.Handle - GHC.Maybe.Nothing - GHC.Generics.Generic - GHC.Generics.from - GHC.Generics.Rep - GHC.Generics.to - GHC.Types.Type - 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.Generics.D1 - GHC.Generics.MetaData - GHC.Types.False - GHC.Generics.:+: - GHC.Generics.C1 - GHC.Generics.MetaCons - GHC.Generics.PrefixI - GHC.Generics.U1 - GHC.Maybe.Maybe - GHC.Maybe.Just - GHC.Types.True - GHC.Generics.:*: - GHC.Generics.S1 - GHC.Generics.MetaSel - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.Rec0 - Control.Monad.IO.Class.MonadIO - Prettyprinter.Internal.SimpleDocStream - Prettyprinter.Internal.Doc - GHC.Types.Char - GHC.List.repeat - GHC.Base.NonEmpty - GHC.List.cycle Warning: Text.Pretty.Simple: could not find link destinations for: - Control.Monad.IO.Class.MonadIO - GHC.Show.Show - GHC.IO.StdHandles.stdout - GHC.IO.Handle.Types.Handle - GHC.Base.String - GHC.Show.show - Data.Text.Internal.Lazy.Text - GHC.Types.Int - GHC.Types.Bool - GHC.Maybe.Maybe - GHC.Maybe.Nothing - GHC.Maybe.Just - GHC.Generics.Generic - GHC.Generics.from - GHC.Generics.Rep - GHC.Generics.to - GHC.Types.Type - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Classes./= - GHC.Generics.D1 - GHC.Generics.MetaData - GHC.Types.False - GHC.Generics.C1 - GHC.Generics.MetaCons - GHC.Generics.PrefixI - GHC.Types.True - GHC.Generics.:*: - GHC.Generics.S1 - GHC.Generics.MetaSel - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.Rec0 - GHC.Generics.:+: - GHC.Generics.U1 - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min Warning: Debug.Pretty.Simple: could not find link destinations for: - GHC.Base.String - GHC.Show.Show - GHC.Show.show - GHC.Types.IO - GHC.Base.Applicative - Debug.Trace.traceM - Debug.Trace.trace Documentation created: dist/doc/html/pretty-simple/index.html, dist/doc/html/pretty-simple/pretty-simple.txt Preprocessing executable 'pretty-simple' for pretty-simple-4.1.2.0.. Preprocessing test suite 'pretty-simple-doctest' for pretty-simple-4.1.2.0.. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7ppqHA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.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 -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 -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 + 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 pretty-simple-4.1.2.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/pretty-simple-4.1.2.0 Installing executable pretty-simple in /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/bin Warning: Executable installed in /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/bin + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d pretty-simple-4.1.2.0.conf ']' + install -D --mode=0644 pretty-simple-4.1.2.0.conf /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/pretty-simple-4.1.2.0.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/pretty-simple-4.1.2.0.conf ']' + rm -f ghc-pretty-simple.files ghc-pretty-simple-doc.files + touch ghc-pretty-simple.files ghc-pretty-simple-doc.files + for i in /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5${subsubdir}/libHSpretty-simple-4.1.2.0-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/libHSpretty-simple-4.1.2.0-IBYU0ucAyKsCNxvhSt8NMA-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/libHSpretty-simple-4.1.2.0-IBYU0ucAyKsCNxvhSt8NMA-ghc9.4.5.so + pkgdir=/builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/pretty-simple-4.1.2.0 + '[' -d /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/pretty-simple-4.1.2.0 ']' + find /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/pretty-simple-4.1.2.0 -type d -fprintf ghc-pretty-simple-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-pretty-simple-prof.files -o -fprint ghc-pretty-simple-devel.files + ls /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/pretty-simple-4.1.2.0.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/pretty-simple-4.1.2.0 + '[' -d /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/share/doc/ghc/html/libraries/pretty-simple-4.1.2.0 ']' + echo /usr/share/doc/ghc/html/libraries/pretty-simple-4.1.2.0 + for i in ghc-pretty-simple.files ghc-pretty-simple-devel.files ghc-pretty-simple-doc.files ghc-pretty-simple-prof.files + '[' -f ghc-pretty-simple.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64!!g' ghc-pretty-simple.files + for i in ghc-pretty-simple.files ghc-pretty-simple-devel.files ghc-pretty-simple-doc.files ghc-pretty-simple-prof.files + '[' -f ghc-pretty-simple-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64!!g' ghc-pretty-simple-devel.files + for i in ghc-pretty-simple.files ghc-pretty-simple-devel.files ghc-pretty-simple-doc.files ghc-pretty-simple-prof.files + '[' -f ghc-pretty-simple-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64!!g' ghc-pretty-simple-doc.files + for i in ghc-pretty-simple.files ghc-pretty-simple-devel.files ghc-pretty-simple-doc.files ghc-pretty-simple-prof.files + '[' -f ghc-pretty-simple-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64!!g' ghc-pretty-simple-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/libHSpretty-simple-4.1.2.0-IBYU0ucAyKsCNxvhSt8NMA-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/libHSpretty-simple-4.1.2.0-IBYU0ucAyKsCNxvhSt8NMA-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/lib64/ghc-9.4.5/lib/libHSpretty-simple-4.1.2.0-IBYU0ucAyKsCNxvhSt8NMA-ghc9.4.5.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.4.5/lib:/usr/lib64/ghc-9.4.5/lib/riscv64-linux-ghc-9.4.5 + case "$rpath" in + for i in $(find /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/bin/pretty-simple ']' ++ chrpath /builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/bin/pretty-simple ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/bin/pretty-simple: R.*PATH=@@' + rpath='/builddir/build/BUILDROOT/ghc-pretty-simple-4.1.2.0-1.fc39.riscv64/usr/bin/pretty-simple: 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 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GilGKN + 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 -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 -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 + 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 pretty-simple-4.1.2.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup test Running 1 test suites... Test suite pretty-simple-doctest: RUNNING... : not built for interactive use pretty-simple-doctest: fd:267: hGetLine: end of file Test suite pretty-simple-doctest: FAIL Test suite logged to: dist/test/pretty-simple-4.1.2.0-pretty-simple-doctest.log 0 of 1 test suites (0 of 1 test cases) passed. error: Bad exit status from /var/tmp/rpm-tmp.GilGKN (%check) Bad exit status from /var/tmp/rpm-tmp.GilGKN (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-pretty-simple.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-pretty-simple.spec'