Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ghc-network.spec'], chrootPath='/var/lib/mock/rocky-9-i686/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=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ghc-network.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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1618444800 Wrote: /builddir/build/SRPMS/ghc-network-3.1.1.1-5.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target i686 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/ghc-network.spec"], chrootPath='/var/lib/mock/rocky-9-i686/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=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target i686 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/ghc-network.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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1618444800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lcfYxG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf network-3.1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/network-3.1.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd network-3.1.1.1 + /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.FHQ2vk + umask 022 + cd /builddir/build/BUILD + cd network-3.1.1.1 ++ ls ++ grep -i -e '^(ANNOUNCE|AUTHORS|CHANGELOG|CHANGES|CONTRIBUTORS|README|TODO)' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + '[' -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.0.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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib --docdir=/usr/share/licenses/ghc-network '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib --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-m32 -optc-march=i686 -optc-mtune=generic -optc-msse2 -optc-mfpmath=sse -optc-mstackrealign -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' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/network-3.1.1.1 --global Configuring network-3.1.1.1... configure: WARNING: unrecognized options: --with-compiler checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... /usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... /usr/bin/gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/types.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking netioapi.h usability... no checking netioapi.h presence... no checking for netioapi.h... no checking for struct ucred... yes checking for gai_strerror... yes checking for gethostent... yes checking for accept4... yes checking for getpeereid... no checking whether AI_ADDRCONFIG is declared... yes checking whether AI_ALL is declared... yes checking whether AI_NUMERICSERV is declared... yes checking whether AI_V4MAPPED is declared... yes checking whether IPV6_V6ONLY is declared... yes checking whether IPPROTO_IP is declared... yes checking whether IPPROTO_TCP is declared... yes checking whether IPPROTO_IPV6 is declared... yes checking whether SO_PEERCRED is declared... yes checking for struct msghdr.msg_control... yes checking for struct msghdr.msg_accrights... no checking for struct sockaddr.sa_len... no configure: creating ./network.buildinfo configure: creating ./config.status config.status: creating include/HsNetworkConfig.h configure: WARNING: unrecognized options: --with-compiler + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for network-3.1.1.1.. Building library for network-3.1.1.1.. [ 1 of 24] Compiling Network.Socket.Imports ( Network/Socket/Imports.hs, dist/build/Network/Socket/Imports.o ) [ 2 of 24] Compiling Network.Socket.If ( Network/Socket/If.hs, dist/build/Network/Socket/If.o ) [ 3 of 24] Compiling Network.Socket.Cbits ( dist/build/Network/Socket/Cbits.hs, dist/build/Network/Socket/Cbits.o ) [ 4 of 24] Compiling Network.Socket.Fcntl ( Network/Socket/Fcntl.hs, dist/build/Network/Socket/Fcntl.o ) [ 5 of 24] Compiling Network.Socket.ByteString.IOVec ( dist/build/Network/Socket/ByteString/IOVec.hs, dist/build/Network/Socket/ByteString/IOVec.o ) [ 6 of 24] Compiling Network.Socket.Types ( dist/build/Network/Socket/Types.hs, dist/build/Network/Socket/Types.o ) dist/build/Network/Socket/Types.hs:72:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 72 | import Control.Monad (when) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 7 of 24] Compiling Network.Socket.Internal ( Network/Socket/Internal.hs, dist/build/Network/Socket/Internal.o ) [ 8 of 24] Compiling Network.Socket.Options ( dist/build/Network/Socket/Options.hs, dist/build/Network/Socket/Options.o ) [ 9 of 24] Compiling Network.Socket.Syscall ( Network/Socket/Syscall.hs, dist/build/Network/Socket/Syscall.o ) [10 of 24] Compiling Network.Socket.Name ( Network/Socket/Name.hs, dist/build/Network/Socket/Name.o ) [11 of 24] Compiling Network.Socket.Info ( dist/build/Network/Socket/Info.hs, dist/build/Network/Socket/Info.o ) [12 of 24] Compiling Network.Socket.Handle ( Network/Socket/Handle.hs, dist/build/Network/Socket/Handle.o ) [13 of 24] Compiling Network.Socket.ByteString.MsgHdr ( dist/build/Network/Socket/ByteString/MsgHdr.hs, dist/build/Network/Socket/ByteString/MsgHdr.o ) [14 of 24] Compiling Network.Socket.ByteString.Internal ( Network/Socket/ByteString/Internal.hs, dist/build/Network/Socket/ByteString/Internal.o ) [15 of 24] Compiling Network.Socket.Buffer ( dist/build/Network/Socket/Buffer.hs, dist/build/Network/Socket/Buffer.o ) [16 of 24] Compiling Network.Socket.SockAddr ( Network/Socket/SockAddr.hs, dist/build/Network/Socket/SockAddr.o ) [17 of 24] Compiling Network.Socket.Shutdown ( Network/Socket/Shutdown.hs, dist/build/Network/Socket/Shutdown.o ) [18 of 24] Compiling Network.Socket.ByteString.IO ( dist/build/Network/Socket/ByteString/IO.hs, dist/build/Network/Socket/ByteString/IO.o ) Network/Socket/ByteString/IO.hsc:51:1: warning: [-Wunused-imports] The import of ‘Foreign.Ptr’ is redundant except perhaps to import instances from ‘Foreign.Ptr’ To import instances alone, use: import Foreign.Ptr() | 51 | import Foreign.Ptr (castPtr) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/ByteString/IO.hsc:59:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 59 | import Control.Monad (zipWithM_) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/ByteString/IO.hsc:62:1: warning: [-Wunused-imports] The import of ‘Foreign.Ptr’ is redundant except perhaps to import instances from ‘Foreign.Ptr’ To import instances alone, use: import Foreign.Ptr() | 62 | import Foreign.Ptr (Ptr, plusPtr) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/ByteString/IO.hsc:63:1: warning: [-Wunused-imports] The import of ‘Foreign.Storable’ is redundant except perhaps to import instances from ‘Foreign.Storable’ To import instances alone, use: import Foreign.Storable() | 63 | import Foreign.Storable (Storable(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [19 of 24] Compiling Network.Socket.ByteString.Lazy.Posix ( Network/Socket/ByteString/Lazy/Posix.hs, dist/build/Network/Socket/ByteString/Lazy/Posix.o ) [20 of 24] Compiling Network.Socket.ByteString ( Network/Socket/ByteString.hs, dist/build/Network/Socket/ByteString.o ) [21 of 24] Compiling Network.Socket.Address ( Network/Socket/Address.hs, dist/build/Network/Socket/Address.o ) [22 of 24] Compiling Network.Socket.Unix ( dist/build/Network/Socket/Unix.hs, dist/build/Network/Socket/Unix.o ) Network/Socket/Unix.hsc:29:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 29 | import Control.Monad (void) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/Unix.hsc:32:1: warning: [-Wunused-imports] The import of ‘Foreign.Ptr’ is redundant except perhaps to import instances from ‘Foreign.Ptr’ To import instances alone, use: import Foreign.Ptr() | 32 | import Foreign.Ptr (Ptr) | ^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/Unix.hsc:33:1: warning: [-Wunused-imports] The import of ‘Foreign.Storable’ is redundant except perhaps to import instances from ‘Foreign.Storable’ To import instances alone, use: import Foreign.Storable() | 33 | import Foreign.Storable (Storable(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [23 of 24] Compiling Network.Socket ( Network/Socket.hs, dist/build/Network/Socket.o ) [24 of 24] Compiling Network.Socket.ByteString.Lazy ( Network/Socket/ByteString/Lazy.hs, dist/build/Network/Socket/ByteString/Lazy.o ) [ 1 of 24] Compiling Network.Socket.Imports ( Network/Socket/Imports.hs, dist/build/Network/Socket/Imports.p_o ) [ 2 of 24] Compiling Network.Socket.If ( Network/Socket/If.hs, dist/build/Network/Socket/If.p_o ) [ 3 of 24] Compiling Network.Socket.Cbits ( dist/build/Network/Socket/Cbits.hs, dist/build/Network/Socket/Cbits.p_o ) [ 4 of 24] Compiling Network.Socket.Fcntl ( Network/Socket/Fcntl.hs, dist/build/Network/Socket/Fcntl.p_o ) [ 5 of 24] Compiling Network.Socket.ByteString.IOVec ( dist/build/Network/Socket/ByteString/IOVec.hs, dist/build/Network/Socket/ByteString/IOVec.p_o ) [ 6 of 24] Compiling Network.Socket.Types ( dist/build/Network/Socket/Types.hs, dist/build/Network/Socket/Types.p_o ) dist/build/Network/Socket/Types.hs:72:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 72 | import Control.Monad (when) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 7 of 24] Compiling Network.Socket.Internal ( Network/Socket/Internal.hs, dist/build/Network/Socket/Internal.p_o ) [ 8 of 24] Compiling Network.Socket.Options ( dist/build/Network/Socket/Options.hs, dist/build/Network/Socket/Options.p_o ) [ 9 of 24] Compiling Network.Socket.Syscall ( Network/Socket/Syscall.hs, dist/build/Network/Socket/Syscall.p_o ) [10 of 24] Compiling Network.Socket.Name ( Network/Socket/Name.hs, dist/build/Network/Socket/Name.p_o ) [11 of 24] Compiling Network.Socket.Info ( dist/build/Network/Socket/Info.hs, dist/build/Network/Socket/Info.p_o ) [12 of 24] Compiling Network.Socket.Handle ( Network/Socket/Handle.hs, dist/build/Network/Socket/Handle.p_o ) [13 of 24] Compiling Network.Socket.ByteString.MsgHdr ( dist/build/Network/Socket/ByteString/MsgHdr.hs, dist/build/Network/Socket/ByteString/MsgHdr.p_o ) [14 of 24] Compiling Network.Socket.ByteString.Internal ( Network/Socket/ByteString/Internal.hs, dist/build/Network/Socket/ByteString/Internal.p_o ) [15 of 24] Compiling Network.Socket.Buffer ( dist/build/Network/Socket/Buffer.hs, dist/build/Network/Socket/Buffer.p_o ) [16 of 24] Compiling Network.Socket.SockAddr ( Network/Socket/SockAddr.hs, dist/build/Network/Socket/SockAddr.p_o ) [17 of 24] Compiling Network.Socket.Shutdown ( Network/Socket/Shutdown.hs, dist/build/Network/Socket/Shutdown.p_o ) [18 of 24] Compiling Network.Socket.ByteString.IO ( dist/build/Network/Socket/ByteString/IO.hs, dist/build/Network/Socket/ByteString/IO.p_o ) Network/Socket/ByteString/IO.hsc:51:1: warning: [-Wunused-imports] The import of ‘Foreign.Ptr’ is redundant except perhaps to import instances from ‘Foreign.Ptr’ To import instances alone, use: import Foreign.Ptr() | 51 | import Foreign.Ptr (castPtr) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/ByteString/IO.hsc:59:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 59 | import Control.Monad (zipWithM_) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/ByteString/IO.hsc:62:1: warning: [-Wunused-imports] The import of ‘Foreign.Ptr’ is redundant except perhaps to import instances from ‘Foreign.Ptr’ To import instances alone, use: import Foreign.Ptr() | 62 | import Foreign.Ptr (Ptr, plusPtr) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/ByteString/IO.hsc:63:1: warning: [-Wunused-imports] The import of ‘Foreign.Storable’ is redundant except perhaps to import instances from ‘Foreign.Storable’ To import instances alone, use: import Foreign.Storable() | 63 | import Foreign.Storable (Storable(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [19 of 24] Compiling Network.Socket.ByteString.Lazy.Posix ( Network/Socket/ByteString/Lazy/Posix.hs, dist/build/Network/Socket/ByteString/Lazy/Posix.p_o ) [20 of 24] Compiling Network.Socket.ByteString ( Network/Socket/ByteString.hs, dist/build/Network/Socket/ByteString.p_o ) [21 of 24] Compiling Network.Socket.Address ( Network/Socket/Address.hs, dist/build/Network/Socket/Address.p_o ) [22 of 24] Compiling Network.Socket.Unix ( dist/build/Network/Socket/Unix.hs, dist/build/Network/Socket/Unix.p_o ) Network/Socket/Unix.hsc:29:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 29 | import Control.Monad (void) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/Unix.hsc:32:1: warning: [-Wunused-imports] The import of ‘Foreign.Ptr’ is redundant except perhaps to import instances from ‘Foreign.Ptr’ To import instances alone, use: import Foreign.Ptr() | 32 | import Foreign.Ptr (Ptr) | ^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/Unix.hsc:33:1: warning: [-Wunused-imports] The import of ‘Foreign.Storable’ is redundant except perhaps to import instances from ‘Foreign.Storable’ To import instances alone, use: import Foreign.Storable() | 33 | import Foreign.Storable (Storable(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [23 of 24] Compiling Network.Socket ( Network/Socket.hs, dist/build/Network/Socket.p_o ) [24 of 24] Compiling Network.Socket.ByteString.Lazy ( Network/Socket/ByteString/Lazy.hs, dist/build/Network/Socket/ByteString/Lazy.p_o ) + '[' -n dist/build/libHSnetwork-3.1.1.1-CtLURRWWFvn3QC3vC70cjB-ghc8.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for network-3.1.1.1.. Running Haddock on library for network-3.1.1.1.. 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.13.0.0, bytestring-0.10.10.1, deepseq-1.4.4.0, ghc-prim-0.5.3, integer-gmp-1.0.2.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. dist/build/Network/Socket/Types.hs:72:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 72 | import Control.Monad (when) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/ByteString/IO.hsc:51:1: warning: [-Wunused-imports] The import of ‘Foreign.Ptr’ is redundant except perhaps to import instances from ‘Foreign.Ptr’ To import instances alone, use: import Foreign.Ptr() | 51 | import Foreign.Ptr (castPtr) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/ByteString/IO.hsc:59:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 59 | import Control.Monad (zipWithM_) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/ByteString/IO.hsc:62:1: warning: [-Wunused-imports] The import of ‘Foreign.Ptr’ is redundant except perhaps to import instances from ‘Foreign.Ptr’ To import instances alone, use: import Foreign.Ptr() | 62 | import Foreign.Ptr (Ptr, plusPtr) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/ByteString/IO.hsc:63:1: warning: [-Wunused-imports] The import of ‘Foreign.Storable’ is redundant except perhaps to import instances from ‘Foreign.Storable’ To import instances alone, use: import Foreign.Storable() | 63 | import Foreign.Storable (Storable(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/Unix.hsc:29:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 29 | import Control.Monad (void) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/Unix.hsc:32:1: warning: [-Wunused-imports] The import of ‘Foreign.Ptr’ is redundant except perhaps to import instances from ‘Foreign.Ptr’ To import instances alone, use: import Foreign.Ptr() | 32 | import Foreign.Ptr (Ptr) | ^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socket/Unix.hsc:33:1: warning: [-Wunused-imports] The import of ‘Foreign.Storable’ is redundant except perhaps to import instances from ‘Foreign.Storable’ To import instances alone, use: import Foreign.Storable() | 33 | import Foreign.Storable (Storable(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Haddock coverage: Warning: Network.Socket.Imports: Could not find documentation for exported module: Control.Applicative Warning: Network.Socket.Imports: Could not find documentation for exported module: Control.Monad Warning: Network.Socket.Imports: Could not find documentation for exported module: Data.Bits Warning: Network.Socket.Imports: Could not find documentation for exported module: Data.Int Warning: Network.Socket.Imports: Could not find documentation for exported module: Data.List Warning: Network.Socket.Imports: Could not find documentation for exported module: Data.Maybe Warning: Network.Socket.Imports: Could not find documentation for exported module: Data.Monoid Warning: Network.Socket.Imports: Could not find documentation for exported module: Data.Ord Warning: Network.Socket.Imports: Could not find documentation for exported module: Data.Typeable Warning: Network.Socket.Imports: Could not find documentation for exported module: Data.Word Warning: Network.Socket.Imports: Could not find documentation for exported module: Foreign.C.String Warning: Network.Socket.Imports: Could not find documentation for exported module: Foreign.C.Types Warning: Network.Socket.Imports: Could not find documentation for exported module: Foreign.Ptr Warning: Network.Socket.Imports: Could not find documentation for exported module: Foreign.Storable Warning: Network.Socket.Imports: Could not find documentation for exported module: Numeric 100% ( 17 / 17) in 'Network.Socket.Internal' Warning: 'connect' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'bind' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'sendmsg' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'socket' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Cannot find documentation for: $vectored 100% ( 13 / 13) in 'Network.Socket.ByteString' 100% ( 16 / 16) in 'Network.Socket.Address' 98% ( 95 / 97) in 'Network.Socket' Missing documentation for: AddrInfo (Network/Socket/Info.hsc:102) ShutdownCmd (Network/Socket/Shutdown.hs:27) 71% ( 5 / 7) in 'Network.Socket.ByteString.Lazy' Missing documentation for: send (Network/Socket/ByteString/Lazy/Posix.hs:23) sendAll (Network/Socket/ByteString/Lazy/Posix.hs:49) Warning: Network.Socket.Internal: could not find link destinations for: String IO IOError CInt Eq Num Ptr CSize Warning: Network.Socket.ByteString: could not find link destinations for: ByteString IO Int String Warning: Network.Socket.Address: could not find link destinations for: Int Ptr IO ByteString Warning: Network.Socket: could not find link destinations for: IO Maybe Just String Eq == Bool /= Show showsPrec Int ShowS show showList Storable sizeOf alignment peekElemOff Ptr pokeElemOff peekByteOff pokeByteOff peek poke undefined Read readsPrec ReadS readList readPrec ReadPrec readListPrec CInt Fd IOMode Handle hSetBuffering Ord compare Ordering < <= > >= max min NFData rnf Word32 Word8 Word16 Enum succ pred toEnum fromEnum enumFrom enumFromThen enumFromTo enumFromThenTo Integral quot rem div mod quotRem divMod toInteger Integer Num + - * negate abs signum fromInteger Real toRational Rational IOError True CUInt False Warning: Network.Socket.ByteString.Lazy: could not find link destinations for: ByteString IO Int64 String Documentation created: dist/doc/html/network/index.html, dist/doc/html/network/network.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sam5o6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386 ++ dirname /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386 + cd network-3.1.1.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386 Installing library in /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/lib/ghc-8.8.4/network-3.1.1.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d network-3.1.1.1.conf ']' + install -D --mode=0644 network-3.1.1.1.conf /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/lib/ghc-8.8.4/package.conf.d/network-3.1.1.1.conf ++ ls /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/lib/ghc-8.8.4/package.conf.d/network-3.1.1.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/lib/ghc-8.8.4/package.conf.d/network-3.1.1.1.conf ']' + rm -f ghc-network.files ghc-network-doc.files + touch ghc-network.files ghc-network-doc.files + for i in /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/lib/libHSnetwork-3.1.1.1-*ghc8.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/lib/libHSnetwork-3.1.1.1-CtLURRWWFvn3QC3vC70cjB-ghc8.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/lib/libHSnetwork-3.1.1.1-CtLURRWWFvn3QC3vC70cjB-ghc8.8.4.so + pkgdir=/usr/lib/ghc-8.8.4/network-3.1.1.1 + '[' -d /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/lib/ghc-8.8.4/network-3.1.1.1 ']' + find /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/lib/ghc-8.8.4/network-3.1.1.1 -type d -fprintf ghc-network-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-network-prof.files -o -fprint ghc-network-devel.files + ls /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/lib/ghc-8.8.4/package.conf.d/network-3.1.1.1.conf + '[' -d /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/doc/ghc/html/libraries/network-3.1.1.1 ']' + echo %dir /usr/share/doc/ghc + echo %dir /usr/share/doc/ghc/html + echo %dir /usr/share/doc/ghc/html/libraries + echo /usr/share/doc/ghc/html/libraries/network-3.1.1.1 + for i in ghc-network.files ghc-network-devel.files ghc-network-doc.files ghc-network-prof.files + '[' -f ghc-network.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386!!g' ghc-network.files + for i in ghc-network.files ghc-network-devel.files ghc-network-doc.files ghc-network-prof.files + '[' -f ghc-network-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386!!g' ghc-network-devel.files + for i in ghc-network.files ghc-network-devel.files ghc-network-doc.files ghc-network-prof.files + '[' -f ghc-network-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386!!g' ghc-network-doc.files + for i in ghc-network.files ghc-network-devel.files ghc-network-doc.files ghc-network-prof.files + '[' -f ghc-network-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386!!g' ghc-network-prof.files + /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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.q0xoV5 Processing files: ghc-network-3.1.1.1-5.el9.i686 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wy9tWC + umask 022 + cd /builddir/build/BUILD + cd network-3.1.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/licenses/ghc-network + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/licenses/ghc-network + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/licenses/ghc-network + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-network = 3.1.1.1-5.el9 ghc-network(x86-32) = 3.1.1.1-5.el9 libHSnetwork-3.1.1.1-CtLURRWWFvn3QC3vC70cjB-ghc8.8.4.so Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSbase-4.13.0.0-ghc8.8.4.so libHSbytestring-0.10.10.1-ghc8.8.4.so libHSghc-prim-0.5.3-ghc8.8.4.so libHSinteger-gmp-1.0.2.0-ghc8.8.4.so libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.10) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) rtld(GNU_HASH) Processing files: ghc-network-devel-3.1.1.1-5.el9.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QrDv72 + umask 022 + cd /builddir/build/BUILD + cd network-3.1.1.1 + DOCDIR=/builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/doc/ghc-network-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/doc/ghc-network-devel + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/doc/ghc-network-devel + cp -pr README.md /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/doc/ghc-network-devel + cp -pr examples /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/doc/ghc-network-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(network-3.1.1.1-CtLURRWWFvn3QC3vC70cjB) ghc-network-devel = 3.1.1.1-5.el9 ghc-network-devel(x86-32) = 3.1.1.1-5.el9 ghc-network-static = 3.1.1.1-5.el9 ghc-network-static(x86-32) = 3.1.1.1-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.13.0.0) ghc-devel(bytestring-0.10.10.1) ghc-devel(deepseq-1.4.4.0) Processing files: ghc-network-doc-3.1.1.1-5.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.aqbGsh + umask 022 + cd /builddir/build/BUILD + cd network-3.1.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/licenses/ghc-network-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/licenses/ghc-network-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386/usr/share/licenses/ghc-network-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-network-doc = 3.1.1.1-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-network-prof-3.1.1.1-5.el9.i686 Provides: ghc-network-prof = 3.1.1.1-5.el9 ghc-network-prof(x86-32) = 3.1.1.1-5.el9 ghc-prof(network-3.1.1.1-CtLURRWWFvn3QC3vC70cjB) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.13.0.0) ghc-prof(bytestring-0.10.10.1) ghc-prof(deepseq-1.4.4.0) Supplements: (ghc-network-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386 Wrote: /builddir/build/RPMS/ghc-network-3.1.1.1-5.el9.i686.rpm Wrote: /builddir/build/RPMS/ghc-network-devel-3.1.1.1-5.el9.i686.rpm Wrote: /builddir/build/RPMS/ghc-network-prof-3.1.1.1-5.el9.i686.rpm Wrote: /builddir/build/RPMS/ghc-network-doc-3.1.1.1-5.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e9s9XN + umask 022 + cd /builddir/build/BUILD + cd network-3.1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-network-3.1.1.1-5.el9.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0