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-wai-extra.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-171146-79852/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-wai-extra.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-wai-extra-3.1.13.0-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/ghc-wai-extra.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-171146-79852/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/ghc-wai-extra.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.NYF2bX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wai-extra-3.1.13.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/wai-extra-3.1.13.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wai-extra-3.1.13.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + dos2unix -k -n /builddir/build/SOURCES/wai-extra-3.1.13.0.cabal wai-extra.cabal dos2unix: converting file /builddir/build/SOURCES/wai-extra-3.1.13.0.cabal to file wai-extra.cabal in Unix format... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AIJJCY + 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 wai-extra-3.1.13.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.md -a -x ChangeLog.md ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + 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.4.5/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.lhs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -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-wai-extra '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-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/wai-extra-3.1.13.0 --global Configuring wai-extra-3.1.13.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j32 Preprocessing library for wai-extra-3.1.13.0.. Building library for wai-extra-3.1.13.0.. [ 1 of 39] Compiling Network.Wai.EventSource.EventStream [ 2 of 39] Compiling Network.Wai.EventSource [ 3 of 39] Compiling Network.Wai.Handler.CGI Network/Wai/Handler/CGI.hs:115:15: warning: [-Wdeprecations] In the use of ‘requestBody’ (imported from Network.Wai.Internal): Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead." | 115 | , requestBody = requestBody' | ^^^^^^^^^^^ [ 4 of 39] Compiling Network.Wai.Handler.SCGI Network/Wai/Handler/SCGI.hs:30:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[(String, String)]’ not matched: [] | 30 | let headers@((_, conLenS):_) = parseHeaders $ S.split 0 headersBS | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wai/Handler/SCGI.hs:76:13: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Char]’ not matched: [] (_:_:_) | 76 | let [c] = S8.unpack bs | ^^^^^^^^^^^^^^^^^^ [ 5 of 39] Compiling Network.Wai.Middleware.AddHeaders [ 6 of 39] Compiling Network.Wai.Middleware.Autohead [ 7 of 39] Compiling Network.Wai.Middleware.CleanPath [ 8 of 39] Compiling Network.Wai.Middleware.HealthCheckEndpoint [ 9 of 39] Compiling Network.Wai.Middleware.HttpAuth [10 of 39] Compiling Network.Wai.Middleware.Jsonp [11 of 39] Compiling Network.Wai.Middleware.Local [12 of 39] Compiling Network.Wai.Middleware.MethodOverride [13 of 39] Compiling Network.Wai.Middleware.MethodOverridePost Network/Wai/Middleware/MethodOverridePost.hs:42:54: warning: [-Wdeprecations] In the use of ‘requestBody’ (imported from Network.Wai, but defined in Network.Wai.Internal): Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead." | 42 | (("_method", Just newmethod):_) -> return $ req {requestBody = rb, requestMethod = newmethod} | ^^^^^^^^^^^ Network/Wai/Middleware/MethodOverridePost.hs:43:54: warning: [-Wdeprecations] In the use of ‘requestBody’ (imported from Network.Wai, but defined in[14 of 39] Compiling Network.Wai.Middleware.RealIp [15 of 39] Compiling Network.Wai.Middleware.RequestLogger.Internal [16 of 39] Compiling Network.Wai.Middleware.RequestSizeLimit.Internal [17 of 39] Compiling Network.Wai.Middleware.Rewrite Network.Wai.Internal): Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead." | 43 | _ -> return $ req {requestBody = rb} | ^^^^^^^^^^^ [18 of 39] Compiling Network.Wai.Middleware.Routed [19 of 39] Compiling Network.Wai.Middleware.Select [20 of 39] Compiling Network.Wai.Middleware.StreamFile [21 of 39] Compiling Network.Wai.Middleware.StripHeaders [22 of 39] Compiling Network.Wai.Middleware.Timeout [23 of 39] Compiling Network.Wai.Middleware.Vhost [24 of 39] Compiling Network.Wai.Parse Network/Wai/Parse.hs:380:48: warning: [-Wdeprecations] In the use of ‘requestBody’ (imported from Network.Wai, but defined in Network.Wai.Internal): Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead." | 380 | Just rbt -> sinkRequestBodyEx o s rbt (requestBody r) | ^^^^^^^^^^^ [25 of 39] Compiling Network.Wai.Request Network/Wai/Request.hs:86:37: warning: [-Wdeprecations] In the use of ‘requestBody’ (imported from Network.Wai, but defined in Network.Wai.Internal): Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead." | 86 | then return $ req { requestBody = throwIO (RequestSizeException maxSize) } | ^^^^^^^^^^^ Network/Wai/Request.hs:91:19: warning: [-Wdeprecations] In the use of ‘requestBody’ (imported from Network.Wai, but defined in Network.Wai.Internal): Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead." | 91 | { requestBody = do | ^^^^^^^^^^^ Network/Wai/Request.hs:92:27: warning: [-Wdeprecations] In the use of ‘requestBody’ (imported from Network.Wai, but defined in Network.Wai.Internal): [26 of 39] Compiling Network.Wai.Middleware.RequestSizeLimit [27 of 39] Compiling Network.Wai.Middleware.ForceSSL [28 of 39] Compiling Network.Wai.Middleware.ForceDomain [29 of 39] Compiling Network.Wai.Middleware.Approot [30 of 39] Compiling Network.Wai.Test.Internal [31 of 39] Compiling Network.Wai.Test [32 of 39] Compiling Network.Wai.UrlMap [33 of 39] Compiling Network.Wai.Util [34 of 39] Compiling Network.Wai.Middleware.CombineHeaders [35 of 39] Compiling Network.Wai.Header [36 of 39] Compiling Network.Wai.Middleware.RequestLogger Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead." | 92 | bs <- requestBody req | ^^^^^^^^^^^ Network/Wai/Test.hs:190:11: warning: [-Wdeprecations] In the use of ‘requestBody’ (imported from Network.Wai, but defined in Network.Wai.Internal): Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead." | 190 | { requestBody = atomicModifyIORef refChunks $ \bss -> | ^^^^^^^^^^^ Network/Wai/Middleware/RequestLogger.hs:403:20: warning: [-Wdeprecations] In the use of ‘requestBody’ (imported from Network.Wai, but defined in Network.Wai.Internal): Deprecated: "requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead." | 403 | let req' = req { requestBody = rbody } | ^^^^^^^^^^^