Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ghc-system-fileio.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-b46ffd25f878501b00805bbf04b312db08d7d65b/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ghc-system-fileio.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/ghc-system-fileio-0.3.11-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ghc-system-fileio.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-b46ffd25f878501b00805bbf04b312db08d7d65b/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ghc-system-fileio.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Gbtotw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf system-fileio-0.3.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/system-fileio-0.3.11.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd system-fileio-0.3.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IzvcAU + umask 022 + cd /builddir/build/BUILD + cd system-fileio-0.3.11 ++ ghc --info ++ grep '"Booter version","7.6.3"' + '[' '!' ' ,("Booter version","7.6.3")' ']' + '[' -x Setup ']' + ghc --make -no-user-package-db Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... + LANG=en_US.utf8 + ./Setup configure --prefix=/usr --libdir=/usr/lib --docdir=/usr/share/doc/ghc-system-fileio-0.3.11 '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' --ghc -p --htmldir=/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11 --global Configuring system-fileio-0.3.11... + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup build Building system-fileio-0.3.11... Preprocessing library system-fileio-0.3.11... [1 of 1] Compiling Filesystem ( lib/Filesystem.hs, dist/build/Filesystem.o ) lib/Filesystem.hs:79:1: Warning: The import of `when' from module `Control.Monad' is redundant lib/Filesystem.hs:95:1: Warning: The import of `System.IO.Error' is redundant except perhaps to import instances from `System.IO.Error' To import instances alone, use: import System.IO.Error() lib/Filesystem.hs:922:1: Warning: Defined but not used: `throwErrnoPathIfMinus1' [1 of 1] Compiling Filesystem ( lib/Filesystem.hs, dist/build/Filesystem.p_o ) lib/Filesystem.hs:79:1: Warning: The import of `when' from module `Control.Monad' is redundant lib/Filesystem.hs:95:1: Warning: The import of `System.IO.Error' is redundant except perhaps to import instances from `System.IO.Error' To import instances alone, use: import System.IO.Error() lib/Filesystem.hs:922:1: Warning: Defined but not used: `throwErrnoPathIfMinus1' In-place registering system-fileio-0.3.11... + '[' -f dist/build/libHSsystem-fileio-0.3.11.a ']' + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Running Haddock for system-fileio-0.3.11... Running hscolour for system-fileio-0.3.11... Preprocessing library system-fileio-0.3.11... Preprocessing library system-fileio-0.3.11... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 dist/build/tmp-16532/lib/Filesystem.hs:79:1: Warning: The import of `when' from module `Control.Monad' is redundant dist/build/tmp-16532/lib/Filesystem.hs:95:1: Warning: The import of `System.IO.Error' is redundant except perhaps to import instances from `System.IO.Error' To import instances alone, use: import System.IO.Error() dist/build/tmp-16532/lib/Filesystem.hs:922:1: Warning: Defined but not used: `throwErrnoPathIfMinus1' Haddock coverage: 100% ( 46 / 46) in 'Filesystem' Documentation created: dist/doc/html/system-fileio/index.html, dist/doc/html/system-fileio/system-fileio.txt + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.m8nglE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm ++ dirname /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm + cd system-fileio-0.3.11 + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm -v directory dist/doc/html/system-fileio does exist: True creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11 creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11 copy directory 'dist/doc/html/system-fileio' to '/builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11'. creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11 creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/src Installing dist/doc/html/system-fileio/minus.gif to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/minus.gif Installing dist/doc/html/system-fileio/synopsis.png to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/synopsis.png Installing dist/doc/html/system-fileio/mini_Filesystem.html to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/mini_Filesystem.html Installing dist/doc/html/system-fileio/hslogo-16.png to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/hslogo-16.png Installing dist/doc/html/system-fileio/haddock-util.js to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/haddock-util.js Installing dist/doc/html/system-fileio/doc-index.html to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/doc-index.html Installing dist/doc/html/system-fileio/system-fileio.haddock to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/system-fileio.haddock Installing dist/doc/html/system-fileio/ocean.css to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/ocean.css Installing dist/doc/html/system-fileio/system-fileio.txt to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/system-fileio.txt Installing dist/doc/html/system-fileio/Filesystem.html to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/Filesystem.html Installing dist/doc/html/system-fileio/frames.html to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/frames.html Installing dist/doc/html/system-fileio/plus.gif to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/plus.gif Installing dist/doc/html/system-fileio/index-frames.html to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/index-frames.html Installing dist/doc/html/system-fileio/index.html to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/index.html Installing dist/doc/html/system-fileio/src/Filesystem.html to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/src/Filesystem.html Installing dist/doc/html/system-fileio/src/hscolour.css to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/src/hscolour.css creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11 Installing dist/doc/html/system-fileio/system-fileio.haddock to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11/system-fileio.haddock creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc-system-fileio-0.3.11 Installing license.txt to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc-system-fileio-0.3.11/license.txt Installing library in /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11 creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11 creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3 creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3 creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11 Installing dist/build/Filesystem.hi to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11/Filesystem.hi creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11 Installing dist/build/Filesystem.p_hi to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11/Filesystem.p_hi creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11 Installing dist/build/libHSsystem-fileio-0.3.11.a to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11/libHSsystem-fileio-0.3.11.a creating /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11 Installing dist/build/libHSsystem-fileio-0.3.11_p.a to /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11/libHSsystem-fileio-0.3.11_p.a + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup register --gen-pkg-config Creating package registration file: system-fileio-0.3.11.conf + install -D --mode=0644 system-fileio-0.3.11.conf /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/package.conf.d/system-fileio-0.3.11.conf + rm -f ghc-system-fileio.files ghc-system-fileio-devel.files + touch ghc-system-fileio.files ghc-system-fileio-devel.files + '[' -d /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11 ']' + echo '%dir /usr/lib/ghc-7.6.3/system-fileio-0.3.11' + echo '/usr/lib/ghc-7.6.3/package.conf.d/system-fileio-0.3.11*.conf' + '[' -d /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11 ']' + find /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11 -mindepth 1 -type d + sed 's/^/%dir /' + find /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/lib/ghc-7.6.3/system-fileio-0.3.11 '!' '(' -type d -o -name 'libHS*.so' ')' + '[' -d /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc/html/libraries/system-fileio-0.3.11 ']' + echo /usr/share/doc/ghc/html/libraries/system-fileio-0.3.11 + for i in ghc-system-fileio.files ghc-system-fileio-devel.files + '[' -f ghc-system-fileio.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm!!g' ghc-system-fileio.files + for i in ghc-system-fileio.files ghc-system-fileio-devel.files + '[' -f ghc-system-fileio-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm!!g' ghc-system-fileio-devel.files + find /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm -type f -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -exec strip '{}' ';' + '[' -d /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/bin -a -x /usr/bin/execstack ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ghc-system-fileio-0.3.11-2.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mef9zO + umask 022 + cd /builddir/build/BUILD + cd system-fileio-0.3.11 + DOCDIR=/builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc-system-fileio-0.3.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc-system-fileio-0.3.11 + cp -pr license.txt /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm/usr/share/doc/ghc-system-fileio-0.3.11 + exit 0 Provides: ghc-system-fileio = 0.3.11-2.el7 ghc-system-fileio(armv7hl-32) = 0.3.11-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-system-fileio-devel-0.3.11-2.el7.armv7hl Provides: ghc-devel(system-fileio-0.3.11-8290d6071d7292db6256528a252680a2) ghc-system-fileio-devel = 0.3.11-2.el7 ghc-system-fileio-devel(armv7hl-32) = 0.3.11-2.el7 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 = 7.6.3 Requires(postun): /bin/sh ghc-compiler = 7.6.3 Requires: ghc-devel(base-4.6.0.1-96bf6b6729ca53a5ac2cf45bb8b3cc3e) ghc-devel(bytestring-0.10.0.2-ea1d6622fb7aad447c7746744ecded40) ghc-devel(system-filepath-0.4.7-c81e9722325c4677183556bdb473d92d) ghc-devel(text-0.11.3.1-17cae9ba49c3f3d533bf78a6e387f543) ghc-devel(time-1.4.0.1-970760bdd865d8b6cafac382276795a2) ghc-devel(unix-2.6.0.1-7550b9ae9dbc74e4d6570cc239a29030) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm Wrote: /builddir/build/RPMS/ghc-system-fileio-0.3.11-2.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/ghc-system-fileio-devel-0.3.11-2.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fMs2aX + umask 022 + cd /builddir/build/BUILD + cd system-fileio-0.3.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-system-fileio-0.3.11-2.el7.arm + exit 0 Child return code was: 0