Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/testtool.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-7023/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=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/testtool.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 error: Macro %py2_install has unterminated body error: Macro %py2_install has unterminated body warning: Could not canonicalize hostname: copr-builder-143287834 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/testtool-20090924-1.git18b73b9.el7.centos.src.rpm error: Macro %py2_install has unterminated body error: Macro %py2_install has unterminated body Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/testtool.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-7023/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=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/testtool.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 error: Macro %py2_install has unterminated body error: Macro %py2_install has unterminated body Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C9aITn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testtool-20090924 + /usr/bin/xz -dc /builddir/build/SOURCES/testtool-20090924.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd testtool-20090924 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.V4EBGi + umask 022 + cd /builddir/build/BUILD + cd testtool-20090924 + ./autogen.sh configure.ac:7: installing 'ac/install-sh' configure.ac:7: installing 'ac/missing' Makefile.am: installing './INSTALL' Makefile.am: installing 'ac/depcomp' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + 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 -mtune=generic' + 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 -mtune=generic -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 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands + make -j2 make all-am make[1]: Entering directory `/builddir/build/BUILD/testtool-20090924' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c main.c main.c: In function 'start': main.c:328:14: warning: variable 'w' set but not used [-Wunused-but-set-variable] pid_t child,w; ^ main.c: In function 'readcontroldata': main.c:176:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, buffer+linestart, i-linestart+1); ^ main.c:185:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, buffer, got); ^ main.c:186:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "[...]\n", 6); ^ main.c: In function 'checkline': main.c:267:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(outfd, line, len); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -o testtool main.o make[1]: Leaving directory `/builddir/build/BUILD/testtool-20090924' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FIl5iq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64 + cd testtool-20090924 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64 make[1]: Entering directory `/builddir/build/BUILD/testtool-20090924' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/bin' /usr/bin/install -c testtool '/builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/bin' make[1]: Nothing to be done for `install-data-am'. make[1]: Leaving directory `/builddir/build/BUILD/testtool-20090924' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/testtool-20090924 extracting debug info from /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/bin/testtool dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 43 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /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: testtool-20090924-1.git18b73b9.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5zUDdy + umask 022 + cd /builddir/build/BUILD + cd testtool-20090924 + DOCDIR=/builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/share/doc/testtool-20090924 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/share/doc/testtool-20090924 + cp -pr AUTHORS /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/share/doc/testtool-20090924 + cp -pr NEWS /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/share/doc/testtool-20090924 + cp -pr README /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/share/doc/testtool-20090924 + cp -pr ChangeLog /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/share/doc/testtool-20090924 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.L2Ye9F + umask 022 + cd /builddir/build/BUILD + cd testtool-20090924 + LICENSEDIR=/builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/share/licenses/testtool-20090924 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/share/licenses/testtool-20090924 + cp -pr COPYING /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64/usr/share/licenses/testtool-20090924 + exit 0 Provides: testtool = 20090924-1.git18b73b9.el7.centos testtool(x86-64) = 20090924-1.git18b73b9.el7.centos 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.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) rtld(GNU_HASH) Processing files: testtool-debuginfo-20090924-1.git18b73b9.el7.centos.x86_64 Provides: testtool-debuginfo = 20090924-1.git18b73b9.el7.centos testtool-debuginfo(x86-64) = 20090924-1.git18b73b9.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-143287834 Wrote: /builddir/build/RPMS/testtool-20090924-1.git18b73b9.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/testtool-debuginfo-20090924-1.git18b73b9.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.L1e3f4 + umask 022 + cd /builddir/build/BUILD + cd testtool-20090924 + /usr/bin/rm -rf /builddir/build/BUILDROOT/testtool-20090924-1.git18b73b9.el7.centos.x86_64 + exit 0 error: Macro %py2_install has unterminated body error: Macro %py2_install has unterminated body Child return code was: 0 LEAVE do -->