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/c2hs.spec'], chrootPath='/var/lib/mock/f40-build-745110-111932/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/c2hs.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=1628812800 Wrote: /builddir/build/SRPMS/c2hs-0.28.8-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/c2hs.spec'], chrootPath='/var/lib/mock/f40-build-745110-111932/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/c2hs.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=1628812800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ls6tKJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf c2hs-0.28.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/c2hs-0.28.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd c2hs-0.28.8 + rm -rf /builddir/build/BUILD/c2hs-0.28.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/c2hs-0.28.8-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.kZD3dZ + 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 c2hs-0.28.8 ++ 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 AUTHORS -a -x AUTHORS ']' + chmod a-x AUTHORS + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f ChangeLog -a -x ChangeLog ']' + chmod a-x ChangeLog + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f ChangeLog.old -a -x ChangeLog.old ']' + chmod a-x ChangeLog.old + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README -a -x README ']' + chmod a-x README ++ 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.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 -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/c2hs '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --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' Configuring c2hs-0.28.8... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing executable 'c2hs' for c2hs-0.28.8.. Building executable 'c2hs' for c2hs-0.28.8.. [ 1 of 26] Compiling C2HS.C.Info [ 2 of 26] Compiling C2HS.Config [ 3 of 26] Compiling C2HS.Switches [ 4 of 26] Compiling Control.StateTrans src/Control/StateTrans.hs:77: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() | 77 | import Control.Applicative (Applicative(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Control/StateTrans.hs:80:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ | 80 | import Prelude hiding (catch) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Control/StateTrans.hs:109:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (STB bs gs)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 109 | pure = return | ^^^^^^^^^^^^^^ src/Control/StateTrans.hs:113:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (STB bs gs)’. ‘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 | 113 | return = yield | ^^^^^^^^^^^^^^ [ 5 of 26] Compiling Data.Errors [ 6 of 26] Compiling Data.Attributes [ 7 of 26] Compiling Control.StateBase src/Control/StateBase.hs:59: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() | 59 | import Control.Applicative (Applicative(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Control/StateBase.hs:61:1: warning: [-Wunused-imports] The import of ‘Control.Monad.Fail’ is redundant except perhaps to import instances from ‘Control.Monad.Fail’ To import instances alone, use: import Control.Monad.Fail() | 61 | import Control.Monad.Fail (MonadFail (..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Control/StateBase.hs:94:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (PreCST e s)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 94 | pure = return | ^^^^^^^^^^^^^^ src/Control/StateBase.hs:98:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (PreCST e s)’. ‘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 | 98 | return = yield | ^^^^^^^^^^^^^^ [ 8 of 26] Compiling Data.NameSpaces [ 9 of 26] Compiling C2HS.C.Attrs [10 of 26] Compiling C2HS.C.Builtin [11 of 26] Compiling Paths_c2hs [12 of 26] Compiling C2HS.Version [13 of 26] Compiling System.CIO [14 of 26] Compiling Control.State [15 of 26] Compiling C2HS.State [16 of 26] Compiling C2HS.C.Trav src/C2HS/C/Trav.hs:471:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘CDeclaration NodeInfo’ not matched: CStaticAssert _ _ _ CDecl _ [] _ CDecl _ ((Nothing, _, _):_) _ CDecl _ (((Just _), _, _):_:_) _ | 471 | let CDecl _ [(Just declr, _, _)] _ = ide `simplifyDecl` decl | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [17 of 26] Compiling C2HS.C.Names [18 of 26] Compiling C2HS.C [19 of 26] Compiling Text.Lexers [20 of 26] Compiling C2HS.CHS.Lexer src/C2HS/CHS/Lexer.hs:534:33: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Name]’ not matched: [] | 534 | action' str pos state = let name:ns = namesup state | ^^^^^^^^^^^^^^^^^^^^^^^ src/C2HS/CHS/Lexer.hs:700:14: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘String’, ‘Position’, ‘CHSLexerState’ not matched: [] _ _ | 700 | \t@(ld:spdir) pos s -> -- strip off the "\n" or "\0" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/C2HS/CHS/Lexer.hs:927:27: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[Char]’, ‘Position’ not matched: [] _ | 927 | `lexaction` \(_:ds) pos -> Just (con pos (read ds)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [21 of 26] Compiling C2HS.CHS src/C2HS/CHS.hs:841:24: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[String]’ not matched: [] | 841 | let versline:chi = ls | ^^^^^^^^^^^^^^^^^ src/C2HS/CHS.hs:851:24: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Maybe (String, String)’ not matched: Nothing | 851 | let Just (myMajor, myMinor) = majorMinor version | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [22 of 26] Compiling C2HS.Gen.Monad [23 of 26] Compiling C2HS.Gen.Wrapper src/C2HS/Gen/Wrapper.hs:117:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘CDeclaration Language.C.Data.Node.NodeInfo’ not matched: CStaticAssert _ _ _ CDecl _ [] _ CDecl _ ((Nothing, _, _):_) _ CDecl _ (((Just _), (Just _), _):_) _ ... | 117 | let (CDecl specs [(Just decl, Nothing, Nothing)] n) = fixEmpty din idx | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [24 of 26] Compiling C2HS.Gen.Header [25 of 26] Compiling C2HS.Gen.Bind src/C2HS/Gen/Bind.hs:146:1: warning: [-Wunused-imports] The import of ‘C2HS.Switches’ is redundant except perhaps to import instances from ‘C2HS.Switches’ To import instances alone, use: import C2HS.Switches() | 146 | import C2HS.Switches (platformSB) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/C2HS/Gen/Bind.hs:939:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Maybe (CInitializer NodeInfo)’ not matched: Nothing | 939 | let (Just ini) = initDeclr cdecl | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/C2HS/Gen/Bind.hs:998:25: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘(Maybe String, Integer)’ not matched: (Nothing, _) | 998 | let enumVals = map (\(Just i, e) -> (i, e)) $ filter (isJust . fst) $ | ^^^^^^^^^^^^^^^^^^^^^^ src/C2HS/Gen/Bind.hs:1295:22: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[String]’ not matched: [] | 1295 | (l:ls) = lines code | ^^^^^^^^^^^^^^^^^^^ src/C2HS/Gen/Bind.hs:2183:29: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘CDeclaration NodeInfo’ not matched: CStaticAssert _ _ _ CStaticAssert _ _ _ CDecl _ [] _ CDecl _ [] _ ... | 2183 | let CDecl specs [(declr, init', _)] at = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/C2HS/Gen/Bind.hs:2516:11: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘CDeclaration NodeInfo’ not matched: CStaticAssert _ _ _ CStaticAssert _ _ _ CStaticAssert _ _ _ CStaticAssert _ _ _ ... | 2516 | let CDecl specs [(declr, init', _)] at = ide `simplifyDecl` cdecl' | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [26 of 26] Compiling Main src/Main.hs:576:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[String]’ not matched: [] [_] [_, _] (_:_:_:_:_) | 576 | [versMajor, versMinor, versRev] = map show $ DV.versionBranch versnum | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [27 of 27] Linking dist/build/c2hs/c2hs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EV48h9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/c2hs-0.28.8-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 c2hs-0.28.8 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64 Installing executable c2hs in /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/bin Warning: Executable installed in /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/bin running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/bin/c2hs ']' ++ chrpath /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/bin/c2hs ++ sed -e 's@^/builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/bin/c2hs: R.*PATH=@@' + rpath='/builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/bin/c2hs: 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 Processing files: c2hs-0.28.8-1.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jBHH9Q + umask 022 + cd /builddir/build/BUILD + cd c2hs-0.28.8 + DOCDIR=/builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/share/doc/c2hs + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/share/doc/c2hs + cp -pr /builddir/build/BUILD/c2hs-0.28.8/AUTHORS /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/share/doc/c2hs + cp -pr /builddir/build/BUILD/c2hs-0.28.8/ChangeLog /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/share/doc/c2hs + cp -pr /builddir/build/BUILD/c2hs-0.28.8/ChangeLog.old /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/share/doc/c2hs + cp -pr /builddir/build/BUILD/c2hs-0.28.8/README /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/share/doc/c2hs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Wmrkyv + umask 022 + cd /builddir/build/BUILD + cd c2hs-0.28.8 + LICENSEDIR=/builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/share/licenses/c2hs + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/share/licenses/c2hs + cp -pr /builddir/build/BUILD/c2hs-0.28.8/COPYING /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64/usr/share/licenses/c2hs + RPM_EC=0 ++ jobs -p + exit 0 Provides: c2hs = 0.28.8-1.fc40 c2hs(riscv-64) = 0.28.8-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libffi.so.8()(64bit) libffi.so.8(LIBFFI_BASE_8.0)(64bit) libffi.so.8(LIBFFI_CLOSURE_8.0)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64 Wrote: /builddir/build/RPMS/c2hs-0.28.8-1.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bIBQsn + umask 022 + cd /builddir/build/BUILD + cd c2hs-0.28.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/c2hs-0.28.8-1.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.NKuxR2 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/c2hs-0.28.8-SPECPARTS + rm -rf c2hs-0.28.8 c2hs-0.28.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0