Mock Version: 1.3.3 Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-attempt.spec'], env={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '}printOutput=Falselogger=timeout=172800gid=425uid=1000shell=Falseuser='mockbuild'chrootPath='/var/lib/mock/f26-ghc-7798120-700706/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-attempt.spec'] with env {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ghc-attempt-0.4.0.1-5.fc26.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ghc-attempt.spec'], env={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '}printOutput=Falselogger=timeout=172800gid=425uid=1000shell=Falseuser='mockbuild'private_network=TruechrootPath='/var/lib/mock/f26-ghc-7798120-700706/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ghc-attempt.spec'] with env {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.odlkei + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf attempt-0.4.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/attempt-0.4.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd attempt-0.4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Yci4mS + umask 022 + cd /builddir/build/BUILD + cd attempt-0.4.0.1 ++ ghc --info ++ grep '"Booter version","8.0.2"' + '[' '!' ' ,("Booter version","8.0.2")' ']' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' -x Setup ']' + ghc --make -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.lhs, Setup.o ) Setup.lhs:4:3: warning: [-Wdeprecations] Module `System.Cmd' is deprecated: Use "System.Process" instead Setup.lhs:7:50: warning: [-Wdeprecations] In the use of `runTests' (imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks): Deprecated: "Please use the new testing interface instead!" Linking Setup ... + LANG=en_US.utf8 ++ echo ' -O2' -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-attempt '--libsubdir=$compiler/$pkgkey' '--datasubdir=$pkgid' --ghc --enable-executable-dynamic --global '--ghc-options= -optc-O2 -optc-g -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-D_FORTIFY_SOURCE=2 -optc-fexceptions -optc-fstack-protector-strong -optc--param=ssp-buffer-size=4 -optc-grecord-gcc-switches -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-m64 -optc-mtune=generic -optl-Wl,-z,relro' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/attempt-0.4.0.1 Configuring attempt-0.4.0.1... + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup build Building attempt-0.4.0.1... Preprocessing library attempt-0.4.0.1... [1 of 1] Compiling Data.Attempt ( Data/Attempt.hs, dist/build/Data/Attempt.o ) Data/Attempt.hs:51:1: warning: [-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() [1 of 1] Compiling Data.Attempt ( Data/Attempt.hs, dist/build/Data/Attempt.p_o ) Data/Attempt.hs:51:1: warning: [-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() + '[' -f dist/build/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2.a dist/build/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2_p.a ']' /var/tmp/rpm-tmp.Yci4mS: line 53: [: dist/build/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2.a: binary operator expected + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hEHiZz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64 + cd attempt-0.4.0.1 + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64 -v directory dist/doc/html/attempt does exist: False creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/share/licenses/ghc-attempt creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/share/licenses creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/share creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/share creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/share/licenses creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/share/licenses/ghc-attempt Installing LICENSE to /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/share/licenses/ghc-attempt/LICENSE Installing library in /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2 creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/Data creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2 creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2 creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2 creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2 creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/Data Installing dist/build/Data/Attempt.hi to /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/Data/Attempt.hi creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/Data Installing dist/build/Data/Attempt.p_hi to /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/Data/Attempt.p_hi creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/Data Installing dist/build/Data/Attempt.dyn_hi to /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/Data/Attempt.dyn_hi creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2 Installing dist/build/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2.a to /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2.a /usr/bin/strip /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2.a --strip-unneeded creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2 Installing dist/build/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2_p.a to /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2_p.a /usr/bin/strip /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2_p.a --strip-unneeded creating /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2 Installing executable dist/build/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2-ghc8.0.2.so to /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2-ghc8.0.2.so /usr/bin/strip /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2-ghc8.0.2.so --strip-unneeded + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup register --gen-pkg-config Creating package registration file: attempt-0.4.0.1.conf + install -D --mode=0644 attempt-0.4.0.1.conf /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/package.conf.d/attempt-0.4.0.1.conf ++ /usr/lib/rpm/ghc-pkg-wrapper /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2 field attempt-0.4.0.1 key + keyname=attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2 + pkgdir=/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2 + rm -f ghc-attempt.files ghc-attempt-devel.files + touch ghc-attempt.files ghc-attempt-devel.files + echo '/usr/lib64/ghc-8.0.2/package.conf.d/attempt-0.4.0.1*.conf' + '[' -d /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2 ']' + echo '%dir /usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2' + echo '%attr(755,root,root) /usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2/libHS*-ghc8.0.2.so' + find /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2 -mindepth 1 -type d + sed 's/^/%dir /' + find /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/lib64/ghc-8.0.2/attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2 '!' '(' -type d -o -name 'libHS*.so' ')' + '[' -d /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/share/doc/ghc/html/libraries/attempt-0.4.0.1 ']' + for i in ghc-attempt.files ghc-attempt-devel.files + '[' -f ghc-attempt.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64!!g' ghc-attempt.files + for i in ghc-attempt.files ghc-attempt-devel.files + '[' -f ghc-attempt-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64!!g' ghc-attempt-devel.files + find /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64 -type f -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -exec strip '{}' ';' + /usr/lib/rpm/check-buildroot + /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/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: ghc-attempt-0.4.0.1-5.fc26.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kCZAqi + umask 022 + cd /builddir/build/BUILD + cd attempt-0.4.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/share/licenses/ghc-attempt + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/share/licenses/ghc-attempt + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64/usr/share/licenses/ghc-attempt + exit 0 Provides: ghc-attempt = 0.4.0.1-5.fc26 ghc-attempt(x86-64) = 0.4.0.1-5.fc26 libHSattempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2-ghc8.0.2.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSbase-4.9.1.0-ghc8.0.2.so()(64bit) libHSfailure-0.2.0.3-C1mPuXMacjJ5FerNKVDUws-ghc8.0.2.so()(64bit) libHSghc-prim-0.5.0.0-ghc8.0.2.so()(64bit) libHSinteger-gmp-1.0.0.1-ghc8.0.2.so()(64bit) libHStransformers-0.5.2.0-ghc8.0.2.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libgmp.so.10()(64bit) rtld(GNU_HASH) Processing files: ghc-attempt-devel-0.4.0.1-5.fc26.x86_64 Provides: ghc-attempt-devel = 0.4.0.1-5.fc26 ghc-attempt-devel(x86-64) = 0.4.0.1-5.fc26 ghc-attempt-static = 0.4.0.1-5.fc26 ghc-devel(attempt-0.4.0.1-6QTlL5fPfFyCHUTBM1KBt2) Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh ghc-compiler = 8.0.2 Requires(postun): /bin/sh ghc-compiler = 8.0.2 Requires: ghc-devel(base-4.9.1.0) ghc-devel(failure-0.2.0.3-C1mPuXMacjJ5FerNKVDUws) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64 Wrote: /builddir/build/RPMS/ghc-attempt-0.4.0.1-5.fc26.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-attempt-devel-0.4.0.1-5.fc26.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ib8UL1 + umask 022 + cd /builddir/build/BUILD + cd attempt-0.4.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-attempt-0.4.0.1-5.fc26.x86_64 + exit 0 Child return code was: 0