Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --nodeps /builddir/build/SPECS/ghc-sendfile.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1671918681.172086/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fdfdc5feb50>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4sbxeakh:/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.4sbxeakh:/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', 'f08df63e33a54f61b9fc837f040797aa', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1671918681.172086/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4sbxeakh:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
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 x86_64 --nodeps /builddir/build/SPECS/ghc-sendfile.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1671918681.172086/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fdfdc5feb50>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4sbxeakh:/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.4sbxeakh:/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', '22e96d08b84d47c5b72dd23b5c6c1f81', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1671918681.172086/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4sbxeakh:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1658361600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3cQnzy
+ 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.MRrhJI
+ 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  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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
++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)'
++ ls
+ 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  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-Wall -optc-Werror=format-security -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-mtune=generic -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fcf-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
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<command-line>: warning: ISO C99 requires whitespace after the macro name
<command-line>: 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
<command-line>: 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
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<command-line>: warning: ISO C99 requires whitespace after the macro name
[3 of 7] Compiling Network.Socket.SendFile.Util
<command-line>: 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
   |                         ^^^^^^^^
<command-line>: 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)
   |                           ^^^^^^^^
<command-line>: warning: ISO C99 requires whitespace after the macro name
[6 of 7] Compiling Network.Socket.SendFile
<command-line>: warning: ISO C99 requires whitespace after the macro name
[7 of 7] Compiling Network.Socket.SendFile.Handle
<command-line>: 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.4l8BZA
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64
++ dirname /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64
+ 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  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.x86_64
Installing library in /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64/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.x86_64/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.x86_64/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.x86_64/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.x86_64/usr/lib64/libHSsendfile-0.7.11.4-*ghc8.10.7.so
+ '[' -x /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64/usr/lib64/libHSsendfile-0.7.11.4-C6Mb6IOxoNrBZznfmBzg0g-ghc8.10.7.so ']'
+ echo /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64/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.x86_64/usr/lib64/ghc-8.10.7/sendfile-0.7.11.4 ']'
+ find /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64/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.x86_64/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.x86_64/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.x86_64!!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.x86_64!!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.x86_64!!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.x86_64!!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.x86_64 -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.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print)
+ '[' -x /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64/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.x86_64/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.x86_64
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9sFwZW
+ umask 022
+ cd /builddir/build/BUILD
+ cd sendfile-0.7.11.4
+ LICENSEDIR=/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64/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.x86_64/usr/share/licenses/ghc-sendfile
+ cp -pr LICENSE /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64/usr/share/licenses/ghc-sendfile
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ghc-sendfile = 0.7.11.4-2.fc38 ghc-sendfile(x86-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.5)(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.x86_64
Provides: ghc-devel(sendfile-0.7.11.4-C6Mb6IOxoNrBZznfmBzg0g) ghc-sendfile-devel = 0.7.11.4-2.fc38 ghc-sendfile-devel(x86-64) = 0.7.11.4-2.fc38 ghc-sendfile-static = 0.7.11.4-2.fc38 ghc-sendfile-static(x86-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.ohRwIy
+ umask 022
+ cd /builddir/build/BUILD
+ cd sendfile-0.7.11.4
+ LICENSEDIR=/builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64/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.x86_64/usr/share/licenses/ghc-sendfile-doc
+ cp -pr LICENSE /builddir/build/BUILDROOT/ghc-sendfile-0.7.11.4-2.fc38.x86_64/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.x86_64
Provides: ghc-prof(sendfile-0.7.11.4-C6Mb6IOxoNrBZznfmBzg0g) ghc-sendfile-prof = 0.7.11.4-2.fc38 ghc-sendfile-prof(x86-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.x86_64
Wrote: /builddir/build/RPMS/ghc-sendfile-prof-0.7.11.4-2.fc38.x86_64.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.x86_64.rpm
Wrote: /builddir/build/RPMS/ghc-sendfile-0.7.11.4-2.fc38.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mjfasH
+ 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.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.7SMGfF
+ 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