Mock Version: 1.2.21 Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/happy.spec'], chrootPath='/var/lib/mock/epel7-ghc-6995241-671621/root'logger=gid=425shell=Falseuser='mockbuild'timeout=172800uid=1000printOutput=Falseenv={'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/happy.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: buildppcle-04.phx2.fedoraproject.org Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/happy-1.18.10-35.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/happy.spec'], chrootPath='/var/lib/mock/epel7-ghc-6995241-671621/root'logger=gid=425shell=Falseuser='mockbuild'timeout=172800uid=1000printOutput=Falseprivate_network=Trueenv={'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/happy.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eKe4U6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf happy-1.18.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/happy-1.18.10.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd happy-1.18.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LdWxAW + umask 022 + cd /builddir/build/BUILD + cd happy-1.18.10 ++ 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.lhs, Setup.o ) Setup.lhs:16:29: Warning: In the use of `defaultUserHooks' (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Setup.lhs:41:44: Warning: In the use of `buildVerbose' (imported from Distribution.Simple.Setup): Deprecated: "Use buildVerbosity instead" Setup.lhs:57:12: Warning: In the use of `defaultUserHooks' (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Setup.lhs:63:12: Warning: In the use of `defaultUserHooks' (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Linking Setup ... + LANG=en_US.utf8 + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/doc/happy-1.18.10 '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' --ghc Warning: defaultUserHooks in Setup script is deprecated. Configuring happy-1.18.10... + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup build Building happy-1.18.10... Preprocessing executable 'happy' for happy-1.18.10... [ 1 of 18] Compiling NameSet ( src/NameSet.hs, dist/build/happy/happy-tmp/NameSet.o ) [ 2 of 18] Compiling Target ( src/Target.lhs, dist/build/happy/happy-tmp/Target.o ) [ 3 of 18] Compiling AbsSyn ( src/AbsSyn.lhs, dist/build/happy/happy-tmp/AbsSyn.o ) [ 4 of 18] Compiling ParamRules ( src/ParamRules.hs, dist/build/happy/happy-tmp/ParamRules.o ) [ 5 of 18] Compiling GenUtils ( src/GenUtils.lhs, dist/build/happy/happy-tmp/GenUtils.o ) [ 6 of 18] Compiling ParseMonad ( src/ParseMonad.lhs, dist/build/happy/happy-tmp/ParseMonad.o ) [ 7 of 18] Compiling AttrGrammar ( src/AttrGrammar.lhs, dist/build/happy/happy-tmp/AttrGrammar.o ) [ 8 of 18] Compiling AttrGrammarParser ( dist/build/happy/happy-tmp/AttrGrammarParser.hs, dist/build/happy/happy-tmp/AttrGrammarParser.o ) [ 9 of 18] Compiling Grammar ( src/Grammar.lhs, dist/build/happy/happy-tmp/Grammar.o ) [10 of 18] Compiling First ( src/First.lhs, dist/build/happy/happy-tmp/First.o ) [11 of 18] Compiling LALR ( src/LALR.lhs, dist/build/happy/happy-tmp/LALR.o ) [12 of 18] Compiling Lexer ( src/Lexer.lhs, dist/build/happy/happy-tmp/Lexer.o ) [13 of 18] Compiling Parser ( dist/build/happy/happy-tmp/Parser.hs, dist/build/happy/happy-tmp/Parser.o ) [14 of 18] Compiling Paths_happy ( dist/build/autogen/Paths_happy.hs, dist/build/happy/happy-tmp/Paths_happy.o ) [15 of 18] Compiling ProduceCode ( src/ProduceCode.lhs, dist/build/happy/happy-tmp/ProduceCode.o ) In file included from /tmp/ghc18341_0/ghc18341_0.hc:3:0: /tmp/ghc18341_0/ghc18341_0.hc: In function ‘sHbZ_ret’: /tmp/ghc18341_0/ghc18341_0.hc:43525:6: warning: conflicting types for built-in function ‘memcpy’ [enabled by default] ;EF_(memcpy); ^ /usr/lib64/ghc-7.6.3/include/Stg.h:218:36: note: in definition of macro ‘EF_’ #define EF_(f) extern StgFunPtr f() ^ [16 of 18] Compiling ProduceGLRCode ( src/ProduceGLRCode.lhs, dist/build/happy/happy-tmp/ProduceGLRCode.o ) [17 of 18] Compiling Info ( src/Info.lhs, dist/build/happy/happy-tmp/Info.o ) [18 of 18] Compiling Main ( src/Main.lhs, dist/build/happy/happy-tmp/Main.o ) Linking dist/build/happy/happy ... + cd doc + autoreconf + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' ppc64le == ppc64le ']' + /usr/lib/rpm/redhat/libtool-handle-ppc64le.sh ++ find . -name config.guess -o -name config.sub + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for xmllint... /usr/bin/xmllint checking for DocBook DTD... ok checking for xsltproc... /usr/bin/xsltproc checking for DocBook XSL stylesheet directory... /usr/share/sgml/docbook/xsl-stylesheets checking for dblatex... no configure: creating ./config.status config.status: creating config.mk configure: WARNING: unrecognized options: --disable-dependency-tracking + make html rm -f -rf happy/ /usr/bin/xsltproc --stringparam base.dir happy/ \ --stringparam use.id.as.filename 1 \ --stringparam html.stylesheet fptools.css \ --stringparam toc.section.depth 3 --stringparam section.autolabel 1 --stringparam section.label.includes.component.label 1 \ /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl happy.xml Writing happy/sec-reporting-bugs.html for sect1(sec-reporting-bugs) Writing happy/sec-license.html for sect1(sec-license) Writing happy/sec-obtaining.html for sect1(sec-obtaining) Writing happy/happy-introduction.html for chapter(happy-introduction) Writing happy/sec-sequences.html for sect1(sec-sequences) Writing happy/sec-Precedences.html for sect1(sec-Precedences) Writing happy/sec-type-signatures.html for sect1(sec-type-signatures) Writing happy/sec-monads.html for sect1(sec-monads) Writing happy/sec-error.html for sect1(sec-error) Writing happy/sec-multiple-parsers.html for sect1(sec-multiple-parsers) Writing happy/sec-using.html for chapter(sec-using) Writing happy/sec-glr-using.html for sect1(sec-glr-using) Writing happy/sec-glr-semantics.html for sect1(sec-glr-semantics) Writing happy/sec-glr-misc.html for sect1(sec-glr-misc) Writing happy/sec-glr.html for chapter(sec-glr) Writing happy/sec-AtrributeGrammarsInHappy.html for sect1(sec-AtrributeGrammarsInHappy) Writing happy/sec-AttrGrammarLimits.html for sect1(sec-AttrGrammarLimits) Writing happy/sec-AttributeGrammarExample.html for sect1(sec-AttributeGrammarExample) Writing happy/sec-AttributeGrammar.html for chapter(sec-AttributeGrammar) Writing happy/sec-invoking.html for chapter(sec-invoking) Writing happy/sec-module-header.html for sect1(sec-module-header) Writing happy/sec-directives.html for sect1(sec-directives) Writing happy/sec-grammar.html for sect1(sec-grammar) Writing happy/sec-module-trailer.html for sect1(sec-module-trailer) Writing happy/sec-grammar-files.html for chapter(sec-grammar-files) Writing happy/sec-info-files.html for chapter(sec-info-files) Writing happy/sec-compilation-time.html for sect1(sec-compilation-time) Writing happy/sec-finding-errors.html for sect1(sec-finding-errors) Writing happy/sec-conflict-tips.html for sect1(sec-conflict-tips) Writing happy/sec-happy-ghci.html for sect1(sec-happy-ghci) Writing happy/sec-tips.html for chapter(sec-tips) Writing happy/ix01.html for index Writing happy/index.html for book(happy) cp fptools.css happy/ + cd .. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HO5RPc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le ++ dirname /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le + cd happy-1.18.10 + '[' -x Setup ']' + LANG=en_US.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le -v directory dist/doc/html/happy does exist: False creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing HappyTemplate to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/HappyTemplate creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing HappyTemplate-ghc to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/HappyTemplate-ghc creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing HappyTemplate-coerce to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/HappyTemplate-coerce creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing HappyTemplate-arrays to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/HappyTemplate-arrays creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing HappyTemplate-arrays-ghc to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/HappyTemplate-arrays-ghc creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing HappyTemplate-arrays-coerce to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/HappyTemplate-arrays-coerce creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing HappyTemplate-arrays-debug to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/HappyTemplate-arrays-debug creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing HappyTemplate-arrays-ghc-debug to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/HappyTemplate-arrays-ghc-debug creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing HappyTemplate-arrays-coerce-debug to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/HappyTemplate-arrays-coerce-debug creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing GLR_Base to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/GLR_Base creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing GLR_Lib to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/GLR_Lib creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing GLR_Lib-ghc to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/GLR_Lib-ghc creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10 Installing GLR_Lib-ghc-debug to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/happy-1.18.10/GLR_Lib-ghc-debug creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc/happy-1.18.10 creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc/happy-1.18.10 Installing LICENSE to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc/happy-1.18.10/LICENSE Installing executable(s) in /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/bin creating /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/bin Installing executable dist/build/happy/happy to /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/bin/happy /usr/bin/strip /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/bin/happy + find /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le -type f -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -exec strip '{}' ';' + '[' -d /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/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: happy-1.18.10-35.el7.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.W6uPut + umask 022 + cd /builddir/build/BUILD + cd happy-1.18.10 + DOCDIR=/builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc/happy-1.18.10 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc/happy-1.18.10 + cp -pr ANNOUNCE /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc/happy-1.18.10 + cp -pr CHANGES /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc/happy-1.18.10 + cp -pr LICENSE /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc/happy-1.18.10 + cp -pr README /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc/happy-1.18.10 + cp -pr TODO /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc/happy-1.18.10 + cp -pr doc/happy /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le/usr/share/doc/happy-1.18.10 + exit 0 Provides: happy = 1.18.10-35.el7 happy(ppc-64) = 1.18.10-35.el7 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.17)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) libffi.so.6()(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.17)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le warning: Could not canonicalize hostname: buildppcle-04.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/happy-1.18.10-35.el7.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2QBfV1 + umask 022 + cd /builddir/build/BUILD + cd happy-1.18.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/happy-1.18.10-35.el7.ppc64le + exit 0 Child return code was: 0