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-wreq.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-226056-81103/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-wreq.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-wreq-0.5.4.3-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-wreq.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-226056-81103/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-wreq.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.hJNO5K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wreq-0.5.4.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/wreq-0.5.4.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wreq-0.5.4.3 + /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.HkN7Ye + 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 wreq-0.5.4.3 ++ 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 README.md -a -x README.md ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f TODO.md -a -x TODO.md ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f changelog.md -a -x changelog.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.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-wreq '--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/wreq-0.5.4.3 --global Configuring wreq-0.5.4.3... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j32 Preprocessing library for wreq-0.5.4.3.. Building library for wreq-0.5.4.3.. [ 1 of 15] Compiling Network.Wreq.Cache.Store [ 2 of 15] Compiling Network.Wreq.Internal.OAuth1 [ 3 of 15] Compiling Network.Wreq.Internal.Types Network/Wreq/Internal/Types.hs:50: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() | 50 | import Data.Monoid ((<>), mconcat) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 15] Compiling Network.Wreq.Lens.Machinery [ 5 of 15] Compiling Network.Wreq.Internal.Lens Network/Wreq/Internal/Lens.hs:47:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘proxySecureMode’ | 47 | makeLenses ''HTTP.Request | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/Lens.hs:47:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘shouldStripHeaderOnRedirectIfOnDifferentHostOnly’ | 47 | makeLenses ''HTTP.Request | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/Lens.hs:47:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘shouldStripHeaderOnRedirect’ | 47 | makeLenses ''HTTP.Request | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/Lens.hs:47:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘redactHeaders’ | 47 | makeLenses ''HTTP.Request | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/Lens.hs:47:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘earlyHintHeadersReceived’ | 47 | makeLenses ''HTTP.Request | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 6 of 15] Compiling Network.Wreq.Internal.AWS Network/Wreq/Internal/AWS.hs:10: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() | 10 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/AWS.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 ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/AWS.hs:169:9: warning: [GHC-40910] [-Wunused-local-binds] Defined but not used: ‘gateway’ | 169 | let gateway:service:region:_ = S.split '.' endpoint | ^^^^^^^ Network/Wreq/Internal/AWS.hs:169:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[S.ByteString]’ not matched: [] [_] [_, _] | 169 | let gateway:service:region:_ = S.split '.' endpoint | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/AWS.hs:172:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[S.ByteString]’ not matched: [] [_] | 172 | let _:region:_ = S.split '.' endpoint | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/AWS.hs:177:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[S.ByteString]’ not matched: [] [_] | 177 | let service:region:_ = S.split '.' endpoint | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 7 of 15] Compiling Network.Wreq.Types [ 8 of 15] Compiling Network.Wreq.Internal.Link Network/Wreq/Types.hs:45:19: warning: [GHC-38856] [-Wunused-imports] The import of ‘Word’ from module ‘Data.Word’ is redundant | 45 | import Data.Word (Word, Word8, Word16, Word32, Word64) | ^^^^ Network/Wreq/Internal/Link.hs:8:1: warning: [GHC-38856] [-Wunused-imports] The import of ‘*>, <$>, <*, <*>’ from module ‘Control.Applicative’ is redundant | 8 | import Control.Applicative ((<$>), (<*>), (*>), (<*), many) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 9 of 15] Compiling Network.Wreq.Lens.TH Network/Wreq/Lens/TH.hs:84:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘responseOriginalRequest’ | 84 | makeLenses ''HTTP.Response | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Lens/TH.hs:84:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘responseEarlyHints’ | 84 | makeLenses ''HTTP.Response | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [10 of 15] Compiling Network.Wreq.Lens Network/Wreq/Lens.hs:109: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() | 109 | import Control.Applicative ((<*)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 15] Compiling Network.Wreq.Cache Network/Wreq/Cache.hs:23:32: warning: [GHC-38856] [-Wunused-imports] The import of ‘mconcat’ from module ‘Data.Monoid’ is redundant | 23 | import Data.Monoid (First(..), mconcat) | ^^^^^^^ [12 of 15] Compiling Paths_wreq [13 of 15] Compiling Network.Wreq.Internal [14 of 15] Compiling Network.Wreq [15 of 15] Compiling Network.Wreq.Session Network/Wreq/Internal.hs:26: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() | 26 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal.hs:30: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() | 30 | import Data.Monoid ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Session.hs:292:11: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘Body’ not matched: NoBody ReaderBody _ | 292 | string = (\(StringBody s) -> s, StringBody, runRead) | ^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Session.hs:295:18: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘Body’ not matched: NoBody ReaderBody _ | 295 | stringHistory = (\(StringBody s) -> s, StringBody, runReadHistory) | ^^^^^^^^^^^^^^^^^^^^ + '[' -n dist/build/libHSwreq-0.5.4.3-F8yAmYh9ppt66TVjM6yMIU-ghc9.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for wreq-0.5.4.3.. Running Haddock on library for wreq-0.5.4.3.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: OneTuple-0.4.2, QuickCheck-2.14.3, RSA-2.4.1, SHA-1.6.4.4, StateVar-1.2.2, adjunctions-4.4.2, aeson-2.2.3.0, appar-0.1.8, array-0.5.8.0, asn1-encoding-0.9.6, asn1-parse-0.9.5, asn1-types-0.3.4, assoc-1.1.1, async-2.2.5, attoparsec-0.14.4, attoparsec-0.14.4, authenticate-oauth-1.7, base-4.19.2.0, base-orphans-0.9.3, base16-bytestring-1.0.2.0, base64-bytestring-1.2.1.0, basement-0.0.16, bifunctors-5.6.2, binary-0.8.9.1, blaze-builder-0.4.2.3, byteorder-1.0.4, bytestring-0.12.1.0, call-stack-0.4.0, case-insensitive-1.2.1.0, cborg-0.2.10.0, cereal-0.5.8.3, character-ps-0.1, comonad-5.0.9, containers-0.6.8, contravariant-1.5.5, cookie-0.5.0, crypto-api-0.13.3, crypto-pubkey-types-0.4.3, crypton-0.34, crypton-connection-0.4.3, crypton-x509-1.7.7, crypton-x509-store-1.6.10, crypton-x509-system-1.6.7, crypton-x509-validation-1.6.14, data-default-0.7.1.1, data-default-class-0.1.2.2, data-default-instances-containers-0.1.0.3, data-default-instances-dlist-0.0.1.2, data-default-instances-old-locale-0.0.1.2, data-fix-0.3.4, deepseq-1.5.1.0, directory-1.3.8.5, distributive-0.6.2.1, dlist-1.0, entropy-0.4.1.11, exceptions-0.10.7, filepath-1.4.301.0, free-5.2, generically-0.1.1, ghc-bignum-1.3, ghc-boot-th-9.8.4, ghc-prim-0.11.0, half-0.3.2, hashable-1.4.7.0, hourglass-0.2.12, http-client-0.7.19, http-client-tls-0.3.6.4, http-types-0.12.4, indexed-traversable-0.1.4, indexed-traversable-instances-0.1.2, integer-conversion-0.1.1, integer-gmp-1.1, integer-logarithms-1.0.3.1, invariant-0.6.4, iproute-1.7.15, kan-extensions-5.2.6, lens-5.3.4, lens-aeson-1.2.3, memory-0.18.0, mime-types-0.1.2.0, mtl-2.3.1, network-3.1.4.0, network-uri-2.6.4.2, old-locale-1.0.0.7, old-time-1.1.0.3, os-string-2.0.7, parallel-3.2.2.0, parsec-3.1.17.0, pem-0.2.4, pretty-1.1.3.6, primitive-0.9.0.0, process-1.6.25.0, profunctors-5.6.2, psqueues-0.2.8.1, random-1.2.1.3, reflection-2.1.9, scientific-0.3.8.0, semialign-1.3.1, semigroupoids-6.0.1, semigroups-0.20, serialise-0.2.6.1, socks-0.6.1, splitmix-0.1.1, stm-2.5.3.1, streaming-commons-0.2.3.0, strict-0.5.1, tagged-0.8.8, template-haskell-2.21.0.0, text-2.1.1, text-iso8601-0.1.1, text-short-0.1.6, th-abstraction-0.7.1.0, th-compat-0.1.6, these-1.2.1, time-1.12.2, time-compat-1.9.6.1, time-locale-compat-0.1.1.5, tls-2.1.1, transformers-0.6.1.0, transformers-base-0.4.6, transformers-compat-0.7.2, unix-2.8.6.0, unix-time-0.4.16, unordered-containers-0.2.20, uuid-types-1.0.6, vector-0.13.1.0, vector-stream-0.1.0.1, void-0.7.3, witherable-0.5, zlib-0.7.1.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. [ 1 of 15] Compiling Network.Wreq.Cache.Store ( Network/Wreq/Cache/Store.hs, nothing ) [ 2 of 15] Compiling Network.Wreq.Internal.OAuth1 ( Network/Wreq/Internal/OAuth1.hs, nothing ) [ 3 of 15] Compiling Network.Wreq.Internal.Types ( Network/Wreq/Internal/Types.hs, /tmp/ghc3427776_0/ghc_12.o, /tmp/ghc3427776_0/ghc_12.dyn_o ) Network/Wreq/Internal/Types.hs:50: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() | 50 | import Data.Monoid ((<>), mconcat) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 15] Compiling Network.Wreq.Lens.Machinery ( Network/Wreq/Lens/Machinery.hs, /tmp/ghc3427776_0/ghc_14.o, /tmp/ghc3427776_0/ghc_14.dyn_o ) [ 5 of 15] Compiling Network.Wreq.Internal.Lens ( Network/Wreq/Internal/Lens.hs, /tmp/ghc3427776_0/ghc_8.o, /tmp/ghc3427776_0/ghc_8.dyn_o ) Network/Wreq/Internal/Lens.hs:47:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘proxySecureMode’ | 47 | makeLenses ''HTTP.Request | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/Lens.hs:47:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘shouldStripHeaderOnRedirectIfOnDifferentHostOnly’ | 47 | makeLenses ''HTTP.Request | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/Lens.hs:47:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘shouldStripHeaderOnRedirect’ | 47 | makeLenses ''HTTP.Request | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/Lens.hs:47:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘redactHeaders’ | 47 | makeLenses ''HTTP.Request | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/Lens.hs:47:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘earlyHintHeadersReceived’ | 47 | makeLenses ''HTTP.Request | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 6 of 15] Compiling Network.Wreq.Internal.AWS ( Network/Wreq/Internal/AWS.hs, nothing ) Network/Wreq/Internal/AWS.hs:10: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() | 10 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/AWS.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 ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal/AWS.hs:169:9: warning: [GHC-40910] [-Wunused-local-binds] Defined but not used: ‘gateway’ | 169 | let gateway:service:region:_ = S.split '.' endpoint | ^^^^^^^ [ 7 of 15] Compiling Network.Wreq.Types ( Network/Wreq/Types.hs, /tmp/ghc3427776_0/ghc_16.o, /tmp/ghc3427776_0/ghc_16.dyn_o ) Network/Wreq/Types.hs:45:19: warning: [GHC-38856] [-Wunused-imports] The import of ‘Word’ from module ‘Data.Word’ is redundant | 45 | import Data.Word (Word, Word8, Word16, Word32, Word64) | ^^^^ [ 8 of 15] Compiling Network.Wreq.Internal.Link ( Network/Wreq/Internal/Link.hs, /tmp/ghc3427776_0/ghc_10.o, /tmp/ghc3427776_0/ghc_10.dyn_o ) Network/Wreq/Internal/Link.hs:8:1: warning: [GHC-38856] [-Wunused-imports] The import of ‘*>, <$>, <*, <*>’ from module ‘Control.Applicative’ is redundant | 8 | import Control.Applicative ((<$>), (<*>), (*>), (<*), many) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 9 of 15] Compiling Network.Wreq.Lens.TH ( Network/Wreq/Lens/TH.hs, nothing ) Network/Wreq/Lens/TH.hs:84:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘responseOriginalRequest’ | 84 | makeLenses ''HTTP.Response | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Lens/TH.hs:84:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: ‘responseEarlyHints’ | 84 | makeLenses ''HTTP.Response | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [10 of 15] Compiling Network.Wreq.Lens ( Network/Wreq/Lens.hs, nothing ) Network/Wreq/Lens.hs:109: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() | 109 | import Control.Applicative ((<*)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 15] Compiling Network.Wreq.Cache ( Network/Wreq/Cache.hs, nothing ) Network/Wreq/Cache.hs:23:32: warning: [GHC-38856] [-Wunused-imports] The import of ‘mconcat’ from module ‘Data.Monoid’ is redundant | 23 | import Data.Monoid (First(..), mconcat) | ^^^^^^^ [12 of 15] Compiling Paths_wreq ( dist/build/autogen/Paths_wreq.hs, nothing ) [13 of 15] Compiling Network.Wreq.Internal ( Network/Wreq/Internal.hs, nothing ) Network/Wreq/Internal.hs:26: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() | 26 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Wreq/Internal.hs:30: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() | 30 | import Data.Monoid ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ [14 of 15] Compiling Network.Wreq ( Network/Wreq.hs, nothing ) [15 of 15] Compiling Network.Wreq.Session ( Network/Wreq/Session.hs, nothing ) Haddock coverage: 0% ( 0 / 8) in 'Network.Wreq.Cache.Store' Missing documentation for: Module header Store (Network/Wreq/Cache/Store.hs:22) empty (Network/Wreq/Cache/Store.hs:33) insert (Network/Wreq/Cache/Store.hs:39) delete (Network/Wreq/Cache/Store.hs:55) lookup (Network/Wreq/Cache/Store.hs:47) fromList (Network/Wreq/Cache/Store.hs:61) toList (Network/Wreq/Cache/Store.hs:65) Warning: 'StatusException' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Options' is ambiguous. It is defined * at Network/Wreq/Internal/Types.hs:69:16 * at Network/Wreq/Internal/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 Network/Wreq/Internal/Types.hs:69:1 Warning: 'Req' is ambiguous. It is defined * at Network/Wreq/Internal/Types.hs:280:12 * at Network/Wreq/Internal/Types.hs:280: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/Wreq/Internal/Types.hs:280:1 Warning: Network.Wreq.Internal.Lens: Couldn't find .haddock for export Request 95% ( 22 / 23) in 'Network.Wreq.Types' Missing documentation for: AWSAuthVersion (Network/Wreq/Internal/Types.hs:195) Warning: Network.Wreq.Lens.TH: Couldn't find .haddock for export Cookie Warning: Network.Wreq.Lens.TH: Couldn't find .haddock for export Proxy Warning: Network.Wreq.Lens.TH: Couldn't find .haddock for export Response Warning: Network.Wreq.Lens.TH: Couldn't find .haddock for export HistoriedResponse Warning: Network.Wreq.Lens.TH: Couldn't find .haddock for export Status Warning: Network.Wreq.Lens.TH: Couldn't find .haddock for export PartM Warning: '&' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: '.~' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: Network.Wreq.Lens: Couldn't find .haddock for export Proxy Warning: Network.Wreq.Lens: Couldn't find .haddock for export Cookie Warning: Network.Wreq.Lens: Couldn't find .haddock for export Response Warning: Network.Wreq.Lens: Couldn't find .haddock for export HistoriedResponse Warning: Network.Wreq.Lens: Couldn't find .haddock for export Status Warning: Network.Wreq.Lens: Couldn't find .haddock for export Part 90% ( 58 / 64) in 'Network.Wreq.Lens' Missing documentation for: Proxy Cookie Response HistoriedResponse Status Part 0% ( 0 / 4) in 'Network.Wreq.Cache' Missing documentation for: Module header shouldCache (Network/Wreq/Cache.hs:94) validateEntry (Network/Wreq/Cache.hs:87) cacheStore (Network/Wreq/Cache.hs:48) Warning: 'JSONError' is ambiguous. It is defined * at Network/Wreq/Internal/Types.hs:268:18 * at Network/Wreq/Internal/Types.hs:268: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/Wreq/Internal/Types.hs:268:1 Warning: 'responseBody' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Value' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: '?~' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Proxy' is ambiguous. It is defined * in ‘Network.HTTP.Client.Types’ * in ‘Network.HTTP.Client.Types’ 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.HTTP.Client.Types’ Warning: 'Part' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: Network.Wreq: Couldn't find .haddock for export Proxy Warning: Network.Wreq: Couldn't find .haddock for export Part Warning: Network.Wreq: Couldn't find .haddock for export partBS Warning: Network.Wreq: Couldn't find .haddock for export partLBS Warning: Network.Wreq: Couldn't find .haddock for export partFile Warning: Network.Wreq: Couldn't find .haddock for export partFileSource Warning: Network.Wreq: Couldn't find .haddock for export Response Warning: Network.Wreq: Couldn't find .haddock for export Status Warning: Network.Wreq: Couldn't find .haddock for export HistoriedResponse Warning: Network.Wreq: Couldn't find .haddock for export Cookie 87% (108 /123) in 'Network.Wreq' Missing documentation for: foldGet (Network/Wreq.hs:450) foldGetWith (Network/Wreq.hs:453) defaults (Network/Wreq/Internal.hs:64) AWSAuthVersion (Network/Wreq/Internal/Types.hs:195) Proxy withManager (Network/Wreq.hs:209) Part partBS partLBS partFile partFileSource Response Status HistoriedResponse Cookie Warning: 'Session' is ambiguous. It is defined * at Network/Wreq/Internal/Types.hs:310:16 * at Network/Wreq/Internal/Types.hs:310: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/Wreq/Internal/Types.hs:310:1 97% ( 33 / 34) in 'Network.Wreq.Session' Missing documentation for: seshRun (Network/Wreq/Internal/Lens.hs:48) Warning: Network.Wreq.Cache.Store: could not find link destinations for: - GHC.Classes.Ord - GHC.Show.Show - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - Data.Hashable.Class.Hashable - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS Warning: Network.Wreq.Types: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Double - GHC.Types.Float - GHC.Types.Int - GHC.Int.Int8 - GHC.Int.Int16 - GHC.Int.Int32 - GHC.Int.Int64 - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Types.Word - GHC.Word.Word8 - GHC.Word.Word16 - GHC.Word.Word32 - GHC.Word.Word64 - GHC.Maybe.Nothing - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Exception.Type.SomeException - Data.ByteString.Internal.Type.ByteString - Data.Text.Internal.Text - Data.Text.Internal.Lazy.Text - Data.ByteString.Lazy.Internal.ByteString - Network.HTTP.Client.Types.BodyReader - Network.HTTP.Client.Types.CookieJar - Network.HTTP.Client.Types.Manager - Network.HTTP.Client.Types.ManagerSettings - Network.HTTP.Client.Types.Request - Network.HTTP.Client.Types.RequestBody - GHC.Exception.Type.Exception - Network.HTTP.Types.Header.Header - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - Network.Wreq.Internal.Types.Mgr - Data.Aeson.Encoding.Internal.Encoding - Data.Aeson.Types.Internal.Value - Data.Text.Internal.Builder.Builder Warning: Network.Wreq.Lens: could not find link destinations for: - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo - GHC.Classes.== - GHC.Classes.>= - GHC.Base.fmap - GHC.Enum.Bounded - GHC.Enum.Enum - GHC.Classes.Eq - GHC.Base.Monad - Data.Data.Data - GHC.Base.Functor - GHC.Num.Num - GHC.Classes.Ord - GHC.Read.Read - GHC.Show.Show - Data.Typeable.Internal.Typeable - GHC.Base.Applicative - Data.Foldable.Foldable - Data.Traversable.Traversable - GHC.Generics.Generic - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - Data.Either.Either - 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.foldl - 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.Foldable.foldMap - Data.Traversable.mapM - Data.Traversable.sequence - Data.Traversable.sequenceA - Data.Traversable.traverse - GHC.Base.<* - GHC.Base.<$ - GHC.Enum.maxBound - GHC.Enum.minBound - GHC.Enum.fromEnum - GHC.Enum.pred - GHC.Enum.succ - GHC.Enum.toEnum - 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.Base.MonadPlus - Data.ByteString.Internal.Type.ByteString - Data.Text.Internal.Text - Data.Data.Constr - Data.Data.DataType - Data.ByteString.Lazy.Internal.ByteString - GHC.Generics.from - Data.Foldable.fold - Data.Foldable.foldMap' - Data.Foldable.foldr' - Data.Foldable.toList - Text.ParserCombinators.ReadPrec.ReadPrec - GHC.Read.readPrec - Network.HTTP.Client.Types.BodyReader - Network.HTTP.Client.Types.CookieJar - Network.HTTP.Client.Types.Manager - Network.HTTP.Client.Types.ManagerSettings - Network.HTTP.Client.Types.Request - Network.HTTP.Client.Types.RequestBody - Network.HTTP.Client.Rep_HistoriedResponse - Network.HTTP.Types.Header.HeaderName - Network.HTTP.Types.Header.Header - Data.Time.Clock.Internal.UTCTime.UTCTime - Network.HTTP.Types.Version.HttpVersion - Network.HTTP.Types.Header.ResponseHeaders - Control.Lens.Type.Fold - Control.Lens.Type.Lens' - Control.Lens.Type.Traversal' - GHC.Read.readListPrec - GHC.Generics.to - Network.HTTP.Types.Status.Rep_Status - Network.HTTP.Client.MultipartFormData.PartM - Network.Mime.MimeType - Data.Attoparsec.Internal.endOfInput - Data.Attoparsec.ByteString.Internal.Parser - Data.Data.dataCast1 - Data.Data.dataCast2 - Data.Data.dataTypeOf - Data.Data.gfoldl - Data.Data.gmapM - Data.Data.gmapMo - Data.Data.gmapMp - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapT - Data.Data.gunfold - Data.Data.toConstr Warning: Network.Wreq.Cache: could not find link destinations for: - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - Data.Time.Clock.Internal.UTCTime.UTCTime - Network.Wreq.Internal.Types.CacheEntry Warning: Network.Wreq: could not find link destinations for: - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo - GHC.Classes.== - GHC.Classes.>= - GHC.Base.fmap - GHC.Enum.Bounded - GHC.Enum.Enum - GHC.Classes.Eq - GHC.Base.Monad - Data.Data.Data - GHC.Base.Functor - GHC.Num.Num - GHC.Classes.Ord - GHC.Read.Read - GHC.Show.Show - Data.Typeable.Internal.Typeable - GHC.Base.Applicative - Data.Foldable.Foldable - Data.Traversable.Traversable - GHC.Generics.Generic - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Double - GHC.Types.Float - GHC.Types.Int - GHC.Int.Int8 - GHC.Int.Int16 - GHC.Int.Int32 - GHC.Int.Int64 - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.Types.Word - GHC.Word.Word8 - GHC.Word.Word16 - GHC.Word.Word32 - GHC.Word.Word64 - Data.Either.Either - 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 - Data.Either.Left - Data.Either.Right - 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.foldl - 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.Foldable.foldMap - Data.Traversable.mapM - Data.Traversable.sequence - Data.Traversable.sequenceA - Data.Traversable.traverse - GHC.Base.<* - GHC.Base.<$ - GHC.Enum.maxBound - GHC.Enum.minBound - GHC.Enum.fromEnum - GHC.Enum.pred - GHC.Enum.succ - GHC.Enum.toEnum - 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.Base.MonadPlus - GHC.Exception.Type.SomeException - Data.ByteString.Internal.Type.ByteString - Data.Text.Internal.Text - Data.Data.Constr - Data.Data.DataType - Data.Text.Internal.Lazy.Text - Data.ByteString.Lazy.Internal.ByteString - GHC.Generics.from - Data.Foldable.fold - Data.Foldable.foldMap' - Data.Foldable.foldr' - Data.Foldable.toList - Text.ParserCombinators.ReadPrec.ReadPrec - GHC.Read.readPrec - Network.HTTP.Client.Types.CookieJar - Network.HTTP.Client.Types.Manager - Network.HTTP.Client.Types.ManagerSettings - Network.HTTP.Client.Types.Request - Network.HTTP.Client.Types.RequestBody - Network.HTTP.Client.Rep_HistoriedResponse - GHC.Exception.Type.Exception - Network.HTTP.Types.Header.HeaderName - Network.HTTP.Types.Header.Header - Control.Monad.Catch.MonadThrow - Data.Time.Clock.Internal.UTCTime.UTCTime - Network.HTTP.Types.Header.ResponseHeaders - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - Data.Function.& - Control.Lens.Setter..~ - Control.Lens.Type.Fold - Control.Lens.Type.Lens' - Control.Lens.Type.Traversal' - GHC.Read.readListPrec - GHC.Generics.to - Network.HTTP.Types.Status.Rep_Status - Data.Aeson.Types.FromJSON.FromJSON - Data.Aeson.Types.Internal.Value - Network.HTTP.Client.MultipartFormData.PartM - Network.Mime.MimeType - Data.Text.Internal.Builder.Builder - Data.Attoparsec.Internal.endOfInput - Data.Attoparsec.ByteString.Internal.Parser - Data.Data.dataCast1 - Data.Data.dataCast2 - Data.Data.dataTypeOf - Data.Data.gfoldl - Data.Data.gmapM - Data.Data.gmapMo - Data.Data.gmapMp - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapT - Data.Data.gunfold - Data.Data.toConstr Warning: Network.Wreq.Session: could not find link destinations for: - GHC.Show.Show - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Maybe.Nothing - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Data.ByteString.Lazy.Internal.ByteString - Network.HTTP.Client.Types.CookieJar - Network.HTTP.Client.Types.ManagerSettings - Network.Wreq.Internal.Types.Body - Control.Lens.Type.Lens' Documentation created: dist/doc/html/wreq/, dist/doc/html/wreq/wreq.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ugrEK2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64 + cd wreq-0.5.4.3 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64 Installing library in /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/wreq-0.5.4.3 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' -d wreq-0.5.4.3.conf ']' + install -D --mode=0644 wreq-0.5.4.3.conf /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/wreq-0.5.4.3.conf + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/wreq-0.5.4.3.conf ']' + rm -f ghc-wreq.files ghc-wreq-doc.files + touch ghc-wreq.files ghc-wreq-doc.files + for i in /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4${subsubdir}/libHSwreq-0.5.4.3-*ghc9.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSwreq-0.5.4.3-F8yAmYh9ppt66TVjM6yMIU-ghc9.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSwreq-0.5.4.3-F8yAmYh9ppt66TVjM6yMIU-ghc9.8.4.so + pkgdir=/builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/wreq-0.5.4.3 + '[' '!' -d /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/wreq-0.5.4.3 ']' + '[' -d /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/wreq-0.5.4.3 ']' + find /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/wreq-0.5.4.3 -type d -fprintf ghc-wreq-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-wreq-prof.files -o -fprint ghc-wreq-devel.files + ls /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/wreq-0.5.4.3.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/wreq-0.5.4.3 + '[' -d /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/share/doc/ghc/html/libraries/wreq-0.5.4.3 ']' + echo /usr/share/doc/ghc/html/libraries/wreq-0.5.4.3 + for i in ghc-wreq.files ghc-wreq-devel.files ghc-wreq-doc.files ghc-wreq-prof.files + '[' -f ghc-wreq.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64!!g' ghc-wreq.files + for i in ghc-wreq.files ghc-wreq-devel.files ghc-wreq-doc.files ghc-wreq-prof.files + '[' -f ghc-wreq-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64!!g' ghc-wreq-devel.files + for i in ghc-wreq.files ghc-wreq-devel.files ghc-wreq-doc.files ghc-wreq-prof.files + '[' -f ghc-wreq-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64!!g' ghc-wreq-doc.files + for i in ghc-wreq.files ghc-wreq-devel.files ghc-wreq-doc.files ghc-wreq-prof.files + '[' -f ghc-wreq-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64!!g' ghc-wreq-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSwreq-0.5.4.3-F8yAmYh9ppt66TVjM6yMIU-ghc9.8.4.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSwreq-0.5.4.3-F8yAmYh9ppt66TVjM6yMIU-ghc9.8.4.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-wreq-0.5.4.3-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSwreq-0.5.4.3-F8yAmYh9ppt66TVjM6yMIU-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/libHSwreq-0.5.4.3-F8yAmYh9ppt66TVjM6yMIU-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.ugrEK2 (%install) Bad exit status from /var/tmp/rpm-tmp.ugrEK2 (%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-wreq.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-wreq.spec