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 aarch64 --nodeps /builddir/build/SPECS/ghc-http-client.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-222325-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 aarch64 --nodeps /builddir/build/SPECS/ghc-http-client.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ghc-http-client-0.7.19-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-http-client.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-222325-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 aarch64 --nodeps /builddir/build/SPECS/ghc-http-client.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.P5eUB8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf http-client-0.7.19 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/http-client-0.7.19.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd http-client-0.7.19 + /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.5plsgx + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 http-client-0.7.19 ++ 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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-http-client '--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-mbranch-protection=standard -optc-fasynchronous-unwind-tables -optc-fstack-clash-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/http-client-0.7.19 --global Configuring http-client-0.7.19... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for http-client-0.7.19.. Building library for http-client-0.7.19.. [ 1 of 19] Compiling Data.KeyedPool [ 2 of 19] Compiling Network.HTTP.Client.Types [ 3 of 19] Compiling Network.HTTP.Client.Connection [ 4 of 19] Compiling Network.HTTP.Client.Headers [ 5 of 19] Compiling Network.HTTP.Client.Body [ 6 of 19] Compiling Network.HTTP.Client.Util [ 7 of 19] Compiling Network.HTTP.Client.Request [ 8 of 19] Compiling Network.HTTP.Client.Response [ 9 of 19] Compiling Network.HTTP.Proxy [10 of 19] Compiling Network.HTTP.Client.Manager [11 of 19] Compiling Network.PublicSuffixList.Types [12 of 19] Compiling Network.PublicSuffixList.Serialize [13 of 19] Compiling Network.PublicSuffixList.DataStructure [14 of 19] Compiling Network.PublicSuffixList.Lookup publicsuffixlist/Network/PublicSuffixList/Lookup.hs:69:63: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 69 | output _ (OffEnd True x) = Just $ T.intercalate "." $ tail $ T.splitOn "." x | ^^^^ [15 of 19] Compiling Network.HTTP.Client.Cookies [16 of 19] Compiling Network.HTTP.Client.Core [17 of 19] Compiling Network.HTTP.Client.Internal [18 of 19] Compiling Network.HTTP.Client [19 of 19] Compiling Network.HTTP.Client.MultipartFormData + '[' -n dist/build/libHShttp-client-0.7.19-EHWDtRUaEJU1OiNzOHijZf-ghc9.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for http-client-0.7.19.. Running Haddock on library for http-client-0.7.19.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: appar-0.1.8, array-0.5.8.0, async-2.2.5, base-4.19.2.0, base64-bytestring-1.2.1.0, binary-0.8.9.1, blaze-builder-0.4.2.3, byteorder-1.0.4, bytestring-0.12.1.0, case-insensitive-1.2.1.0, containers-0.6.8, cookie-0.5.0, data-default-class-0.1.2.2, deepseq-1.5.1.0, directory-1.3.8.5, 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, http-types-0.12.4, iproute-1.7.15, mime-types-0.1.2.0, mtl-2.3.1, network-3.1.4.0, network-uri-2.6.4.2, os-string-2.0.7, parsec-3.1.17.0, pretty-1.1.3.6, process-1.6.25.0, random-1.2.1.3, 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, th-compat-0.1.6, 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 19] Compiling Data.KeyedPool ( Data/KeyedPool.hs, nothing ) [ 2 of 19] Compiling Network.HTTP.Client.Types ( Network/HTTP/Client/Types.hs, nothing ) [ 3 of 19] Compiling Network.HTTP.Client.Connection ( Network/HTTP/Client/Connection.hs, nothing ) [ 4 of 19] Compiling Network.HTTP.Client.Headers ( Network/HTTP/Client/Headers.hs, nothing ) [ 5 of 19] Compiling Network.HTTP.Client.Body ( Network/HTTP/Client/Body.hs, nothing ) [ 6 of 19] Compiling Network.HTTP.Client.Util ( Network/HTTP/Client/Util.hs, nothing ) [ 7 of 19] Compiling Network.HTTP.Client.Request ( Network/HTTP/Client/Request.hs, nothing ) [ 8 of 19] Compiling Network.HTTP.Client.Response ( Network/HTTP/Client/Response.hs, nothing ) [ 9 of 19] Compiling Network.HTTP.Proxy ( Network/HTTP/Proxy.hs, nothing ) [10 of 19] Compiling Network.HTTP.Client.Manager ( Network/HTTP/Client/Manager.hs, nothing ) [11 of 19] Compiling Network.PublicSuffixList.Types ( publicsuffixlist/Network/PublicSuffixList/Types.hs, nothing ) [12 of 19] Compiling Network.PublicSuffixList.Serialize ( publicsuffixlist/Network/PublicSuffixList/Serialize.hs, nothing ) [13 of 19] Compiling Network.PublicSuffixList.DataStructure ( publicsuffixlist/Network/PublicSuffixList/DataStructure.hs, nothing ) [14 of 19] Compiling Network.PublicSuffixList.Lookup ( publicsuffixlist/Network/PublicSuffixList/Lookup.hs, nothing ) publicsuffixlist/Network/PublicSuffixList/Lookup.hs:69:63: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 69 | output _ (OffEnd True x) = Just $ T.intercalate "." $ tail $ T.splitOn "." x | ^^^^ [15 of 19] Compiling Network.HTTP.Client.Cookies ( Network/HTTP/Client/Cookies.hs, nothing ) [16 of 19] Compiling Network.HTTP.Client.Core ( Network/HTTP/Client/Core.hs, nothing ) [17 of 19] Compiling Network.HTTP.Client.Internal ( Network/HTTP/Client/Internal.hs, nothing ) [18 of 19] Compiling Network.HTTP.Client ( Network/HTTP/Client.hs, nothing ) [19 of 19] Compiling Network.HTTP.Client.MultipartFormData ( Network/HTTP/Client/MultipartFormData.hs, nothing ) Haddock coverage: Warning: 'KeyedPool' is ambiguous. It is defined * at Data/KeyedPool.hs:54:31 * at Data/KeyedPool.hs:54: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 Data/KeyedPool.hs:54:1 Warning: 'Managed' is ambiguous. It is defined * at Data/KeyedPool.hs:288:25 * at Data/KeyedPool.hs:288: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 Data/KeyedPool.hs:288:1 Warning: 'Reuse' is ambiguous. It is defined * at Data/KeyedPool.hs:309:14 * at Data/KeyedPool.hs:309: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 Data/KeyedPool.hs:309:1 Warning: 'Manager' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:855:16 * at Network/HTTP/Client/Types.hs:855: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 Network/HTTP/Client/Types.hs:855:1 Warning: 'managerProxy' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'defaultManagerSettings' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'parseRequest' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'defaultRequest' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'ResponseTimeout' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:160:22 * at Network/HTTP/Client/Types.hs:652: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 Network/HTTP/Client/Types.hs:652:1 Warning: 'alwaysDecompress' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'browserDecompress' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'strippedHostName' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Connection' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:81:19 * at Network/HTTP/Client/Types.hs:81: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 Network/HTTP/Client/Types.hs:81:1 Warning: 'Request' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:490:16 * at Network/HTTP/Client/Types.hs:490: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 Network/HTTP/Client/Types.hs:490:1 Warning: 'equal' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'equiv' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Cookie' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:260:15 * at Network/HTTP/Client/Types.hs:260: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 Network/HTTP/Client/Types.hs:260:1 Warning: 'Connection' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:81:19 * at Network/HTTP/Client/Types.hs:81: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 Network/HTTP/Client/Types.hs:81:1 Warning: 'Request' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:490:16 * at Network/HTTP/Client/Types.hs:490: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 Network/HTTP/Client/Types.hs:490:1 Warning: 'URI' is ambiguous. It is defined * in ‘Network.URI’ * in ‘Network.URI’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘Network.URI’ Warning: 'PopObserver' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'location' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Response' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:692:22 * at Network/HTTP/Client/Types.hs:692: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 Network/HTTP/Client/Types.hs:692:1 Warning: 'Source' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Request' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:490:16 * at Network/HTTP/Client/Types.hs:490: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 Network/HTTP/Client/Types.hs:490:1 Warning: 'Manager' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:855:16 * at Network/HTTP/Client/Types.hs:855: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 Network/HTTP/Client/Types.hs:855:1 Warning: 'publicsuffixlistcreate' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'isSuffix' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Response' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:692:22 * at Network/HTTP/Client/Types.hs:692: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 Network/HTTP/Client/Types.hs:692:1 Warning: 'Request' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:490:16 * at Network/HTTP/Client/Types.hs:490: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 Network/HTTP/Client/Types.hs:490:1 Warning: 'Manager' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:855:16 * at Network/HTTP/Client/Types.hs:855: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 Network/HTTP/Client/Types.hs:855:1 75% (112 /149) in 'Network.HTTP.Client.Internal' Missing documentation for: makeChunkedReader (Network/HTTP/Client/Body.hs:156) makeLengthReader (Network/HTTP/Client/Body.hs:126) makeGzipReader (Network/HTTP/Client/Body.hs:78) makeUnlimitedReader (Network/HTTP/Client/Body.hs:112) brEmpty (Network/HTTP/Client/Body.hs:54) constBodyReader (Network/HTTP/Client/Body.hs:57) connectionReadLine (Network/HTTP/Client/Connection.hs:35) connectionReadLineWith (Network/HTTP/Client/Connection.hs:47) connectionUnreadLine (Network/HTTP/Client/Connection.hs:65) openSocketConnection (Network/HTTP/Client/Connection.hs:153) openSocketConnectionSize (Network/HTTP/Client/Connection.hs:161) withSocket (Network/HTTP/Client/Connection.hs:189) createCookieJar (Network/HTTP/Client/Cookies.hs:92) destroyCookieJar (Network/HTTP/Client/Cookies.hs:95) removeExistingCookieFromCookieJar (Network/HTTP/Client/Cookies.hs:102) isIpAddress (Network/HTTP/Client/Cookies.hs:42) requestAction (Network/HTTP/Client/Core.hs:118) handleClosedRead (Network/HTTP/Client/Core.hs:264) parseStatusHeaders (Network/HTTP/Client/Headers.hs:32) validateHeaders (Network/HTTP/Client/Headers.hs:142) HeadersValidationResult (Network/HTTP/Client/Headers.hs:137) needsGunzip (Network/HTTP/Client/Request.hs:417) requestBuilder (Network/HTTP/Client/Request.hs:436) getResponse (Network/HTTP/Client/Response.hs:123) getConn (Network/HTTP/Client/Manager.hs:208) HasHttpManager (Network/HTTP/Client/Types.hs:870) HttpExceptionContent (Network/HTTP/Client/Types.hs:133) Cookie (Network/HTTP/Client/Types.hs:260) CookieJar (Network/HTTP/Client/Types.hs:275) Connection (Network/HTTP/Client/Types.hs:81) StatusHeaders (Network/HTTP/Client/Types.hs:95) unHttpExceptionContentWrapper throwHttp (Network/HTTP/Client/Types.hs:111) toHttpException (Network/HTTP/Client/Types.hs:114) ResponseClose (Network/HTTP/Client/Types.hs:741) ConnsMap (Network/HTTP/Client/Types.hs:875) NonEmptyList (Network/HTTP/Client/Types.hs:879) Warning: 'Manager' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:855:16 * at Network/HTTP/Client/Types.hs:855: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 Network/HTTP/Client/Types.hs:855:1 Warning: 'Request' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:490:16 * at Network/HTTP/Client/Types.hs:490: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 Network/HTTP/Client/Types.hs:490:1 Warning: 'Response' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:692:22 * at Network/HTTP/Client/Types.hs:692: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 Network/HTTP/Client/Types.hs:692:1 Warning: 'tlsManagerSettings' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'ManagerSettings' is ambiguous. It is defined * at Network/HTTP/Client/Types.hs:750:24 * at Network/HTTP/Client/Types.hs:750: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 Network/HTTP/Client/Types.hs:750:1 93% (139 /149) in 'Network.HTTP.Client' Missing documentation for: HasHttpManager (Network/HTTP/Client/Types.hs:870) managerSetMaxHeaderLength (Network/HTTP/Client.hs:327) managerSetMaxNumberHeaders (Network/HTTP/Client.hs:332) HttpExceptionContent (Network/HTTP/Client/Types.hs:133) Cookie (Network/HTTP/Client/Types.hs:260) CookieJar (Network/HTTP/Client/Types.hs:275) createCookieJar (Network/HTTP/Client/Cookies.hs:92) destroyCookieJar (Network/HTTP/Client/Cookies.hs:95) removeExistingCookieFromCookieJar (Network/HTTP/Client/Cookies.hs:102) isIpAddress (Network/HTTP/Client/Cookies.hs:42) Warning: 'Part' is ambiguous. It is defined * at Network/HTTP/Client/MultipartFormData.hs:84:16 * at Network/HTTP/Client/MultipartFormData.hs:81: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 Network/HTTP/Client/MultipartFormData.hs:81:1 89% ( 25 / 28) in 'Network.HTTP.Client.MultipartFormData' Missing documentation for: Part (Network/HTTP/Client/MultipartFormData.hs:81) webkitBoundaryPure (Network/HTTP/Client/MultipartFormData.hs:255) renderPart (Network/HTTP/Client/MultipartFormData.hs:220) Warning: Network.HTTP.Client.Internal: could not find link destinations for: - GHC.Num.fromInteger - GHC.Num.- - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo - GHC.Classes.== - GHC.Classes.>= - GHC.Num.negate - GHC.Base.fmap - Data.String.fromString - GHC.Base.<> - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Enum.Bounded - GHC.Enum.Enum - GHC.Classes.Eq - GHC.Real.Integral - GHC.Base.Monad - GHC.Base.Functor - GHC.Num.Num - GHC.Classes.Ord - GHC.Read.Read - GHC.Show.Show - Data.String.IsString - GHC.Base.Applicative - Data.Foldable.Foldable - Data.Traversable.Traversable - GHC.Base.Semigroup - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Int.Int64 - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.Word.Word64 - Data.Either.Either - GHC.Base.NonEmpty - GHC.Types.Type - GHC.Maybe.Nothing - Data.Foldable.elem - Data.Foldable.foldMap - Data.Foldable.foldl - Data.Foldable.foldl1 - Data.Foldable.foldr - Data.Foldable.foldr1 - Data.Foldable.length - Data.Foldable.maximum - Data.Foldable.minimum - Data.Foldable.null - Data.Foldable.product - Data.Foldable.sum - Data.Traversable.mapM - Data.Traversable.sequence - Data.Traversable.sequenceA - Data.Traversable.traverse - GHC.Base.<$ - GHC.Enum.maxBound - GHC.Enum.minBound - GHC.Enum.fromEnum - GHC.Enum.pred - GHC.Enum.succ - GHC.Enum.toEnum - GHC.IO.FilePath - GHC.Num.* - GHC.Num.+ - GHC.Num.abs - GHC.Num.signum - GHC.Read.readList - GHC.Read.readsPrec - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Exception.Type.SomeException - GHC.Exception.Type.Exception - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - Data.Map.Internal.Map - Data.Time.Clock.Internal.UTCTime.UTCTime - GHC.IORef.IORef - Data.Foldable.fold - Data.Foldable.foldMap' - Data.Foldable.foldl' - Data.Foldable.foldr' - Data.Foldable.toList - GHC.Base.sconcat - GHC.Base.stimes - Data.KeyedPool.Managed - Data.KeyedPool.KeyedPool - Text.ParserCombinators.ReadPrec.ReadPrec - Data.Set.Internal.Set - Network.HTTP.Types.Header.Header - Network.HTTP.Types.Header.HeaderName - Network.HTTP.Types.Header.RequestHeaders - Network.HTTP.Types.Header.ResponseHeaders - Network.HTTP.Types.Method.Method - Network.HTTP.Types.Status.Status - Network.HTTP.Types.URI.EscapeItem - Network.HTTP.Types.Version.HttpVersion - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString - Data.ByteString.Builder.Internal.Builder - GHC.Read.readPrec - Network.Socket.Types.HostAddress - Network.Socket.Types.Socket - Data.Text.Internal.Text - Data.Streaming.Zlib.ZlibException - Control.Monad.IO.Class.MonadIO - GHC.Read.readListPrec - Network.HTTP.Client.Types.HttpExceptionContentWrapper - Network.URI.URI - Control.Monad.Catch.MonadThrow - Control.Monad.Catch.throwM - Web.Cookie.SetCookie Warning: Network.HTTP.Client: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Base.fmap - Data.String.fromString - GHC.Base.<> - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Classes.Eq - GHC.Real.Integral - GHC.Base.Monad - GHC.Base.Functor - GHC.Num.Num - GHC.Classes.Ord - GHC.Read.Read - GHC.Show.Show - Data.String.IsString - GHC.Base.Applicative - Data.Foldable.Foldable - Data.Traversable.Traversable - GHC.Generics.Generic - GHC.Base.Semigroup - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Int.Int64 - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.Word.Word64 - GHC.Base.NonEmpty - GHC.Types.Type - GHC.Generics.:*: - GHC.Generics.Rec0 - GHC.Generics.D1 - GHC.Generics.C1 - GHC.Generics.S1 - GHC.Generics.Rep - GHC.Types.False - GHC.Maybe.Nothing - GHC.Maybe.Just - GHC.Types.True - GHC.Generics.PrefixI - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.MetaData - GHC.Generics.MetaCons - GHC.Generics.MetaSel - Data.Foldable.elem - Data.Foldable.foldMap - Data.Foldable.foldl - Data.Foldable.foldl1 - Data.Foldable.foldr - Data.Foldable.foldr1 - Data.Foldable.length - Data.Foldable.maximum - Data.Foldable.minimum - Data.Foldable.null - Data.Foldable.product - Data.Foldable.sum - Data.Traversable.mapM - Data.Traversable.sequence - Data.Traversable.sequenceA - Data.Traversable.traverse - GHC.Base.<$ - GHC.IO.FilePath - GHC.Read.readList - GHC.Read.readsPrec - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Exception.Type.SomeException - GHC.Exception.Type.Exception - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - Data.Time.Clock.Internal.UTCTime.UTCTime - Data.Foldable.fold - Data.Foldable.foldMap' - Data.Foldable.foldl' - Data.Foldable.foldr' - Data.Foldable.toList - GHC.Base.sconcat - GHC.Base.stimes - Text.ParserCombinators.ReadPrec.ReadPrec - Data.Set.Internal.Set - Network.HTTP.Types.Header.Header - Network.HTTP.Types.Header.HeaderName - Network.HTTP.Types.Header.RequestHeaders - Network.HTTP.Types.Header.ResponseHeaders - Network.HTTP.Types.Method.Method - Network.HTTP.Types.Status.Status - Network.HTTP.Types.URI.EscapeItem - Network.HTTP.Types.Version.HttpVersion - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString - Data.ByteString.Builder.Internal.Builder - GHC.Read.readPrec - Network.Socket.Types.HostAddress - Network.Socket.Types.Socket - Data.Text.Internal.Text - Data.Streaming.Zlib.ZlibException - Control.Monad.IO.Class.MonadIO - GHC.Generics.from - GHC.Generics.to - GHC.Read.readListPrec - Network.URI.URI - Control.Monad.Catch.MonadThrow - Web.Cookie.SetCookie - Network.HTTP.Client.Rep_HistoriedResponse Warning: Network.HTTP.Client.MultipartFormData: could not find link destinations for: - GHC.Base.Functor - GHC.Show.Show - GHC.Base.Applicative - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Types.Type - GHC.IO.FilePath - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Network.HTTP.Types.Header.Header - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString - Data.Text.Internal.Text - Control.Monad.IO.Class.MonadIO - Network.Mime.MimeType - System.Random.Internal.RandomGen Documentation created: dist/doc/html/http-client/, dist/doc/html/http-client/http-client.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BgLTxl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64 + cd http-client-0.7.19 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64 Installing library in /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/http-client-0.7.19 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' -d http-client-0.7.19.conf ']' + install -D --mode=0644 http-client-0.7.19.conf /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/package.conf.d/http-client-0.7.19.conf + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/package.conf.d/http-client-0.7.19.conf ']' + rm -f ghc-http-client.files ghc-http-client-doc.files + touch ghc-http-client.files ghc-http-client-doc.files + for i in /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4${subsubdir}/libHShttp-client-0.7.19-*ghc9.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/libHShttp-client-0.7.19-EHWDtRUaEJU1OiNzOHijZf-ghc9.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/libHShttp-client-0.7.19-EHWDtRUaEJU1OiNzOHijZf-ghc9.8.4.so + pkgdir=/builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/http-client-0.7.19 + '[' '!' -d /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/http-client-0.7.19 ']' + '[' -d /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/http-client-0.7.19 ']' + find /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/http-client-0.7.19 -type d -fprintf ghc-http-client-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-http-client-prof.files -o -fprint ghc-http-client-devel.files + ls /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/package.conf.d/http-client-0.7.19.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/http-client-0.7.19 + '[' -d /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/share/doc/ghc/html/libraries/http-client-0.7.19 ']' + echo /usr/share/doc/ghc/html/libraries/http-client-0.7.19 + for i in ghc-http-client.files ghc-http-client-devel.files ghc-http-client-doc.files ghc-http-client-prof.files + '[' -f ghc-http-client.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64!!g' ghc-http-client.files + for i in ghc-http-client.files ghc-http-client-devel.files ghc-http-client-doc.files ghc-http-client-prof.files + '[' -f ghc-http-client-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64!!g' ghc-http-client-devel.files + for i in ghc-http-client.files ghc-http-client-devel.files ghc-http-client-doc.files ghc-http-client-prof.files + '[' -f ghc-http-client-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64!!g' ghc-http-client-doc.files + for i in ghc-http-client.files ghc-http-client-devel.files ghc-http-client-doc.files ghc-http-client-prof.files + '[' -f ghc-http-client-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64!!g' ghc-http-client-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/libHShttp-client-0.7.19-EHWDtRUaEJU1OiNzOHijZf-ghc9.8.4.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/libHShttp-client-0.7.19-EHWDtRUaEJU1OiNzOHijZf-ghc9.8.4.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-http-client-0.7.19-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/libHShttp-client-0.7.19-EHWDtRUaEJU1OiNzOHijZf-ghc9.8.4.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.8.4/lib/aarch64-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/libHShttp-client-0.7.19-EHWDtRUaEJU1OiNzOHijZf-ghc9.8.4.so' contains a standard runpath '/usr/lib64' in [/usr/lib64/ghc-9.8.4/lib/aarch64-linux-ghc-9.8.4:/usr/lib64/ghc-9.8.4/lib:/usr/lib64] error: Bad exit status from /var/tmp/rpm-tmp.BgLTxl (%install) Bad exit status from /var/tmp/rpm-tmp.BgLTxl (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-http-client.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 aarch64 --nodeps /builddir/build/SPECS/ghc-http-client.spec