Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-koji.spec'], chrootPath='/var/lib/mock/f32-build-26847687-3366269/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-koji.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 setting SOURCE_DATE_EPOCH=1618444800 Wrote: /builddir/build/SRPMS/ghc-koji-0.0.1-1.fc32.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ghc-koji.spec'], chrootPath='/var/lib/mock/f32-build-26847687-3366269/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ghc-koji.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 warning: /builddir/build/SPECS/ghc-koji.spec: line 75: Macro %_lto_cflags defined but not used within scope Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618444800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fonz6n + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf koji-0.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/koji-0.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd koji-0.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Z4XOjn + umask 022 + cd /builddir/build/BUILD + cd koji-0.0.1 ++ 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\)') + '[' -x ChangeLog.md ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -x README.md ']' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed ' + '[' -f Setup.hs -o -f Setup.lhs ']' + cp /usr/share/ghc-rpm-macros/Setup.hs . + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 2.4.0.1 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-koji '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64 --global '--ghc-options= -optc-O2 -optc-g -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-D_FORTIFY_SOURCE=2 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-fexceptions -optc-fstack-protector-strong -optc-grecord-gcc-switches -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-m64 -optc-mtune=generic -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fcf-protection -optl-Wl,-z,relro -optl-Wl,--as-needed' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/koji-0.0.1 --global Configuring koji-0.0.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for koji-0.0.1.. Building library for koji-0.0.1.. [1 of 2] Compiling Distribution.Koji.API [2 of 2] Compiling Distribution.Koji [1 of 2] Compiling Distribution.Koji.API [2 of 2] Compiling Distribution.Koji + '[' -n dist/build/libHSkoji-0.0.1-7fLuDxillrrB0DIv7eH3jk-ghc8.6.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for koji-0.0.1.. Running Haddock on library for koji-0.0.1.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: HaXml-1.25.5, HsOpenSSL-0.11.4.18, aeson-1.4.6.0, array-0.5.3.0, attoparsec-0.13.2.3, base-4.12.0.0, base-compat-0.10.5, base-orphans-0.8.2, base64-bytestring-1.0.0.3, binary-0.8.6.0, blaze-builder-0.4.1.0, bytestring-0.10.8.2, case-insensitive-1.2.0.11, containers-0.6.0.1, deepseq-1.4.4.0, directory-1.3.3.0, dlist-0.8.0.7, filepath-1.4.2.1, ghc-boot-th-8.6.5, ghc-prim-0.5.3, hashable-1.2.7.0, haxr-3000.11.4.1, http-common-0.8.2.1, http-streams-0.8.7.2, http-types-0.12.3, integer-gmp-1.0.2.0, integer-logarithms-1.0.3, io-streams-1.5.1.0, mtl-2.2.2, network-2.8.0.1, network-uri-2.6.2.0, old-locale-1.0.0.7, old-time-1.1.0.3, openssl-streams-1.2.2.0, parsec-3.1.13.0, polyparse-1.12.1, pretty-1.1.3.6, primitive-0.6.4.0, process-1.6.5.0, random-1.1, scientific-0.3.6.2, tagged-0.8.6, template-haskell-2.14.0.0, text-1.2.3.1, th-abstraction-0.3.2.0, time-1.8.0.2, time-compat-1.9.2.2, transformers-0.5.6.2, unix-2.7.2.2, unordered-containers-0.2.10.0, utf8-string-1.0.1.1, uuid-types-1.0.3, vector-0.12.1.2, zlib-0.6.2.1, zlib-bindings-0.1.1.5 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Haddock coverage: Warning: Couldn't find .haddock for export Value 95% ( 95 /100) in 'Distribution.Koji.API' Missing documentation for: Value Struct (src/Distribution/Koji/API.hs:157) maybeStruct (src/Distribution/Koji/API.hs:178) structArray (src/Distribution/Koji/API.hs:182) getValue (src/Distribution/Koji/API.hs:839) Warning: Couldn't find .haddock for export Value 59% ( 27 / 46) in 'Distribution.Koji' Missing documentation for: BuildID (src/Distribution/Koji.hs:105) BuildInfo (src/Distribution/Koji.hs:123) PackageID (src/Distribution/Koji.hs:111) TagID (src/Distribution/Koji.hs:91) TaskID (src/Distribution/Koji.hs:84) UserID (src/Distribution/Koji.hs:98) displayID (src/Distribution/Koji.hs:65) getID (src/Distribution/Koji.hs:62) readID (src/Distribution/Koji.hs:69) readID' (src/Distribution/Koji.hs:72) getTaskState (src/Distribution/Koji.hs:247) openTaskValues (src/Distribution/Koji.hs:237) readTaskState (src/Distribution/Koji.hs:243) readBuildState (src/Distribution/Koji.hs:212) Struct (src/Distribution/Koji/API.hs:157) Value getInt (src/Distribution/Koji.hs:76) getString (src/Distribution/Koji.hs:80) readRepoState (src/Distribution/Koji.hs:354) Warning: Distribution.Koji.API: could not find link destinations for: Int String Remote IO Bool Maybe FilePath Double LocalTime ByteString Eq == /= Show showsPrec ShowS show showList XmlRpcType toValue fromValue MonadFail Err getType Type Warning: Distribution.Koji: could not find link destinations for: Int String IO Maybe Bool Show showsPrec ShowS show showList ID Enum succ pred toEnum fromEnum enumFrom enumFromThen enumFromTo enumFromThenTo Eq == /= XmlRpcType Double LocalTime ByteString toValue fromValue MonadFail Err getType Type Documentation created: dist/doc/html/koji/index.html, dist/doc/html/koji/koji.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cZK65q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64 + cd koji-0.0.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64 Installing library in /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/lib64/ghc-8.6.5/koji-0.0.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d koji-0.0.1.conf ']' + install -D --mode=0644 koji-0.0.1.conf /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/lib64/ghc-8.6.5/package.conf.d/koji-0.0.1.conf ++ ls /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/lib64/ghc-8.6.5/package.conf.d/koji-0.0.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/lib64/ghc-8.6.5/package.conf.d/koji-0.0.1.conf ']' + rm -f ghc-koji.files ghc-koji-doc.files + touch ghc-koji.files ghc-koji-doc.files + for i in /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/lib64/libHSkoji-0.0.1-*ghc8.6.5.so + '[' -x /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/lib64/libHSkoji-0.0.1-7fLuDxillrrB0DIv7eH3jk-ghc8.6.5.so ']' + echo /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/lib64/libHSkoji-0.0.1-7fLuDxillrrB0DIv7eH3jk-ghc8.6.5.so + pkgdir=/usr/lib64/ghc-8.6.5/koji-0.0.1 + '[' -d /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/lib64/ghc-8.6.5/koji-0.0.1 ']' + find /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/lib64/ghc-8.6.5/koji-0.0.1 -type d -fprintf ghc-koji-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-koji-prof.files -o -fprint ghc-koji-devel.files + ls /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/lib64/ghc-8.6.5/package.conf.d/koji-0.0.1.conf + '[' -d /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/share/doc/ghc/html/libraries/koji-0.0.1 ']' + echo /usr/share/doc/ghc/html/libraries/koji-0.0.1 + for i in ghc-koji.files ghc-koji-devel.files ghc-koji-doc.files ghc-koji-prof.files + '[' -f ghc-koji.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64!!g' ghc-koji.files + for i in ghc-koji.files ghc-koji-devel.files ghc-koji-doc.files ghc-koji-prof.files + '[' -f ghc-koji-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64!!g' ghc-koji-devel.files + for i in ghc-koji.files ghc-koji-devel.files ghc-koji-doc.files ghc-koji-prof.files + '[' -f ghc-koji-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64!!g' ghc-koji-doc.files + for i in ghc-koji.files ghc-koji-devel.files ghc-koji-doc.files ghc-koji-prof.files + '[' -f ghc-koji-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64!!g' ghc-koji-prof.files + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ghc-koji-0.0.1-1.fc32.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.T1Yxmr + umask 022 + cd /builddir/build/BUILD + cd koji-0.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/share/licenses/ghc-koji + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/share/licenses/ghc-koji + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/share/licenses/ghc-koji + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-koji = 0.0.1-1.fc32 ghc-koji(x86-64) = 0.0.1-1.fc32 libHSkoji-0.0.1-7fLuDxillrrB0DIv7eH3jk-ghc8.6.5.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSbase-4.12.0.0-ghc8.6.5.so()(64bit) libHSghc-prim-0.5.3-ghc8.6.5.so()(64bit) libHShaxr-3000.11.4.1-EpWDo08ZStA203iBJgvviv-ghc8.6.5.so()(64bit) rtld(GNU_HASH) Processing files: ghc-koji-devel-0.0.1-1.fc32.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rZgrap + umask 022 + cd /builddir/build/BUILD + cd koji-0.0.1 + DOCDIR=/builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/share/doc/ghc-koji-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/share/doc/ghc-koji-devel + cp -pr ChangeLog.md /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/share/doc/ghc-koji-devel + cp -pr README.md /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/share/doc/ghc-koji-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(koji-0.0.1-7fLuDxillrrB0DIv7eH3jk) ghc-koji-devel = 0.0.1-1.fc32 ghc-koji-devel(x86-64) = 0.0.1-1.fc32 ghc-koji-static = 0.0.1-1.fc32 ghc-koji-static(x86-64) = 0.0.1-1.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.12.0.0) ghc-devel(haxr-3000.11.4.1-EpWDo08ZStA203iBJgvviv) ghc-devel(mtl-2.2.2) Processing files: ghc-koji-doc-0.0.1-1.fc32.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yucOYq + umask 022 + cd /builddir/build/BUILD + cd koji-0.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/share/licenses/ghc-koji-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/share/licenses/ghc-koji-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64/usr/share/licenses/ghc-koji-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-koji-doc = 0.0.1-1.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-koji-prof-0.0.1-1.fc32.x86_64 Provides: ghc-koji-prof = 0.0.1-1.fc32 ghc-koji-prof(x86-64) = 0.0.1-1.fc32 ghc-prof(koji-0.0.1-7fLuDxillrrB0DIv7eH3jk) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.12.0.0) ghc-prof(haxr-3000.11.4.1-EpWDo08ZStA203iBJgvviv) ghc-prof(mtl-2.2.2) Supplements: (ghc-koji-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64 Wrote: /builddir/build/RPMS/ghc-koji-0.0.1-1.fc32.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-koji-doc-0.0.1-1.fc32.noarch.rpm Wrote: /builddir/build/RPMS/ghc-koji-devel-0.0.1-1.fc32.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-koji-prof-0.0.1-1.fc32.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UgSOGq + umask 022 + cd /builddir/build/BUILD + cd koji-0.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-koji-0.0.1-1.fc32.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0