Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-old-locale.spec'], logger=gid=425env={'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock'}chrootPath='/var/lib/mock/f25-ghc-5807972-610723/root'timeout=172800uid=1000printOutput=Falseuser='mockbuild'shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-old-locale.spec'] with env {'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: buildhw-07.phx2.fedoraproject.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ghc-old-locale-1.0.0.7-1.fc25.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ghc-old-locale.spec'], private_network=Truelogger=gid=425env={'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock'}chrootPath='/var/lib/mock/f25-ghc-5807972-610723/root'timeout=172800uid=1000printOutput=Falseuser='mockbuild'shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ghc-old-locale.spec'] with env {'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sKJODM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf old-locale-1.0.0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/old-locale-1.0.0.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd old-locale-1.0.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zUw63j + umask 022 + cd /builddir/build/BUILD + cd old-locale-1.0.0.7 ++ grep '"Booter version","7.10.3"' ++ ghc --info + '[' '!' ' ,("Booter version","7.10.3")' ']' + 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.hs, Setup.o ) 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/doc/ghc-old-locale '--libsubdir=$compiler/$pkgkey' '--datasubdir=$pkgid' --ghc --enable-executable-dynamic '--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/old-locale-1.0.0.7 --global Configuring old-locale-1.0.0.7... + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup build Building old-locale-1.0.0.7... Preprocessing library old-locale-1.0.0.7... [1 of 1] Compiling System.Locale ( System/Locale.hs, dist/build/System/Locale.o ) [1 of 1] Compiling System.Locale ( System/Locale.hs, dist/build/System/Locale.p_o ) In-place registering old-locale-1.0.0.7... + '[' -f dist/build/libHSold-locale-1.0.0.7.a ']' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IJmrz5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64 + cd old-locale-1.0.0.7 + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64 -v directory dist/doc/html/old-locale does exist: False creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share/doc/ghc-old-locale creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share/doc creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share/doc creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share/doc/ghc-old-locale Installing LICENSE to /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share/doc/ghc-old-locale/LICENSE Installing library in /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe/System creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3 creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3 creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe/System Installing dist/build/System/Locale.hi to /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe/System/Locale.hi creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe/System Installing dist/build/System/Locale.p_hi to /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe/System/Locale.p_hi creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe/System Installing dist/build/System/Locale.dyn_hi to /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe/System/Locale.dyn_hi creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe Installing dist/build/libHSold-locale-1.0.0.7-7h2Gx6mVPJ5Gheca8j9Mpe.a to /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe/libHSold-locale-1.0.0.7-7h2Gx6mVPJ5Gheca8j9Mpe.a creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe Installing dist/build/libHSold-locale-1.0.0.7-7h2Gx6mVPJ5Gheca8j9Mpe_p.a to /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe/libHSold-locale-1.0.0.7-7h2Gx6mVPJ5Gheca8j9Mpe_p.a creating /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe /usr/bin/strip dist/build/libHSold-locale-1.0.0.7-7h2Gx6mVPJ5Gheca8j9Mpe-ghc7.10.3.so --strip-unneeded Installing executable dist/build/libHSold-locale-1.0.0.7-7h2Gx6mVPJ5Gheca8j9Mpe-ghc7.10.3.so to /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe/libHSold-locale-1.0.0.7-7h2Gx6mVPJ5Gheca8j9Mpe-ghc7.10.3.so + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup register --gen-pkg-config Creating package registration file: old-locale-1.0.0.7.conf + install -D --mode=0644 old-locale-1.0.0.7.conf /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/package.conf.d/old-locale-1.0.0.7.conf ++ /usr/lib/rpm/ghc-pkg-wrapper /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3 field old-locale-1.0.0.7 key ++ sed -e 's/key: //' ++ uniq WARNING: cache does not exist: /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/package.conf.d/package.cache ghc will fail to read this package db. Use 'ghc-pkg recache' to fix. + keyname=oldlo_7h2Gx6mVPJ5Gheca8j9Mpe + pkgdir=/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe + rm -f ghc-old-locale.files ghc-old-locale-devel.files + touch ghc-old-locale.files ghc-old-locale-devel.files + echo '/usr/lib64/ghc-7.10.3/package.conf.d/old-locale-1.0.0.7*.conf' + '[' -d /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe ']' + echo '%dir /usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe' + echo '%attr(755,root,root) /usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe/libHS*-ghc7.10.3.so' + find /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe -mindepth 1 -type d + sed 's/^/%dir /' + find /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/oldlo_7h2Gx6mVPJ5Gheca8j9Mpe '!' '(' -type d -o -name 'libHS*.so' ')' + '[' -d /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share/doc/ghc/html/libraries/old-locale-1.0.0.7 ']' + for i in ghc-old-locale.files ghc-old-locale-devel.files + '[' -f ghc-old-locale.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64!!g' ghc-old-locale.files + for i in ghc-old-locale.files ghc-old-locale-devel.files + '[' -f ghc-old-locale-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64!!g' ghc-old-locale-devel.files + find /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64 -type f -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -exec strip '{}' ';' + rm /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share/doc/ghc-old-locale/LICENSE + /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 + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ghc-old-locale-1.0.0.7-1.fc25.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.a3xf6R + umask 022 + cd /builddir/build/BUILD + cd old-locale-1.0.0.7 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share/licenses/ghc-old-locale + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share/licenses/ghc-old-locale + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/share/licenses/ghc-old-locale + exit 0 Provides: ghc-old-locale = 1.0.0.7-1.fc25 ghc-old-locale(x86-64) = 1.0.0.7-1.fc25 libHSold-locale-1.0.0.7-7h2Gx6mVPJ5Gheca8j9Mpe-ghc7.10.3.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSbase-4.8.2.0-HQfYBxpPvuw8OunzQu6JGM-ghc7.10.3.so()(64bit) libHSghc-prim-0.4.0.0-8TmvWUcS1U1IKHT0levwg3-ghc7.10.3.so()(64bit) libHSinteger-gmp-1.0.0.0-2aU3IZNMF9a7mQ0OzsZ0dS-ghc7.10.3.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libgmp.so.10()(64bit) rtld(GNU_HASH) Processing files: ghc-old-locale-devel-1.0.0.7-1.fc25.x86_64 WARNING: cache does not exist: /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/package.conf.d/package.cache ghc will fail to read this package db. Use 'ghc-pkg recache' to fix. WARNING: cache does not exist: /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64/usr/lib64/ghc-7.10.3/package.conf.d/package.cache ghc will fail to read this package db. Use 'ghc-pkg recache' to fix. Provides: ghc-devel(old-locale-1.0.0.7-0db938eb141b01f4936a21aef6b843bf) ghc-old-locale-devel = 1.0.0.7-1.fc25 ghc-old-locale-devel(x86-64) = 1.0.0.7-1.fc25 ghc-old-locale-static = 1.0.0.7-1.fc25 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.10.3 Requires(postun): /bin/sh ghc-compiler = 7.10.3 Requires: ghc-devel(base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64 warning: Could not canonicalize hostname: buildhw-07.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/ghc-old-locale-1.0.0.7-1.fc25.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-old-locale-devel-1.0.0.7-1.fc25.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3YWBJF + umask 022 + cd /builddir/build/BUILD + cd old-locale-1.0.0.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-1.fc25.x86_64 + exit 0 Child return code was: 0