Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cabal-rpm.spec'], chrootPath='/var/lib/mock/f30-ghc-15398142-1106259/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=172800uid=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/cabal-rpm.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/cabal-rpm-0.13-1.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cabal-rpm.spec'], chrootPath='/var/lib/mock/f30-ghc-15398142-1106259/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=172800uid=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/cabal-rpm.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.ECf9vy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cabal-rpm-0.13 + /usr/bin/gzip -dc /builddir/build/SOURCES/cabal-rpm-0.13.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cabal-rpm-0.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (cabal-rpm-lts.patch): + echo 'Patch #1 (cabal-rpm-lts.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file src/Options.hs + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.j8zkTe + umask 022 + cd /builddir/build/BUILD + cd cabal-rpm-0.13 + 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 ']' + '[' -x Setup ']' + ghc --make -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.2.0.1 + '[' -x Setup ']' + LANG=C.utf8 BUILDSTDERR: ++ 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 BUILDSTDERR: ++ sed -e 's/ / -optc/g' BUILDSTDERR: ++ echo ' -Wl,-z,relro' -Wl,--as-needed BUILDSTDERR: ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/cabal-rpm '--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' --disable-executable-stripping --disable-library-stripping Configuring cabal-rpm-0.13... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing executable 'cabal-rpm' for cabal-rpm-0.13.. Building executable 'cabal-rpm' for cabal-rpm-0.13.. [ 1 of 16] Compiling FileUtils ( src/FileUtils.hs, dist/build/cabal-rpm/cabal-rpm-tmp/FileUtils.o ) [ 2 of 16] Compiling Paths_cabal_rpm ( dist/build/cabal-rpm/autogen/Paths_cabal_rpm.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Paths_cabal_rpm.o ) [ 3 of 16] Compiling Stackage ( src/Stackage.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Stackage.o ) [ 4 of 16] Compiling SysCmd ( src/SysCmd.hs, dist/build/cabal-rpm/cabal-rpm-tmp/SysCmd.o ) [ 5 of 16] Compiling Distro ( src/Distro.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Distro.o ) [ 6 of 16] Compiling Options ( src/Options.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Options.o ) [ 7 of 16] Compiling PackageUtils ( src/PackageUtils.hs, dist/build/cabal-rpm/cabal-rpm-tmp/PackageUtils.o ) [ 8 of 16] Compiling Dependencies ( src/Dependencies.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Dependencies.o ) [ 9 of 16] Compiling Commands.Spec ( src/Commands/Spec.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Commands/Spec.o ) [10 of 16] Compiling Commands.RpmBuild ( src/Commands/RpmBuild.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Commands/RpmBuild.o ) [11 of 16] Compiling Commands.Depends ( src/Commands/Depends.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Commands/Depends.o ) [12 of 16] Compiling Commands.Update ( src/Commands/Update.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Commands/Update.o ) [13 of 16] Compiling Commands.Refresh ( src/Commands/Refresh.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Commands/Refresh.o ) [14 of 16] Compiling Commands.Install ( src/Commands/Install.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Commands/Install.o ) [15 of 16] Compiling Commands.Diff ( src/Commands/Diff.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Commands/Diff.o ) [16 of 16] Compiling Main ( src/Main.hs, dist/build/cabal-rpm/cabal-rpm-tmp/Main.o ) Linking dist/build/cabal-rpm/cabal-rpm ... + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lNlPjg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64 + cd cabal-rpm-0.13 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64 -v directory dist/doc/html/cabal-rpm does exist: False creating /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/licenses/cabal-rpm creating /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/licenses creating /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share creating /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr creating /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share creating /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/licenses creating /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/licenses/cabal-rpm Installing COPYING to /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/licenses/cabal-rpm/COPYING Installing executable cabal-rpm in /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/bin BUILDSTDERR: Warning: Executable installed in BUILDSTDERR: /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/bin creating /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/bin Installing executable dist/build/cabal-rpm/cabal-rpm to /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/bin/cabal-rpm + install -p -m 0644 -D man/cabal-rpm.1 /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/man/man1/cabal-rpm.1 + install -p -m 0644 /builddir/build/SOURCES/cblrpm.1 /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/man/man1/ + ln -s cabal-rpm /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/bin/cblrpm + /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/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: cabal-rpm-0.13-1.fc30.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iwZvVi + umask 022 + cd /builddir/build/BUILD + cd cabal-rpm-0.13 + DOCDIR=/builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/doc/cabal-rpm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/doc/cabal-rpm + cp -pr ChangeLog /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/doc/cabal-rpm + cp -pr README.md /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/doc/cabal-rpm + cp -pr TODO /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/doc/cabal-rpm + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NYYUyl + umask 022 + cd /builddir/build/BUILD + cd cabal-rpm-0.13 + LICENSEDIR=/builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/licenses/cabal-rpm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/licenses/cabal-rpm + cp -pr COPYING /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64/usr/share/licenses/cabal-rpm + exit 0 Provides: cabal-rpm = 0.13-1.fc30 cabal-rpm(x86-64) = 0.13-1.fc30 cblrpm = 0.13-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libffi.so.6()(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.12)(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) librt.so.1(GLIBC_2.3.3)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Obsoletes: cabal2spec < 0.26 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64 Wrote: /builddir/build/RPMS/cabal-rpm-0.13-1.fc30.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Fi2U2r + umask 022 + cd /builddir/build/BUILD + cd cabal-rpm-0.13 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cabal-rpm-0.13-1.fc30.x86_64 + exit 0 Child return code was: 0