Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-websockets.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-222328-81000/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-websockets.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ghc-websockets-0.13.0.0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-websockets.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-222328-81000/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-websockets.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Vafoff + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf websockets-0.13.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/websockets-0.13.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd websockets-0.13.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cabal-tweak-drop-dep bytestring-builder + cabal-tweak-dep-ver network '< 3.2' '< 3.3' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.E8Nu8D + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 websockets-0.13.0.0 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f CHANGELOG -a -x CHANGELOG ']' + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.10.3.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-websockets '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.8.4/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/OpenCloudOS/OpenCloudOS-hardened-cc1 -optc-fstack-protector-strong -optc-m64 -optc-march=x86-64-v2 -optc-mtune=generic -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fcf-protection -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-Wl,--build-id=sha1 -fhide-source-paths' --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/websockets-0.13.0.0 --global Configuring websockets-0.13.0.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j32 Preprocessing library for websockets-0.13.0.0.. Building library for websockets-0.13.0.0.. [ 1 of 17] Compiling Network.WebSockets.Connection.Options src/Network/WebSockets/Connection/Options.hs:18:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 18 | import Data.Monoid (Monoid (..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 2 of 17] Compiling Network.WebSockets.Extensions.Description src/Network/WebSockets/Extensions/Description.hs:13:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 13 | import Control.Applicative ((*>), (<*)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Network/WebSockets/Extensions/Description.hs:17:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 17 | import Data.Monoid (mconcat, mappend) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 3 of 17] Compiling Network.WebSockets.Http src/Network/WebSockets/Http.hs:36:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 36 | import Control.Applicative (pure, (*>), (<$>), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Network/WebSockets/Http.hs:47:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 47 | import Data.Monoid (mappend, mconcat) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 17] Compiling Network.WebSockets.Hybi13.Mask [ 5 of 17] Compiling Network.WebSockets.Types [ 6 of 17] Compiling Network.WebSockets.Stream [ 7 of 17] Compiling Network.WebSockets.Hybi13.Demultiplex src/Network/WebSockets/Hybi13/Demultiplex.hs:22:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 22 | import Data.Monoid (mappend) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 8 of 17] Compiling Network.WebSockets.Hybi13 src/Network/WebSockets/Hybi13.hs:21:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 21 | import Control.Applicative (pure, (<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Network/WebSockets/Hybi13.hs:37:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 37 | import Data.Monoid (mappend, mconcat, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Network/WebSockets/Hybi13.hs:258:21: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 258 | versionNumber = head headerVersions | ^^^^ [ 9 of 17] Compiling Network.WebSockets.Protocol [10 of 17] Compiling Network.WebSockets.Extensions [11 of 17] Compiling Network.WebSockets.Extensions.StrictUnicode [12 of 17] Compiling Network.WebSockets.Extensions.PermessageDeflate src/Network/WebSockets/Extensions/PermessageDeflate.hs:17:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() [13 of 17] Compiling Network.WebSockets.Connection | 17 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Network/WebSockets/Connection.hs:48:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 48 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [14 of 17] Compiling Network.WebSockets.Connection.PingPong [15 of 17] Compiling Network.WebSockets.Server [16 of 17] Compiling Network.WebSockets.Client [17 of 17] Compiling Network.WebSockets src/Network/WebSockets/Client.hs:22:58: warning: [GHC-38856] [-Wunused-imports] The import of ‘finally’ from module ‘Control.Exception’ is redundant | 22 | import Control.Exception (bracket, finally, throwIO) | ^^^^^^^ + '[' -n dist/build/libHSwebsockets-0.13.0.0-WWIyZPpnOu18FaozYByke-ghc9.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for websockets-0.13.0.0.. Running Haddock on library for websockets-0.13.0.0.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: SHA-1.6.4.4, array-0.5.8.0, async-2.2.5, attoparsec-0.14.4, attoparsec-0.14.4, base-4.19.2.0, base64-bytestring-1.2.1.0, binary-0.8.9.1, bytestring-0.12.1.0, case-insensitive-1.2.1.0, containers-0.6.8, deepseq-1.5.1.0, directory-1.3.8.5, entropy-0.4.1.11, exceptions-0.10.7, filepath-1.4.301.0, ghc-bignum-1.3, ghc-boot-th-9.8.4, ghc-prim-0.11.0, hashable-1.4.7.0, integer-logarithms-1.0.3.1, mtl-2.3.1, network-3.1.4.0, os-string-2.0.7, pretty-1.1.3.6, primitive-0.9.0.0, process-1.6.25.0, random-1.2.1.3, scientific-0.3.8.0, splitmix-0.1.1, stm-2.5.3.1, streaming-commons-0.2.3.0, template-haskell-2.21.0.0, text-2.1.1, time-1.12.2, transformers-0.6.1.0, unix-2.8.6.0, zlib-0.7.1.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. [ 1 of 17] Compiling Network.WebSockets.Connection.Options ( src/Network/WebSockets/Connection/Options.hs, nothing ) src/Network/WebSockets/Connection/Options.hs:18:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 18 | import Data.Monoid (Monoid (..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 2 of 17] Compiling Network.WebSockets.Extensions.Description ( src/Network/WebSockets/Extensions/Description.hs, nothing ) src/Network/WebSockets/Extensions/Description.hs:13:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 13 | import Control.Applicative ((*>), (<*)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Network/WebSockets/Extensions/Description.hs:17:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 17 | import Data.Monoid (mconcat, mappend) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 3 of 17] Compiling Network.WebSockets.Http ( src/Network/WebSockets/Http.hs, nothing ) src/Network/WebSockets/Http.hs:36:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 36 | import Control.Applicative (pure, (*>), (<$>), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Network/WebSockets/Http.hs:47:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 47 | import Data.Monoid (mappend, mconcat) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 17] Compiling Network.WebSockets.Hybi13.Mask ( src/Network/WebSockets/Hybi13/Mask.hs, nothing ) [ 5 of 17] Compiling Network.WebSockets.Types ( src/Network/WebSockets/Types.hs, nothing ) [ 6 of 17] Compiling Network.WebSockets.Stream ( src/Network/WebSockets/Stream.hs, nothing ) [ 7 of 17] Compiling Network.WebSockets.Hybi13.Demultiplex ( src/Network/WebSockets/Hybi13/Demultiplex.hs, nothing ) src/Network/WebSockets/Hybi13/Demultiplex.hs:22:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 22 | import Data.Monoid (mappend) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 8 of 17] Compiling Network.WebSockets.Hybi13 ( src/Network/WebSockets/Hybi13.hs, nothing ) src/Network/WebSockets/Hybi13.hs:21:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 21 | import Control.Applicative (pure, (<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Network/WebSockets/Hybi13.hs:37:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 37 | import Data.Monoid (mappend, mconcat, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Network/WebSockets/Hybi13.hs:258:21: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 258 | versionNumber = head headerVersions | ^^^^ [ 9 of 17] Compiling Network.WebSockets.Protocol ( src/Network/WebSockets/Protocol.hs, nothing ) [10 of 17] Compiling Network.WebSockets.Extensions ( src/Network/WebSockets/Extensions.hs, nothing ) [11 of 17] Compiling Network.WebSockets.Extensions.StrictUnicode ( src/Network/WebSockets/Extensions/StrictUnicode.hs, nothing ) [12 of 17] Compiling Network.WebSockets.Extensions.PermessageDeflate ( src/Network/WebSockets/Extensions/PermessageDeflate.hs, nothing ) src/Network/WebSockets/Extensions/PermessageDeflate.hs:17:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 17 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [13 of 17] Compiling Network.WebSockets.Connection ( src/Network/WebSockets/Connection.hs, nothing ) src/Network/WebSockets/Connection.hs:48:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 48 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [14 of 17] Compiling Network.WebSockets.Connection.PingPong ( src/Network/WebSockets/Connection/PingPong.hs, nothing ) [15 of 17] Compiling Network.WebSockets.Server ( src/Network/WebSockets/Server.hs, nothing ) [16 of 17] Compiling Network.WebSockets.Client ( src/Network/WebSockets/Client.hs, nothing ) src/Network/WebSockets/Client.hs:22:58: warning: [GHC-38856] [-Wunused-imports] The import of ‘finally’ from module ‘Control.Exception’ is redundant | 22 | import Control.Exception (bracket, finally, throwIO) | ^^^^^^^ [17 of 17] Compiling Network.WebSockets ( src/Network/WebSockets.hs, nothing ) Haddock coverage: Warning: 'Connection' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'connectionFrameSizeLimit' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'ParseException' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'UnicodeException' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'PermessageDeflate' is ambiguous. It is defined * at src/Network/WebSockets/Connection/Options.hs:91:26 * at src/Network/WebSockets/Connection/Options.hs:91:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Network/WebSockets/Connection/Options.hs:91:1 Warning: 'pong' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Text' is ambiguous. It is defined * in ‘Data.Text.Internal’ * in ‘Data.Text.Internal.Lazy’ * at src/Network/WebSockets/Types.hs:73:7 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Network/WebSockets/Types.hs:73:7 Warning: 'Frame' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Stream' is ambiguous. It is defined * at src/Network/WebSockets/Stream.hs:48:15 * at src/Network/WebSockets/Stream.hs:48:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Network/WebSockets/Stream.hs:48:1 33% ( 3 / 9) in 'Network.WebSockets.Stream' Missing documentation for: makeSocketStream (src/Network/WebSockets/Stream.hs:117) makeEchoStream (src/Network/WebSockets/Stream.hs:139) parse (src/Network/WebSockets/Stream.hs:180) parseBin (src/Network/WebSockets/Stream.hs:148) write (src/Network/WebSockets/Stream.hs:213) close (src/Network/WebSockets/Stream.hs:218) Warning: 'Connection' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 16% ( 1 / 6) in 'Network.WebSockets.Extensions' Missing documentation for: Module header ExtensionDescription (src/Network/WebSockets/Extensions/Description.hs:22) ExtensionDescriptions (src/Network/WebSockets/Extensions/Description.hs:56) parseExtensionDescriptions (src/Network/WebSockets/Extensions/Description.hs:59) NegotiateExtension (src/Network/WebSockets/Extensions.hs:14) Warning: 'ExtensionDescription' is ambiguous. It is defined * at src/Network/WebSockets/Extensions/Description.hs:22:29 * at src/Network/WebSockets/Extensions/Description.hs:22:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Network/WebSockets/Extensions/Description.hs:22:1 Warning: 'withPingPong' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'pendingSubprotcols' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Connection' is ambiguous. It is defined * at src/Network/WebSockets/Connection.hs:254:19 * at src/Network/WebSockets/Connection.hs:254:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Network/WebSockets/Connection.hs:254:1 Warning: 'AcceptRequest' is ambiguous. It is defined * at src/Network/WebSockets/Connection.hs:106:22 * at src/Network/WebSockets/Connection.hs:106:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Network/WebSockets/Connection.hs:106:1 Warning: 'DataMessage' is ambiguous. It is defined * at src/Network/WebSockets/Types.hs:43:7 * at src/Network/WebSockets/Types.hs:69:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Network/WebSockets/Types.hs:69:1 76% ( 26 / 34) in 'Network.WebSockets.Connection' Missing documentation for: defaultAcceptRequest (src/Network/WebSockets/Connection.hs:118) defaultRejectRequest (src/Network/WebSockets/Connection.hs:221) rejectRequestWith (src/Network/WebSockets/Connection.hs:234) Connection (src/Network/WebSockets/Connection.hs:254) receive (src/Network/WebSockets/Connection.hs:274) send (src/Network/WebSockets/Connection.hs:319) CompressionOptions (src/Network/WebSockets/Connection/Options.hs:77) defaultPermessageDeflate (src/Network/WebSockets/Connection/Options.hs:102) 80% ( 4 / 5) in 'Network.WebSockets.Connection.PingPong' Missing documentation for: Module header Warning: 'WebSockets' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'PendingConnection' is ambiguous. It is defined * at src/Network/WebSockets/Connection.hs:88:26 * at src/Network/WebSockets/Connection.hs:88:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Network/WebSockets/Connection.hs:88:1 Warning: 'Connection' is ambiguous. It is defined * at src/Network/WebSockets/Connection.hs:254:19 * at src/Network/WebSockets/Connection.hs:254:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Network/WebSockets/Connection.hs:254:1 46% ( 6 / 13) in 'Network.WebSockets.Client' Missing documentation for: runClient (src/Network/WebSockets/Client.hs:54) runClientWith (src/Network/WebSockets/Client.hs:66) runClientWithSocket (src/Network/WebSockets/Client.hs:186) runClientWithStream (src/Network/WebSockets/Client.hs:106) createRequest (src/Network/WebSockets/Protocol.hs:91) Protocol (src/Network/WebSockets/Protocol.hs:32) defaultProtocol (src/Network/WebSockets/Protocol.hs:39) 80% ( 61 / 76) in 'Network.WebSockets' Missing documentation for: Module header defaultAcceptRequest (src/Network/WebSockets/Connection.hs:118) defaultRejectRequest (src/Network/WebSockets/Connection.hs:221) rejectRequestWith (src/Network/WebSockets/Connection.hs:234) Connection (src/Network/WebSockets/Connection.hs:254) CompressionOptions (src/Network/WebSockets/Connection/Options.hs:77) defaultPermessageDeflate (src/Network/WebSockets/Connection/Options.hs:102) receive (src/Network/WebSockets/Connection.hs:274) send (src/Network/WebSockets/Connection.hs:319) ServerOptions (src/Network/WebSockets/Server.hs:80) defaultServerOptions (src/Network/WebSockets/Server.hs:89) runClient (src/Network/WebSockets/Client.hs:54) runClientWith (src/Network/WebSockets/Client.hs:66) runClientWithSocket (src/Network/WebSockets/Client.hs:186) runClientWithStream (src/Network/WebSockets/Client.hs:106) Warning: Network.WebSockets.Stream: could not find link destinations for: - GHC.Maybe.Maybe - GHC.Types.IO - Data.Attoparsec.ByteString.Internal.Parser - Data.ByteString.Internal.Type.ByteString - Data.Binary.Get.Internal.Get - Data.ByteString.Lazy.Internal.ByteString - Network.Socket.Types.Socket Warning: Network.WebSockets.Extensions: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - Data.Either.Either - GHC.Classes./= - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - Data.ByteString.Internal.Type.ByteString - Network.WebSockets.Extensions.Description.ExtensionParam Warning: Network.WebSockets.Connection: could not find link destinations for: - GHC.Classes.== - GHC.Base.<> - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Classes.Eq - GHC.Real.Integral - GHC.Show.Show - GHC.Base.Semigroup - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Int.Int64 - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Word.Word16 - GHC.Base.NonEmpty - GHC.Classes./= - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Base.sconcat - GHC.Base.stimes - Data.ByteString.Internal.Type.ByteString - GHC.IORef.IORef - Network.WebSockets.Types.ConnectionType - GHC.MVar.MVar Warning: Network.WebSockets.Connection.PingPong: could not find link destinations for: - GHC.Show.Show - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Exception.Type.SomeException - GHC.Exception.Type.Exception - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException Warning: Network.WebSockets.Client: could not find link destinations for: - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Types.IO - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - Data.ByteString.Internal.Type.ByteString - Network.Socket.Types.Socket Warning: Network.WebSockets: could not find link destinations for: - GHC.Classes.== - GHC.Base.<> - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Classes.Eq - GHC.Real.Integral - GHC.Show.Show - GHC.Base.Semigroup - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Int.Int64 - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Word.Word16 - GHC.Base.NonEmpty - GHC.Classes./= - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Base.sconcat - GHC.Base.stimes - GHC.Exception.Type.SomeException - Data.ByteString.Internal.Type.ByteString - Data.Text.Internal.Text - Data.Text.Internal.Lazy.Text - Data.ByteString.Lazy.Internal.ByteString - GHC.Exception.Type.Exception - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - Data.CaseInsensitive.Internal.CI - Network.Socket.Types.Socket Documentation created: dist/doc/html/websockets/, dist/doc/html/websockets/websockets.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Vb6Sgq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64 + cd websockets-0.13.0.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64 Installing library in /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/websockets-0.13.0.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' -d websockets-0.13.0.0.conf ']' + install -D --mode=0644 websockets-0.13.0.0.conf /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/websockets-0.13.0.0.conf + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/websockets-0.13.0.0.conf ']' + rm -f ghc-websockets.files ghc-websockets-doc.files + touch ghc-websockets.files ghc-websockets-doc.files + for i in /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4${subsubdir}/libHSwebsockets-0.13.0.0-*ghc9.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSwebsockets-0.13.0.0-WWIyZPpnOu18FaozYByke-ghc9.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSwebsockets-0.13.0.0-WWIyZPpnOu18FaozYByke-ghc9.8.4.so + pkgdir=/builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/websockets-0.13.0.0 + '[' '!' -d /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/websockets-0.13.0.0 ']' + '[' -d /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/websockets-0.13.0.0 ']' + find /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/websockets-0.13.0.0 -type d -fprintf ghc-websockets-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-websockets-prof.files -o -fprint ghc-websockets-devel.files + ls /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/websockets-0.13.0.0.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/websockets-0.13.0.0 + '[' -d /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/share/doc/ghc/html/libraries/websockets-0.13.0.0 ']' + echo /usr/share/doc/ghc/html/libraries/websockets-0.13.0.0 + for i in ghc-websockets.files ghc-websockets-devel.files ghc-websockets-doc.files ghc-websockets-prof.files + '[' -f ghc-websockets.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64!!g' ghc-websockets.files + for i in ghc-websockets.files ghc-websockets-devel.files ghc-websockets-doc.files ghc-websockets-prof.files + '[' -f ghc-websockets-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64!!g' ghc-websockets-devel.files + for i in ghc-websockets.files ghc-websockets-devel.files ghc-websockets-doc.files ghc-websockets-prof.files + '[' -f ghc-websockets-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64!!g' ghc-websockets-doc.files + for i in ghc-websockets.files ghc-websockets-devel.files ghc-websockets-doc.files ghc-websockets-prof.files + '[' -f ghc-websockets-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64!!g' ghc-websockets-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSwebsockets-0.13.0.0-WWIyZPpnOu18FaozYByke-ghc9.8.4.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSwebsockets-0.13.0.0-WWIyZPpnOu18FaozYByke-ghc9.8.4.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-websockets-0.13.0.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSwebsockets-0.13.0.0-WWIyZPpnOu18FaozYByke-ghc9.8.4.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4:/usr/lib64/ghc-9.8.4/lib:/usr/lib64 + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/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 ******************************************************************************* * * WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause * 'rpmbuild' to fail. To ignore these errors, you can set the * '$QA_RPATHS' environment variable which is a bitmask allowing the * values below. The current value of QA_RPATHS is 0x0000. * * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor * issue but are introducing redundant searchpaths without * providing a benefit. They can also cause errors in multilib * environments. * 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute * nor relative filenames and can therefore be a SECURITY risk * 0x0004 ... insecure RPATHs; these are relative RPATHs which are a * SECURITY risk * 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other * RPATHs; this is just a minor issue but usually unwanted * 0x0010 ... the RPATH is empty; there is no reason for such RPATHs * and they cause unneeded work while loading libraries * 0x0020 ... an RPATH references '..' of an absolute path; this will break * the functionality when the path before '..' is a symlink * * * Examples: * - to ignore standard and empty RPATHs, execute 'rpmbuild' like * $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like * $ RPM_BUILD_ROOT= /usr/lib/rpm/check-rpaths * ******************************************************************************* ERROR 0001: file '/usr/lib64/ghc-9.8.4/lib/libHSwebsockets-0.13.0.0-WWIyZPpnOu18FaozYByke-ghc9.8.4.so' contains a standard runpath '/usr/lib64' in [/usr/lib64/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4:/usr/lib64/ghc-9.8.4/lib:/usr/lib64] error: Bad exit status from /var/tmp/rpm-tmp.Vb6Sgq (%install) Bad exit status from /var/tmp/rpm-tmp.Vb6Sgq (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-websockets.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-websockets.spec