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-sendfile.spec'], chrootPath='/var/lib/mock/f40-build-742473-110760/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-sendfile.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-sendfile-0.7.11.4-6.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-sendfile.spec'], chrootPath='/var/lib/mock/f40-build-742473-110760/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-sendfile.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.4aSR0b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sendfile-0.7.11.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sendfile-0.7.11.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sendfile-0.7.11.4 + rm -rf /builddir/build/BUILD/sendfile-0.7.11.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sendfile-0.7.11.4-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.E82GDJ + 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 sendfile-0.7.11.4 ++ 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.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/ghc-sendfile '--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' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/sendfile-0.7.11.4 --global Configuring sendfile-0.7.11.4... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for sendfile-0.7.11.4.. Building library for sendfile-0.7.11.4.. [1 of 7] Compiling Network.Socket.SendFile.Iter [2 of 7] Compiling Network.Socket.SendFile.Linux src/Network/Socket/SendFile/Linux.hsc:5:18: warning: [-Wunused-imports] The import of ‘Int32’ from module ‘Data.Int’ is redundant | 5 | import Data.Int (Int32, Int64) -- Int64 is imported on 64-bit systems | ^^^^^ src/Network/Socket/SendFile/Linux.hsc:6:19: warning: [-Wunused-imports] The import of ‘Word32’ from module ‘Data.Word’ is redundant | 6 | import Data.Word (Word32, Word64) -- Word64 is imported on 64-bit systems | ^^^^^^ [3 of 7] Compiling Network.Socket.SendFile.Util [4 of 7] Compiling Network.Socket.SendFile.Portable src/Network/Socket/SendFile/Portable.hs:22:1: warning: [-Wdodgy-imports] The import item ‘Socket(..)’ suggests that ‘Socket’ has (in-scope) constructors or class methods, but it has none | 22 | import Network.Socket (Socket(..), fdSocket) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Network/Socket/SendFile/Portable.hs:79:25: warning: [-Wdeprecations] In the use of ‘fdSocket’ (imported from Network.Socket, but defined in network-3.1.4.0:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 79 | then do fd <- fdSocket socket | ^^^^^^^^ [5 of 7] Compiling Network.Socket.SendFile.Internal src/Network/Socket/SendFile/Internal.hs:81:27: warning: [-Wdeprecations] In the use of ‘fdSocket’ (imported from Network.Socket, but defined in network-3.1.4.0:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 81 | do out_fd <- fmap Fd (fdSocket outs) | ^^^^^^^^ src/Network/Socket/SendFile/Internal.hs:92:27: warning: [-Wdeprecations] In the use of ‘fdSocket’ (imported from Network.Socket, but defined in network-3.1.4.0:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 92 | do out_fd <- fmap Fd (fdSocket outs) | ^^^^^^^^ [6 of 7] Compiling Network.Socket.SendFile [7 of 7] Compiling Network.Socket.SendFile.Handle [1 of 7] Compiling Network.Socket.SendFile.Iter : warning: ISO C99 requires whitespace after the macro name [2 of 7] Compiling Network.Socket.SendFile.Linux src/Network/Socket/SendFile/Linux.hsc:5:18: warning: [-Wunused-imports] The import of ‘Int32’ from module ‘Data.Int’ is redundant | 5 | import Data.Int (Int32, Int64) -- Int64 is imported on 64-bit systems | ^^^^^ src/Network/Socket/SendFile/Linux.hsc:6:19: warning: [-Wunused-imports] The import of ‘Word32’ from module ‘Data.Word’ is redundant | 6 | import Data.Word (Word32, Word64) -- Word64 is imported on 64-bit systems | ^^^^^^ : warning: ISO C99 requires whitespace after the macro name [3 of 7] Compiling Network.Socket.SendFile.Util : warning: ISO C99 requires whitespace after the macro name [4 of 7] Compiling Network.Socket.SendFile.Portable src/Network/Socket/SendFile/Portable.hs:22:1: warning: [-Wdodgy-imports] The import item ‘Socket(..)’ suggests that ‘Socket’ has (in-scope) constructors or class methods, but it has none | 22 | import Network.Socket (Socket(..), fdSocket) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Network/Socket/SendFile/Portable.hs:79:25: warning: [-Wdeprecations] In the use of ‘fdSocket’ (imported from Network.Socket, but defined in network-3.1.4.0:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 79 | then do fd <- fdSocket socket | ^^^^^^^^ : warning: ISO C99 requires whitespace after the macro name [5 of 7] Compiling Network.Socket.SendFile.Internal src/Network/Socket/SendFile/Internal.hs:81:27: warning: [-Wdeprecations] In the use of ‘fdSocket’ (imported from Network.Socket, but defined in network-3.1.4.0:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 81 | do out_fd <- fmap Fd (fdSocket outs) | ^^^^^^^^ src/Network/Socket/SendFile/Internal.hs:92:27: warning: [-Wdeprecations] In the use of ‘fdSocket’ (imported from Network.Socket, but defined in network-3.1.4.0:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 92 | do out_fd <- fmap Fd (fdSocket outs) | ^^^^^^^^ : warning: ISO C99 requires whitespace after the macro name [6 of 7] Compiling Network.Socket.SendFile : warning: ISO C99 requires whitespace after the macro name [7 of 7] Compiling Network.Socket.SendFile.Handle : warning: ISO C99 requires whitespace after the macro name + '[' -n dist/build/libHSsendfile-0.7.11.4-I5oHUSOx6q8I1nrT2SV7VW-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for sendfile-0.7.11.4.. Running Haddock on library for sendfile-0.7.11.4.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.4.0, base-4.17.1.0, bytestring-0.11.4.0, deepseq-1.4.8.0, directory-1.3.7.1, filepath-1.4.2.2, ghc-bignum-1.3, ghc-boot-th-9.4.5, ghc-prim-0.9.0, network-3.1.4.0, pretty-1.1.3.6, template-haskell-2.19.0.0, time-1.12.2, unix-2.7.3 Warning: --source-* options are ignored when --hyperlinked-source is enabled. src/Network/Socket/SendFile/Linux.hsc:5:18: warning: [-Wunused-imports] The import of ‘Int32’ from module ‘Data.Int’ is redundant | 5 | import Data.Int (Int32, Int64) -- Int64 is imported on 64-bit systems | ^^^^^ src/Network/Socket/SendFile/Linux.hsc:6:19: warning: [-Wunused-imports] The import of ‘Word32’ from module ‘Data.Word’ is redundant | 6 | import Data.Word (Word32, Word64) -- Word64 is imported on 64-bit systems | ^^^^^^ src/Network/Socket/SendFile/Portable.hs:22:1: warning: [-Wdodgy-imports] The import item ‘Socket(..)’ suggests that ‘Socket’ has (in-scope) constructors or class methods, but it has none | 22 | import Network.Socket (Socket(..), fdSocket) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Network/Socket/SendFile/Portable.hs:79:25: warning: [-Wdeprecations] In the use of ‘fdSocket’ (imported from Network.Socket, but defined in network-3.1.4.0:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 79 | then do fd <- fdSocket socket | ^^^^^^^^ src/Network/Socket/SendFile/Internal.hs:81:27: warning: [-Wdeprecations] In the use of ‘fdSocket’ (imported from Network.Socket, but defined in network-3.1.4.0:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 81 | do out_fd <- fmap Fd (fdSocket outs) | ^^^^^^^^ src/Network/Socket/SendFile/Internal.hs:92:27: warning: [-Wdeprecations] In the use of ‘fdSocket’ (imported from Network.Socket, but defined in network-3.1.4.0:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 92 | do out_fd <- fmap Fd (fdSocket outs) | ^^^^^^^^ 66% ( 2 / 3) in 'Network.Socket.SendFile.Iter' Missing documentation for: Module header Warning: 'threadWaitWrite' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 0% ( 0 / 14) in 'Network.Socket.SendFile.Portable' Missing documentation for: Module header sendFile (src/Network/Socket/SendFile/Portable.hs:136) sendFileIterWith (src/Network/Socket/SendFile/Portable.hs:142) sendFile' (src/Network/Socket/SendFile/Portable.hs:148) sendFileIterWith' (src/Network/Socket/SendFile/Portable.hs:153) sendFile'' (src/Network/Socket/SendFile/Portable.hs:44) sendFileIterWith'' (src/Network/Socket/SendFile/Portable.hs:38) unsafeSendFile (src/Network/Socket/SendFile/Portable.hs:158) unsafeSendFileIterWith (src/Network/Socket/SendFile/Portable.hs:164) unsafeSendFile' (src/Network/Socket/SendFile/Portable.hs:171) unsafeSendFile'' (src/Network/Socket/SendFile/Portable.hs:57) unsafeSendFileIterWith' (src/Network/Socket/SendFile/Portable.hs:181) unsafeSendFileIterWith'' (src/Network/Socket/SendFile/Portable.hs:49) sendFileMode (src/Network/Socket/SendFile/Portable.hs:35) Warning: 'WIN32_SENDFILE' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'LINUX_SENDFILE' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'FREEBSD_SENDFILE' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'DARWIN_SENDFILE' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'PORTABLE_SENDFILE' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 18 / 18) in 'Network.Socket.SendFile' Warning: 'IllegalOperation' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Fd' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 10 / 10) in 'Network.Socket.SendFile.Handle' Warning: Network.Socket.SendFile.Iter: could not find link destinations for: - GHC.Int.Int64 - GHC.Types.IO - System.Posix.Types.Fd - Control.Concurrent.threadWaitWrite Warning: Network.Socket.SendFile.Portable: could not find link destinations for: - Network.Socket.Types.Socket - GHC.IO.FilePath - GHC.Types.IO - GHC.Num.Integer.Integer - GHC.IO.Handle.Types.Handle - GHC.Base.String Warning: Network.Socket.SendFile: could not find link destinations for: - GHC.Num.Integer.Integer - GHC.Int.Int64 - GHC.Types.IO - System.Posix.Types.Fd - Control.Concurrent.threadWaitWrite - Network.Socket.Types.Socket - GHC.IO.FilePath - GHC.IO.Handle.Types.Handle - GHC.Base.String Warning: Network.Socket.SendFile.Handle: could not find link destinations for: - GHC.Num.Integer.Integer - GHC.Int.Int64 - GHC.Types.IO - System.Posix.Types.Fd - Control.Concurrent.threadWaitWrite - Network.Socket.Types.Socket - GHC.IO.Handle.Types.Handle - GHC.IO.Exception.IOError Documentation created: dist/doc/html/sendfile/index.html, dist/doc/html/sendfile/sendfile.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kKVjWO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.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 sendfile-0.7.11.4 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/sendfile-0.7.11.4 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d sendfile-0.7.11.4.conf ']' + install -D --mode=0644 sendfile-0.7.11.4.conf /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/sendfile-0.7.11.4.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib ++ ls /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/sendfile-0.7.11.4.conf + '[' -z /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/sendfile-0.7.11.4.conf ']' + rm -f ghc-sendfile.files ghc-sendfile-doc.files + touch ghc-sendfile.files ghc-sendfile-doc.files + for i in /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5${subsubdir}/libHSsendfile-0.7.11.4-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSsendfile-0.7.11.4-I5oHUSOx6q8I1nrT2SV7VW-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSsendfile-0.7.11.4-I5oHUSOx6q8I1nrT2SV7VW-ghc9.4.5.so + pkgdir=/usr/lib64/ghc-9.4.5/lib/sendfile-0.7.11.4 + '[' -d /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/sendfile-0.7.11.4 ']' + find /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/sendfile-0.7.11.4 -type d -fprintf ghc-sendfile-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-sendfile-prof.files -o -fprint ghc-sendfile-devel.files + ls /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/sendfile-0.7.11.4.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/sendfile-0.7.11.4 + '[' -d /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/share/doc/ghc/html/libraries/sendfile-0.7.11.4 ']' + echo /usr/share/doc/ghc/html/libraries/sendfile-0.7.11.4 + for i in ghc-sendfile.files ghc-sendfile-devel.files ghc-sendfile-doc.files ghc-sendfile-prof.files + '[' -f ghc-sendfile.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64!!g' ghc-sendfile.files + for i in ghc-sendfile.files ghc-sendfile-devel.files ghc-sendfile-doc.files ghc-sendfile-prof.files + '[' -f ghc-sendfile-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64!!g' ghc-sendfile-devel.files + for i in ghc-sendfile.files ghc-sendfile-devel.files ghc-sendfile-doc.files ghc-sendfile-prof.files + '[' -f ghc-sendfile-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64!!g' ghc-sendfile-doc.files + for i in ghc-sendfile.files ghc-sendfile-devel.files ghc-sendfile-doc.files ghc-sendfile-prof.files + '[' -f ghc-sendfile-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64!!g' ghc-sendfile-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSsendfile-0.7.11.4-I5oHUSOx6q8I1nrT2SV7VW-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSsendfile-0.7.11.4-I5oHUSOx6q8I1nrT2SV7VW-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSsendfile-0.7.11.4-I5oHUSOx6q8I1nrT2SV7VW-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 Processing files: ghc-sendfile-0.7.11.4-6.fc40.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xweJvX + umask 022 + cd /builddir/build/BUILD + cd sendfile-0.7.11.4 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/share/licenses/ghc-sendfile + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/share/licenses/ghc-sendfile + cp -pr /builddir/build/BUILD/sendfile-0.7.11.4/LICENSE /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/share/licenses/ghc-sendfile + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-sendfile = 0.7.11.4-6.fc40 ghc-sendfile(riscv-64) = 0.7.11.4-6.fc40 libHSsendfile-0.7.11.4-I5oHUSOx6q8I1nrT2SV7VW-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: libHSarray-0.5.4.0-ghc9.4.5.so()(64bit) libHSbase-4.17.1.0-ghc9.4.5.so()(64bit) libHSbytestring-0.11.4.0-ghc9.4.5.so()(64bit) libHSdeepseq-1.4.8.0-ghc9.4.5.so()(64bit) libHSdirectory-1.3.7.1-ghc9.4.5.so()(64bit) libHSfilepath-1.4.2.2-ghc9.4.5.so()(64bit) libHSghc-bignum-1.3-ghc9.4.5.so()(64bit) libHSghc-boot-th-9.4.5-ghc9.4.5.so()(64bit) libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit) libHSnetwork-3.1.4.0-FvtFepOtuCUH79FCWyNxIc-ghc9.4.5.so()(64bit) libHSpretty-1.1.3.6-ghc9.4.5.so()(64bit) libHStemplate-haskell-2.19.0.0-ghc9.4.5.so()(64bit) libHStime-1.12.2-ghc9.4.5.so()(64bit) libHSunix-2.7.3-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-sendfile-devel-0.7.11.4-6.fc40.riscv64 Provides: ghc-devel(sendfile-0.7.11.4-I5oHUSOx6q8I1nrT2SV7VW) ghc-sendfile-devel = 0.7.11.4-6.fc40 ghc-sendfile-devel(riscv-64) = 0.7.11.4-6.fc40 ghc-sendfile-static = 0.7.11.4-6.fc40 ghc-sendfile-static(riscv-64) = 0.7.11.4-6.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) ghc-devel(bytestring-0.11.4.0) ghc-devel(network-3.1.4.0-FvtFepOtuCUH79FCWyNxIc) Processing files: ghc-sendfile-doc-0.7.11.4-6.fc40.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SMkRo9 + umask 022 + cd /builddir/build/BUILD + cd sendfile-0.7.11.4 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/share/licenses/ghc-sendfile-doc + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/share/licenses/ghc-sendfile-doc + cp -pr /builddir/build/BUILD/sendfile-0.7.11.4/LICENSE /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64/usr/share/licenses/ghc-sendfile-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-sendfile-doc = 0.7.11.4-6.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-sendfile-prof-0.7.11.4-6.fc40.riscv64 Provides: ghc-prof(sendfile-0.7.11.4-I5oHUSOx6q8I1nrT2SV7VW) ghc-sendfile-prof = 0.7.11.4-6.fc40 ghc-sendfile-prof(riscv-64) = 0.7.11.4-6.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) ghc-prof(bytestring-0.11.4.0) ghc-prof(network-3.1.4.0-FvtFepOtuCUH79FCWyNxIc) Supplements: (ghc-sendfile-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64 Wrote: /builddir/build/RPMS/ghc-sendfile-0.7.11.4-6.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-sendfile-devel-0.7.11.4-6.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-sendfile-doc-0.7.11.4-6.fc40.noarch.rpm Wrote: /builddir/build/RPMS/ghc-sendfile-prof-0.7.11.4-6.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VqMP9B + umask 022 + cd /builddir/build/BUILD + cd sendfile-0.7.11.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-6.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.AfAWDC + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/sendfile-0.7.11.4-SPECPARTS + rm -rf sendfile-0.7.11.4 sendfile-0.7.11.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0