Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/ghc-sendfile.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1671895018.274312/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.34z2s5j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.34z2s5j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6b43364634e942ad9cf9a9928f4c6853', '-D', '/var/lib/mock/fedora-rawhide-s390x-1671895018.274312/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.34z2s5j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/ghc-sendfile-0.7.11.4-2.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/ghc-sendfile.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1671895018.274312/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.34z2s5j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.34z2s5j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6bc1dcdc1fc9431e9249b6efbdee34b7', '-D', '/var/lib/mock/fedora-rawhide-s390x-1671895018.274312/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.34z2s5j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GG3s33 + 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 + /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.UYxnEK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd 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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/-Wall //' -e 's/-Werror=format-security //' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 ']' + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.2.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ++ 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/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64 --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wp,-D_FORTIFY_SOURCE=2 -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-m64 -optc-march=z13 -optc-mtune=z14 -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -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 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:1: 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:1: 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 : warning: ISO C99 requires whitespace after the macro name [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.2.7: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.2.7: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.2.7: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:1: 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:1: 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.2.7: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.2.7: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.2.7: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-C6Mb6IOxoNrBZznfmBzg0g-ghc8.10.7.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.14.3.0, bytestring-0.10.12.0, deepseq-1.4.4.0, directory-1.3.6.0, filepath-1.4.2.1, ghc-prim-0.6.1, integer-gmp-1.0.3.0, network-3.1.2.7, time-1.9.3, unix-2.7.2.2 Warning: --source-* options are ignored when --hyperlinked-source is enabled. src/Network/Socket/SendFile/Linux.hsc:5:1: 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:1: 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.2.7: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.2.7: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.2.7:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 92 | do out_fd <- fmap Fd (fdSocket outs) | ^^^^^^^^ Haddock coverage: 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.Integer.Type.Integer - GHC.IO.Handle.Types.Handle - GHC.Base.String Warning: Network.Socket.SendFile: could not find link destinations for: - GHC.Integer.Type.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.Integer.Type.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.Dlwalk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x ++ dirname /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sendfile-0.7.11.4 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x Installing library in /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/lib64/ghc-8.10.7/sendfile-0.7.11.4 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -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-2.fc38.s390x/usr/lib64/ghc-8.10.7/package.conf.d/sendfile-0.7.11.4.conf ++ ls /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/lib64/ghc-8.10.7/package.conf.d/sendfile-0.7.11.4.conf + '[' -z /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/lib64/ghc-8.10.7/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-2.fc38.s390x/usr/lib64/libHSsendfile-0.7.11.4-*ghc8.10.7.so + '[' -x /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/lib64/libHSsendfile-0.7.11.4-C6Mb6IOxoNrBZznfmBzg0g-ghc8.10.7.so ']' + echo /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/lib64/libHSsendfile-0.7.11.4-C6Mb6IOxoNrBZznfmBzg0g-ghc8.10.7.so + pkgdir=/usr/lib64/ghc-8.10.7/sendfile-0.7.11.4 + '[' -d /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/lib64/ghc-8.10.7/sendfile-0.7.11.4 ']' + find /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/lib64/ghc-8.10.7/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-2.fc38.s390x/usr/lib64/ghc-8.10.7/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-2.fc38.s390x/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-2.fc38.s390x!!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-2.fc38.s390x!!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-2.fc38.s390x!!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-2.fc38.s390x!!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-2.fc38.s390x -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-2.fc38.s390x -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/lib64/libHSsendfile-0.7.11.4-C6Mb6IOxoNrBZznfmBzg0g-ghc8.10.7.so ']' + chrpath -d /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/lib64/libHSsendfile-0.7.11.4-C6Mb6IOxoNrBZznfmBzg0g-ghc8.10.7.so + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ghc-sendfile-0.7.11.4-2.fc38.s390x Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7EXAZM + umask 022 + cd /builddir/build/BUILD + cd sendfile-0.7.11.4 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/share/licenses/ghc-sendfile + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/share/licenses/ghc-sendfile + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/share/licenses/ghc-sendfile + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-sendfile = 0.7.11.4-2.fc38 ghc-sendfile(s390-64) = 0.7.11.4-2.fc38 libHSsendfile-0.7.11.4-C6Mb6IOxoNrBZznfmBzg0g-ghc8.10.7.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-ghc8.10.7.so()(64bit) libHSbase-4.14.3.0-ghc8.10.7.so()(64bit) libHSbytestring-0.10.12.0-ghc8.10.7.so()(64bit) libHSdeepseq-1.4.4.0-ghc8.10.7.so()(64bit) libHSdirectory-1.3.6.0-ghc8.10.7.so()(64bit) libHSfilepath-1.4.2.1-ghc8.10.7.so()(64bit) libHSghc-prim-0.6.1-ghc8.10.7.so()(64bit) libHSinteger-gmp-1.0.3.0-ghc8.10.7.so()(64bit) libHSnetwork-3.1.2.7-Ej7C9eZsuTEBnZvIiWsgMl-ghc8.10.7.so()(64bit) libHStime-1.9.3-ghc8.10.7.so()(64bit) libHSunix-2.7.2.2-ghc8.10.7.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-sendfile-devel-0.7.11.4-2.fc38.s390x Provides: ghc-devel(sendfile-0.7.11.4-C6Mb6IOxoNrBZznfmBzg0g) ghc-sendfile-devel = 0.7.11.4-2.fc38 ghc-sendfile-devel(s390-64) = 0.7.11.4-2.fc38 ghc-sendfile-static = 0.7.11.4-2.fc38 ghc-sendfile-static(s390-64) = 0.7.11.4-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.14.3.0) ghc-devel(bytestring-0.10.12.0) ghc-devel(network-3.1.2.7-Ej7C9eZsuTEBnZvIiWsgMl) Processing files: ghc-sendfile-doc-0.7.11.4-2.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.56XheS + umask 022 + cd /builddir/build/BUILD + cd sendfile-0.7.11.4 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/share/licenses/ghc-sendfile-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/share/licenses/ghc-sendfile-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.s390x/usr/share/licenses/ghc-sendfile-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-sendfile-doc = 0.7.11.4-2.fc38 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-2.fc38.s390x Provides: ghc-prof(sendfile-0.7.11.4-C6Mb6IOxoNrBZznfmBzg0g) ghc-sendfile-prof = 0.7.11.4-2.fc38 ghc-sendfile-prof(s390-64) = 0.7.11.4-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.14.3.0) ghc-prof(bytestring-0.10.12.0) ghc-prof(network-3.1.2.7-Ej7C9eZsuTEBnZvIiWsgMl) 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-2.fc38.s390x Wrote: /builddir/build/RPMS/ghc-sendfile-prof-0.7.11.4-2.fc38.s390x.rpm Wrote: /builddir/build/RPMS/ghc-sendfile-doc-0.7.11.4-2.fc38.noarch.rpm Wrote: /builddir/build/RPMS/ghc-sendfile-devel-0.7.11.4-2.fc38.s390x.rpm Wrote: /builddir/build/RPMS/ghc-sendfile-0.7.11.4-2.fc38.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Op0AxY + 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-2.fc38.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.BImnZI + umask 022 + cd /builddir/build/BUILD + 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