Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gridengine.spec'], env={'TERM': 'vt100', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'HOME': '/builddir'}chrootPath='/scratch/mock/epel-5-x86_64-7893/root'uid=7225printOutput=Falsetimeout=0shell=Falsegid=135user='mockbuild'logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gridengine.spec'] with env {'TERM': 'vt100', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gridengine-6.1u4-1.el5.centos.1.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gridengine.spec '], printOutput=Falseenv={'TERM': 'vt100', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'HOME': '/builddir'}private_network=Truelogger=uid=7225timeout=0chrootPath='/scratch/mock/epel-5-x86_64-7893/root'shell=Falsegid=135user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gridengine.spec '] with env {'TERM': 'vt100', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.78174 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf gridengine + /bin/gzip -dc /builddir/build/SOURCES/ge-V61u4_TAG-src.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gridengine + tar -xf - + /bin/gzip -dc /builddir/build/SOURCES/gridengine-ppc.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' ++ /usr/bin/id -u + '[' 7225 = 0 ']' ++ /usr/bin/id -u + '[' 7225 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/Licenses . + sed -i -e '/^#! *\/bin\/sh/d' source/dist/util/install_modules/inst_berkeley.sh source/dist/util/install_modules/inst_common.sh source/dist/util/install_modules/inst_execd.sh source/dist/util/install_modules/inst_execd_uninst.sh source/dist/util/install_modules/inst_qmaster.sh source/dist/util/install_modules/inst_qmaster_uninst.sh source/dist/util/install_modules/inst_update.sh + echo 'Patch #0 (distinst.site.patch):' + patch -p1 -s Patch #0 (distinst.site.patch): + echo 'Patch #2 (aimk.site.lib.patch):' Patch #2 (aimk.site.lib.patch): + patch -p1 -b --suffix .lib -s + echo 'Patch #3 (gridengine-6.1u2-ppc.patch):' Patch #3 (gridengine-6.1u2-ppc.patch): + patch -p1 -b --suffix .ppc -s Patch #6 (qtcsh.sh.h.patch): + echo 'Patch #6 (qtcsh.sh.h.patch):' + patch -p1 -s Patch #7 (gridengine-6.1pre-Werror.patch): + echo 'Patch #7 (gridengine-6.1pre-Werror.patch):' + patch -p1 -b --suffix .Werror -s Patch #10 (gridengine-6.1pre-depend.patch): + echo 'Patch #10 (gridengine-6.1pre-depend.patch):' + patch -p1 -b --suffix .depend -s + echo 'Patch #13 (gridengine-6.0u8-buffer.patch):' Patch #13 (gridengine-6.0u8-buffer.patch): + patch -p1 -b --suffix .buffer -s + echo 'Patch #14 (gridengine-6.1u2-x86_64.patch):' + patch -p1 -b --suffix .x86_64 -s Patch #14 (gridengine-6.1u2-x86_64.patch): Patch #16 (gridengine-6.1u2-java.patch): + echo 'Patch #16 (gridengine-6.1u2-java.patch):' + patch -p1 -b --suffix .java -s + echo 'Patch #17 (gridengine-6.1u3-open.patch):' Patch #17 (gridengine-6.1u3-open.patch): + patch -p1 -b --suffix .open -s Patch #18 (gridengine-6.1u4-qmon.patch): + echo 'Patch #18 (gridengine-6.1u4-qmon.patch):' + patch -p1 -b --suffix .qmon -s Patch #19 (gridengine-6.1u2-auto.patch): + echo 'Patch #19 (gridengine-6.1u2-auto.patch):' + patch -p1 -b --suffix .auto -s Patch #20 (gridengine-6.1u2-qstat-xml.patch): + echo 'Patch #20 (gridengine-6.1u2-qstat-xml.patch):' + patch -p1 -b --suffix .qstat-xml -s Patch #21 (gridengine-6.1u4-execd.patch): + echo 'Patch #21 (gridengine-6.1u4-execd.patch):' + patch -p1 -b --suffix .execd -s Patch #22 (gridengine-6.1u3-rpath.patch): + echo 'Patch #22 (gridengine-6.1u3-rpath.patch):' + patch -p1 -b --suffix .rpath -s Patch #23 (gridengine-6.1u4-rctemplates.patch): + echo 'Patch #23 (gridengine-6.1u4-rctemplates.patch):' + patch -p1 -b --suffix .rctemplates -s Patch #25 (gridengine-6.1u3-libs.patch): + echo 'Patch #25 (gridengine-6.1u3-libs.patch):' + patch -p1 -b --suffix .libs -s Patch #26 (gridengine-6.1u3-csh.patch): + echo 'Patch #26 (gridengine-6.1u3-csh.patch):' + patch -p1 -b --suffix .csh -s Patch #30 (gridengine-6.1u4-env-code-injection.patch): + echo 'Patch #30 (gridengine-6.1u4-env-code-injection.patch):' + patch -p1 -b --suffix .env-code-injection -s Patch #31 (buffer-overflow.patch): + echo 'Patch #31 (buffer-overflow.patch):' + patch -p0 -b --suffix .buffer-overflow -s Patch #32 (symlink.patch): + echo 'Patch #32 (symlink.patch):' + patch -p1 -b --suffix .symlink -s + sed -i.arch -e 's,/\$DSTARCH,,g' source/scripts/distinst + rm -rf source/dist/util/rctemplates + find source -name '*.bat' + xargs rm + chmod +x source/dist/util/dl1.csh source/dist/util/dl2.csh + chmod -x source/dist/util/dl.csh source/dist/util/dl.sh + find source -name '*.c' + xargs chmod -x + find source/3rdparty/qmake source/3rdparty/qtcsh -name Makefile + xargs sed -i -e '/^CFLAGS *=/s/=/= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic/' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.86534 + umask 022 + cd /builddir/build/BUILD + cd gridengine + LANG=C + export LANG + unset DISPLAY + export JAVA_HOME=/usr/lib/jvm/java + JAVA_HOME=/usr/lib/jvm/java + cd source + export 'SGE_INPUT_CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + SGE_INPUT_CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + touch aimk + ./aimk -only-depend Unsupported architecture UNSUPPORTED-lx4.2.8-300.fc23.x86_64-amd64 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.86534 (%build) Bad exit status from /var/tmp/rpm-tmp.86534 (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gridengine.spec Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gridengine.spec LEAVE do --> EXCEPTION RAISED