Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/c2hs.spec'], chrootPath='/var/lib/mock/975177-fedora-29-x86_64-1563481918.075911/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8v2czz2c:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8v2czz2c:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7a1405b4c6814d3e926008b694a6726d', '-D', '/var/lib/mock/975177-fedora-29-x86_64-1563481918.075911/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8v2czz2c:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/c2hs.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/c2hs-0.28.6-1.fc29.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/c2hs.spec'], chrootPath='/var/lib/mock/975177-fedora-29-x86_64-1563481918.075911/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8v2czz2c:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8v2czz2c:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f9c7b554daf845c2ab34a219ec880419', '-D', '/var/lib/mock/975177-fedora-29-x86_64-1563481918.075911/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8v2czz2c:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/c2hs.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KN0CAV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf c2hs-0.28.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/c2hs-0.28.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd c2hs-0.28.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.q5wTgE + umask 022 + cd /builddir/build/BUILD + cd c2hs-0.28.6 + 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 ' + LDFLAGS='-Wl,-z,relro ' + '[' -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=en_US.utf8 + ./Setup --version Cabal library version 2.0.1.0 + '[' -x Setup ']' + LANG=en_US.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' BUILDSTDERR: ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/c2hs '--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' Configuring c2hs-0.28.6... + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup build Preprocessing executable 'c2hs' for c2hs-0.28.6.. Building executable 'c2hs' for c2hs-0.28.6.. BUILDSTDERR: : warning: [-Wmissing-home-modules] BUILDSTDERR: These modules are needed for compilation but not listed in your .cabal file's other-modules: Paths_c2hs [ 1 of 26] Compiling C2HS.C.Info ( src/C2HS/C/Info.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Info.o ) [ 2 of 26] Compiling C2HS.Config ( src/C2HS/Config.hs, dist/build/c2hs/c2hs-tmp/C2HS/Config.o ) [ 3 of 26] Compiling C2HS.Switches ( src/C2HS/Switches.hs, dist/build/c2hs/c2hs-tmp/C2HS/Switches.o ) [ 4 of 26] Compiling Control.StateTrans ( src/Control/StateTrans.hs, dist/build/c2hs/c2hs-tmp/Control/StateTrans.o ) BUILDSTDERR: src/Control/StateTrans.hs:80:1: warning: [-Wdodgy-imports] BUILDSTDERR: Module ‘Prelude’ does not export ‘catch’ BUILDSTDERR: | BUILDSTDERR: 80 | import Prelude hiding (catch) BUILDSTDERR: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 5 of 26] Compiling Data.Errors ( src/Data/Errors.hs, dist/build/c2hs/c2hs-tmp/Data/Errors.o ) [ 6 of 26] Compiling Data.Attributes ( src/Data/Attributes.hs, dist/build/c2hs/c2hs-tmp/Data/Attributes.o ) [ 7 of 26] Compiling Control.StateBase ( src/Control/StateBase.hs, dist/build/c2hs/c2hs-tmp/Control/StateBase.o ) [ 8 of 26] Compiling Data.NameSpaces ( src/Data/NameSpaces.hs, dist/build/c2hs/c2hs-tmp/Data/NameSpaces.o ) [ 9 of 26] Compiling C2HS.C.Attrs ( src/C2HS/C/Attrs.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Attrs.o ) [10 of 26] Compiling C2HS.C.Builtin ( src/C2HS/C/Builtin.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Builtin.o ) [11 of 26] Compiling Paths_c2hs ( dist/build/c2hs/autogen/Paths_c2hs.hs, dist/build/c2hs/c2hs-tmp/Paths_c2hs.o ) [12 of 26] Compiling C2HS.Version ( src/C2HS/Version.hs, dist/build/c2hs/c2hs-tmp/C2HS/Version.o ) [13 of 26] Compiling System.CIO ( src/System/CIO.hs, dist/build/c2hs/c2hs-tmp/System/CIO.o ) [14 of 26] Compiling Control.State ( src/Control/State.hs, dist/build/c2hs/c2hs-tmp/Control/State.o ) [15 of 26] Compiling C2HS.State ( src/C2HS/State.hs, dist/build/c2hs/c2hs-tmp/C2HS/State.o ) [16 of 26] Compiling C2HS.C.Trav ( src/C2HS/C/Trav.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Trav.o ) [17 of 26] Compiling C2HS.C.Names ( src/C2HS/C/Names.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Names.o ) [18 of 26] Compiling C2HS.C ( src/C2HS/C.hs, dist/build/c2hs/c2hs-tmp/C2HS/C.o ) [19 of 26] Compiling Text.Lexers ( src/Text/Lexers.hs, dist/build/c2hs/c2hs-tmp/Text/Lexers.o ) [20 of 26] Compiling C2HS.CHS.Lexer ( src/C2HS/CHS/Lexer.hs, dist/build/c2hs/c2hs-tmp/C2HS/CHS/Lexer.o ) [21 of 26] Compiling C2HS.CHS ( src/C2HS/CHS.hs, dist/build/c2hs/c2hs-tmp/C2HS/CHS.o ) [22 of 26] Compiling C2HS.Gen.Monad ( src/C2HS/Gen/Monad.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Monad.o ) [23 of 26] Compiling C2HS.Gen.Wrapper ( src/C2HS/Gen/Wrapper.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Wrapper.o ) [24 of 26] Compiling C2HS.Gen.Header ( src/C2HS/Gen/Header.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Header.o ) [25 of 26] Compiling C2HS.Gen.Bind ( src/C2HS/Gen/Bind.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Bind.o ) [26 of 26] Compiling Main ( src/Main.hs, dist/build/c2hs/c2hs-tmp/Main.o ) BUILDSTDERR: : warning: [-Wmissing-home-modules] BUILDSTDERR: These modules are needed for compilation but not listed in your .cabal file's other-modules: Paths_c2hs Linking dist/build/c2hs/c2hs ... + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4jfAkH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64 + cd c2hs-0.28.6 + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64 -v creating /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/c2hs-0.28.6 creating /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share creating /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr creating /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share creating /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/c2hs-0.28.6 Installing C2HS.hs to /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/c2hs-0.28.6/C2HS.hs directory dist/doc/html/c2hs does exist: False creating /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/licenses/c2hs creating /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/licenses creating /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/licenses/c2hs Installing COPYING to /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/licenses/c2hs/COPYING Installing executable c2hs in /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/bin creating /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/bin Installing executable dist/build/c2hs/c2hs to /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/bin/c2hs /usr/bin/strip /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/bin/c2hs + find /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64 -type f -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -exec strip '{}' ';' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0vNfoL + umask 022 + cd /builddir/build/BUILD + cd c2hs-0.28.6 + exit 0 Processing files: c2hs-0.28.6-1.fc29.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Mx7IsP + umask 022 + cd /builddir/build/BUILD + cd c2hs-0.28.6 + DOCDIR=/builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/doc/c2hs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/doc/c2hs + cp -pr AUTHORS /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/doc/c2hs + cp -pr ChangeLog /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/doc/c2hs + cp -pr ChangeLog.old /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/doc/c2hs + cp -pr README /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/doc/c2hs + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2Hf6zT + umask 022 + cd /builddir/build/BUILD + cd c2hs-0.28.6 + LICENSEDIR=/builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/licenses/c2hs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/licenses/c2hs + cp -pr COPYING /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64/usr/share/licenses/c2hs + exit 0 Provides: c2hs = 0.28.6-1.fc29 c2hs(x86-64) = 0.28.6-1.fc29 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.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.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) 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) libutil.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64 Wrote: /builddir/build/RPMS/c2hs-0.28.6-1.fc29.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UWW7g0 + umask 022 + cd /builddir/build/BUILD + cd c2hs-0.28.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/c2hs-0.28.6-1.fc29.x86_64 + exit 0 Child return code was: 0